From fb129f32b485bdd56e3caec258d4594c3dad3d00 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:43:04 +0800 Subject: [PATCH 1/9] add deqpgles2 testcase Signed-off-by: wangshi --- .../deqpgles2/ActsDeqpgles20001TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20001TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20002TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20002TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20003TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20003TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20004TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20004TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20005TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20005TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20006TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20006TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20007TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20007TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20008TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20008TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20009TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20009TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20010TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20010TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20011TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20011TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20012TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20012TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20013TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20013TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20014TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20014TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20015TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20015TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20016TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20016TestSuite.h | 40 + .../deqpgles2/ActsDeqpgles20017TestSuite.cpp | 60 + .../deqpgles2/ActsDeqpgles20017TestSuite.h | 40 + .../src/deqpgles2/ActsDeqpgles2TestSuite.cpp | 60 + .../src/deqpgles2/ActsDeqpgles2TestSuite.h | 40 + .../vkgl/src/deqpgles2/Deqpgles2BaseFunc.cpp | 81 + .../vkgl/src/deqpgles2/Deqpgles2BaseFunc.h | 32 + graphic/vkgl/src/deqpgles2/build0001/BUILD.gn | 103 + .../vkgl/src/deqpgles2/build0001/Test.json | 38 + .../src/deqpgles2/build0001/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0002/BUILD.gn | 67 + .../vkgl/src/deqpgles2/build0002/Test.json | 38 + .../src/deqpgles2/build0002/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0003/BUILD.gn | 81 + .../vkgl/src/deqpgles2/build0003/Test.json | 38 + .../src/deqpgles2/build0003/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0004/BUILD.gn | 71 + .../vkgl/src/deqpgles2/build0004/Test.json | 38 + .../src/deqpgles2/build0004/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0005/BUILD.gn | 73 + .../vkgl/src/deqpgles2/build0005/Test.json | 38 + .../src/deqpgles2/build0005/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0006/BUILD.gn | 89 + .../vkgl/src/deqpgles2/build0006/Test.json | 38 + .../src/deqpgles2/build0006/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0007/BUILD.gn | 100 + .../vkgl/src/deqpgles2/build0007/Test.json | 38 + .../src/deqpgles2/build0007/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0008/BUILD.gn | 89 + .../vkgl/src/deqpgles2/build0008/Test.json | 38 + .../src/deqpgles2/build0008/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0009/BUILD.gn | 70 + .../vkgl/src/deqpgles2/build0009/Test.json | 38 + .../src/deqpgles2/build0009/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0010/BUILD.gn | 69 + .../vkgl/src/deqpgles2/build0010/Test.json | 38 + .../src/deqpgles2/build0010/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0011/BUILD.gn | 88 + .../vkgl/src/deqpgles2/build0011/Test.json | 38 + .../src/deqpgles2/build0011/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0012/BUILD.gn | 66 + .../vkgl/src/deqpgles2/build0012/Test.json | 38 + .../src/deqpgles2/build0012/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0013/BUILD.gn | 84 + .../vkgl/src/deqpgles2/build0013/Test.json | 38 + .../src/deqpgles2/build0013/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0014/BUILD.gn | 93 + .../vkgl/src/deqpgles2/build0014/Test.json | 38 + .../src/deqpgles2/build0014/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0015/BUILD.gn | 86 + .../vkgl/src/deqpgles2/build0015/Test.json | 38 + .../src/deqpgles2/build0015/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0016/BUILD.gn | 86 + .../vkgl/src/deqpgles2/build0016/Test.json | 38 + .../src/deqpgles2/build0016/logdefine.cpp | 20 + graphic/vkgl/src/deqpgles2/build0017/BUILD.gn | 97 + .../vkgl/src/deqpgles2/build0017/Test.json | 38 + .../src/deqpgles2/build0017/logdefine.cpp | 20 + .../functional/Deqpgles22d_affineTestCase.cpp | 64 + .../functional/Deqpgles22d_basicTestCase.cpp | 56 + .../Deqpgles22d_filteringTestCase.cpp | 168 ++ .../Deqpgles22d_generateTestCase.cpp | 152 + .../Deqpgles22d_projectedTestCase.cpp | 40 + .../functional/Deqpgles22d_wrapTestCase.cpp | 60 + ...Deqpgles2all_features_fragmentTestCase.cpp | 416 +++ .../Deqpgles2all_features_vertexTestCase.cpp | 424 +++ ...es2angle_and_trigonometry_acosTestCase.cpp | 88 + ...es2angle_and_trigonometry_asinTestCase.cpp | 88 + ...s2angle_and_trigonometry_atan2TestCase.cpp | 88 + ...es2angle_and_trigonometry_atanTestCase.cpp | 88 + ...les2angle_and_trigonometry_cosTestCase.cpp | 120 + ...angle_and_trigonometry_degreesTestCase.cpp | 88 + ...angle_and_trigonometry_radiansTestCase.cpp | 88 + ...les2angle_and_trigonometry_sinTestCase.cpp | 120 + ...les2angle_and_trigonometry_tanTestCase.cpp | 120 + ...pgles2assigned_unused_uniformsTestCase.cpp | 84 + .../Deqpgles2attach_deleted_inputTestCase.cpp | 36 + .../Deqpgles2attach_deleted_nameTestCase.cpp | 36 + ...Deqpgles2attach_deleted_outputTestCase.cpp | 32 + ...qpgles2attribute_location_bindTestCase.cpp | 52 + ...tribute_location_bind_aliasingTestCase.cpp | 92 + ...s2attribute_location_bind_holeTestCase.cpp | 52 + ...e_location_bind_max_attributesTestCase.cpp | 52 + ...bute_location_bind_relink_holeTestCase.cpp | 52 + ...s2attribute_location_bind_timeTestCase.cpp | 44 + ...ay_assign_full_array_in_structTestCase.cpp | 84 + ..._array_assign_full_basic_arrayTestCase.cpp | 120 + ...sign_full_multiple_basic_arrayTestCase.cpp | 36 + ...assign_partial_array_in_structTestCase.cpp | 84 + ...ray_assign_partial_basic_arrayTestCase.cpp | 120 + ...n_partial_multiple_basic_arrayTestCase.cpp | 36 + ...gles2basic_expression_combinedTestCase.cpp | 424 +++ ...gles2basic_expression_fragmentTestCase.cpp | 424 +++ ...qpgles2basic_expression_vertexTestCase.cpp | 424 +++ .../Deqpgles2binary_operator_addTestCase.cpp | 504 ++++ ...ary_operator_add_assign_effectTestCase.cpp | 360 +++ ...ary_operator_add_assign_resultTestCase.cpp | 360 +++ .../Deqpgles2binary_operator_divTestCase.cpp | 504 ++++ ...ary_operator_div_assign_effectTestCase.cpp | 360 +++ ...ary_operator_div_assign_resultTestCase.cpp | 360 +++ ...Deqpgles2binary_operator_equalTestCase.cpp | 248 ++ ...qpgles2binary_operator_greaterTestCase.cpp | 72 + ...nary_operator_greater_or_equalTestCase.cpp | 72 + .../Deqpgles2binary_operator_lessTestCase.cpp | 72 + ...2binary_operator_less_or_equalTestCase.cpp | 72 + ...es2binary_operator_logical_andTestCase.cpp | 32 + ...les2binary_operator_logical_orTestCase.cpp | 32 + ...es2binary_operator_logical_xorTestCase.cpp | 32 + .../Deqpgles2binary_operator_mulTestCase.cpp | 504 ++++ ...ary_operator_mul_assign_effectTestCase.cpp | 360 +++ ...ary_operator_mul_assign_resultTestCase.cpp | 360 +++ ...gles2binary_operator_not_equalTestCase.cpp | 248 ++ .../Deqpgles2binary_operator_subTestCase.cpp | 504 ++++ ...ary_operator_sub_assign_effectTestCase.cpp | 360 +++ ...ary_operator_sub_assign_resultTestCase.cpp | 360 +++ ...end_equation_src_func_dst_funcTestCase.cpp | 2544 ++++++++++++++++ ...nd_rgb_equation_alpha_equationTestCase.cpp | 60 + .../Deqpgles2bool_compare_allTestCase.cpp | 48 + .../Deqpgles2bool_compare_anyTestCase.cpp | 48 + .../Deqpgles2bool_compare_equalTestCase.cpp | 48 + ...Deqpgles2bool_compare_notEqualTestCase.cpp | 48 + .../Deqpgles2bool_compare_notTestCase.cpp | 48 + ...pgles2builtin_functions_commonTestCase.cpp | 576 ++++ ...2builtin_functions_exponentialTestCase.cpp | 248 ++ ...es2builtin_functions_geometricTestCase.cpp | 248 ++ ...pgles2builtin_functions_matrixTestCase.cpp | 48 + ...builtin_functions_trigonometryTestCase.cpp | 312 ++ ...in_functions_vector_relationalTestCase.cpp | 432 +++ .../Deqpgles2clipping_lineTestCase.cpp | 84 + .../Deqpgles2clipping_pointTestCase.cpp | 68 + .../Deqpgles2clipping_polygonTestCase.cpp | 220 ++ ...Deqpgles2clipping_polygon_edgeTestCase.cpp | 60 + .../Deqpgles2common_functions_absTestCase.cpp | 120 + ...Deqpgles2common_functions_ceilTestCase.cpp | 120 + ...eqpgles2common_functions_clampTestCase.cpp | 192 ++ ...eqpgles2common_functions_floorTestCase.cpp | 120 + ...eqpgles2common_functions_fractTestCase.cpp | 120 + .../Deqpgles2common_functions_maxTestCase.cpp | 192 ++ .../Deqpgles2common_functions_minTestCase.cpp | 192 ++ .../Deqpgles2common_functions_mixTestCase.cpp | 192 ++ .../Deqpgles2common_functions_modTestCase.cpp | 136 + ...Deqpgles2common_functions_signTestCase.cpp | 120 + ...es2common_functions_smoothstepTestCase.cpp | 192 ++ ...Deqpgles2common_functions_stepTestCase.cpp | 192 ++ ...qpgles2comparison_ops_fragmentTestCase.cpp | 224 ++ ...Deqpgles2comparison_ops_vertexTestCase.cpp | 224 ++ .../Deqpgles2completeness_2dTestCase.cpp | 100 + ...teness_attachment_combinationsTestCase.cpp | 352 +++ .../Deqpgles2completeness_cubeTestCase.cpp | 108 + .../Deqpgles2completeness_sizeTestCase.cpp | 32 + ...Deqpgles2conditionals_combinedTestCase.cpp | 424 +++ ...Deqpgles2conditionals_fragmentTestCase.cpp | 424 +++ .../Deqpgles2conditionals_ifTestCase.cpp | 108 + ...qpgles2conditionals_invalid_ifTestCase.cpp | 104 + .../Deqpgles2conditionals_vertexTestCase.cpp | 424 +++ ...tant_expressions_complex_typesTestCase.cpp | 56 + ...constant_expressions_operatorsTestCase.cpp | 88 + ...s2constant_expressions_trivialTestCase.cpp | 56 + ...les2conversions_matrix_combineTestCase.cpp | 200 ++ ...s2conversions_matrix_to_matrixTestCase.cpp | 96 + ...s2conversions_scalar_to_matrixTestCase.cpp | 96 + ...s2conversions_scalar_to_scalarTestCase.cpp | 96 + ...s2conversions_scalar_to_vectorTestCase.cpp | 240 ++ ...les2conversions_vector_combineTestCase.cpp | 648 ++++ ...les2conversions_vector_illegalTestCase.cpp | 240 ++ ...s2conversions_vector_to_scalarTestCase.cpp | 240 ++ ...s2conversions_vector_to_vectorTestCase.cpp | 456 +++ .../Deqpgles2cube_basicTestCase.cpp | 32 + .../functional/Deqpgles2cube_biasTestCase.cpp | 32 + .../Deqpgles2cube_filteringTestCase.cpp | 168 ++ .../Deqpgles2cube_generateTestCase.cpp | 88 + .../Deqpgles2cube_projectedTestCase.cpp | 32 + .../functional/Deqpgles2cube_wrapTestCase.cpp | 60 + ...larations_invalid_declarationsTestCase.cpp | 48 + ...es2default_vertex_attrib_floatTestCase.cpp | 56 + ...les2default_vertex_attrib_mat2TestCase.cpp | 40 + ...les2default_vertex_attrib_mat3TestCase.cpp | 40 + ...les2default_vertex_attrib_mat4TestCase.cpp | 56 + ...les2default_vertex_attrib_vec2TestCase.cpp | 40 + ...les2default_vertex_attrib_vec3TestCase.cpp | 40 + ...les2default_vertex_attrib_vec4TestCase.cpp | 56 + .../Deqpgles2depth_range_compareTestCase.cpp | 80 + .../Deqpgles2depth_range_writeTestCase.cpp | 80 + .../Deqpgles2depth_stencil_randomTestCase.cpp | 124 + ...th_stencil_stencil_depth_funcsTestCase.cpp | 348 +++ ...pgles2depth_stencil_write_maskTestCase.cpp | 36 + .../Deqpgles2dither_disabledTestCase.cpp | 64 + .../Deqpgles2dither_enabledTestCase.cpp | 64 + .../Deqpgles2draw_arrays_firstTestCase.cpp | 36 + ...Deqpgles2draw_arrays_line_loopTestCase.cpp | 36 + ...eqpgles2draw_arrays_line_stripTestCase.cpp | 36 + .../Deqpgles2draw_arrays_linesTestCase.cpp | 36 + .../Deqpgles2draw_arrays_pointsTestCase.cpp | 36 + ...pgles2draw_arrays_triangle_fanTestCase.cpp | 36 + ...les2draw_arrays_triangle_stripTestCase.cpp | 36 + ...Deqpgles2draw_arrays_trianglesTestCase.cpp | 36 + ...qpgles2draw_elements_line_loopTestCase.cpp | 36 + ...pgles2draw_elements_line_stripTestCase.cpp | 36 + .../Deqpgles2draw_elements_linesTestCase.cpp | 36 + .../Deqpgles2draw_elements_pointsTestCase.cpp | 36 + ...les2draw_elements_triangle_fanTestCase.cpp | 36 + ...s2draw_elements_triangle_stripTestCase.cpp | 36 + ...qpgles2draw_elements_trianglesTestCase.cpp | 36 + .../Deqpgles2draw_randomTestCase.cpp | 228 ++ .../Deqpgles2exponential_exp2TestCase.cpp | 88 + .../Deqpgles2exponential_expTestCase.cpp | 88 + .../Deqpgles2exponential_fragmentTestCase.cpp | 424 +++ ...qpgles2exponential_inversesqrtTestCase.cpp | 88 + .../Deqpgles2exponential_log2TestCase.cpp | 88 + .../Deqpgles2exponential_logTestCase.cpp | 88 + .../Deqpgles2exponential_powTestCase.cpp | 88 + .../Deqpgles2exponential_sqrtTestCase.cpp | 88 + .../Deqpgles2exponential_vertexTestCase.cpp | 424 +++ .../functional/Deqpgles2fbo_apiTestCase.cpp | 104 + .../Deqpgles2filtering_2dTestCase.cpp | 568 ++++ .../Deqpgles2filtering_cubeTestCase.cpp | 472 +++ .../Deqpgles2float_compare_equalTestCase.cpp | 96 + ...float_compare_greaterThanEqualTestCase.cpp | 96 + ...gles2float_compare_greaterThanTestCase.cpp | 96 + ...es2float_compare_lessThanEqualTestCase.cpp | 96 + ...eqpgles2float_compare_lessThanTestCase.cpp | 96 + ...eqpgles2float_compare_notEqualTestCase.cpp | 96 + .../Deqpgles2fragment_ops_depthTestCase.cpp | 56 + .../Deqpgles2fragment_ops_randomTestCase.cpp | 424 +++ .../Deqpgles2fragment_ops_scissorTestCase.cpp | 92 + .../Deqpgles2fragment_ops_stencilTestCase.cpp | 92 + ...qpgles2functional_clip_controlTestCase.cpp | 56 + ...eqpgles2functional_color_clearTestCase.cpp | 100 + ...qpgles2functional_debug_markerTestCase.cpp | 36 + ...functional_depth_stencil_clearTestCase.cpp | 68 + ...qpgles2functional_flush_finishTestCase.cpp | 44 + ...nctional_implementation_limitsTestCase.cpp | 88 + ...qpgles2functional_light_amountTestCase.cpp | 100 + ...eqpgles2functional_multisampleTestCase.cpp | 88 + ...multisampled_render_to_textureTestCase.cpp | 28 + ...gles2functional_polygon_offsetTestCase.cpp | 56 + ...qpgles2functional_prerequisiteTestCase.cpp | 36 + ...eqpgles2functional_read_pixelsTestCase.cpp | 56 + ...gles2functions_array_argumentsTestCase.cpp | 112 + ...eqpgles2functions_control_flowTestCase.cpp | 112 + .../Deqpgles2functions_datatypesTestCase.cpp | 196 ++ ...eqpgles2functions_declarationsTestCase.cpp | 48 + .../Deqpgles2functions_invalidTestCase.cpp | 356 +++ .../Deqpgles2functions_miscTestCase.cpp | 64 + ...Deqpgles2functions_overloadingTestCase.cpp | 104 + .../Deqpgles2functions_qualifiersTestCase.cpp | 224 ++ .../Deqpgles2geometric_crossTestCase.cpp | 40 + .../Deqpgles2geometric_distanceTestCase.cpp | 88 + .../Deqpgles2geometric_dotTestCase.cpp | 88 + ...Deqpgles2geometric_faceforwardTestCase.cpp | 88 + .../Deqpgles2geometric_lengthTestCase.cpp | 88 + .../Deqpgles2geometric_normalizeTestCase.cpp | 88 + .../Deqpgles2geometric_reflectTestCase.cpp | 88 + .../Deqpgles2geometric_refractTestCase.cpp | 88 + ...es2get_uniform_array_in_structTestCase.cpp | 192 ++ .../Deqpgles2get_uniform_basicTestCase.cpp | 744 +++++ ...qpgles2get_uniform_basic_arrayTestCase.cpp | 372 +++ ...ay_first_elem_without_bracketsTestCase.cpp | 252 ++ ...pgles2get_uniform_basic_structTestCase.cpp | 192 ++ ...les2get_uniform_multiple_basicTestCase.cpp | 48 + ...t_uniform_multiple_basic_arrayTestCase.cpp | 60 + ...multiple_nested_structs_arraysTestCase.cpp | 60 + ..._uniform_nested_structs_arraysTestCase.cpp | 176 ++ ...es2get_uniform_struct_in_arrayTestCase.cpp | 192 ++ ...gles2indexing_matrix_subscriptTestCase.cpp | 408 +++ .../Deqpgles2indexing_tmp_arrayTestCase.cpp | 664 +++++ ...eqpgles2indexing_uniform_arrayTestCase.cpp | 152 + ...eqpgles2indexing_varying_arrayTestCase.cpp | 280 ++ ...gles2indexing_vector_subscriptTestCase.cpp | 888 ++++++ .../Deqpgles2indices_bufferTestCase.cpp | 32 + ...les2indices_unaligned_user_ptrTestCase.cpp | 28 + .../Deqpgles2indices_user_ptrTestCase.cpp | 32 + ...les2info_query_array_in_structTestCase.cpp | 84 + .../Deqpgles2info_query_basicTestCase.cpp | 228 ++ ...eqpgles2info_query_basic_arrayTestCase.cpp | 120 + ...qpgles2info_query_basic_structTestCase.cpp | 84 + ...gles2info_query_multiple_basicTestCase.cpp | 36 + ...nfo_query_multiple_basic_arrayTestCase.cpp | 36 + ...multiple_nested_structs_arraysTestCase.cpp | 36 + ...fo_query_nested_structs_arraysTestCase.cpp | 76 + ...les2info_query_struct_in_arrayTestCase.cpp | 84 + ...les2info_query_unused_uniformsTestCase.cpp | 84 + .../Deqpgles2int_compare_equalTestCase.cpp | 96 + ...s2int_compare_greaterThanEqualTestCase.cpp | 96 + ...qpgles2int_compare_greaterThanTestCase.cpp | 96 + ...gles2int_compare_lessThanEqualTestCase.cpp | 96 + .../Deqpgles2int_compare_lessThanTestCase.cpp | 96 + .../Deqpgles2int_compare_notEqualTestCase.cpp | 96 + ...pgles2interaction_basic_shaderTestCase.cpp | 424 +++ .../Deqpgles2interpolation_basicTestCase.cpp | 60 + ...qpgles2interpolation_projectedTestCase.cpp | 60 + ...s_invalid_implicit_conversionsTestCase.cpp | 1048 +++++++ .../Deqpgles2invariance_highpTestCase.cpp | 72 + .../Deqpgles2invariance_lowpTestCase.cpp | 72 + .../Deqpgles2invariance_mediumpTestCase.cpp | 72 + ...s2keywords_invalid_identifiersTestCase.cpp | 48 + .../Deqpgles2keywords_keywordsTestCase.cpp | 236 ++ ...les2keywords_reserved_keywordsTestCase.cpp | 168 ++ .../Deqpgles2lifetime_bindTestCase.cpp | 40 + .../Deqpgles2lifetime_bind_no_genTestCase.cpp | 40 + .../Deqpgles2lifetime_deleteTestCase.cpp | 48 + ...Deqpgles2lifetime_delete_boundTestCase.cpp | 40 + .../Deqpgles2lifetime_delete_usedTestCase.cpp | 28 + .../Deqpgles2lifetime_genTestCase.cpp | 48 + .../Deqpgles2loops_customTestCase.cpp | 28 + ...s_do_while_constant_iterationsTestCase.cpp | 296 ++ ...ps_do_while_dynamic_iterationsTestCase.cpp | 296 ++ ...ps_do_while_uniform_iterationsTestCase.cpp | 296 ++ ...2loops_for_constant_iterationsTestCase.cpp | 304 ++ ...s2loops_for_dynamic_iterationsTestCase.cpp | 304 ++ ...s2loops_for_uniform_iterationsTestCase.cpp | 304 ++ ...oops_while_constant_iterationsTestCase.cpp | 304 ++ ...loops_while_dynamic_iterationsTestCase.cpp | 304 ++ ...loops_while_uniform_iterationsTestCase.cpp | 304 ++ .../Deqpgles2matrix_addTestCase.cpp | 456 +++ .../Deqpgles2matrix_add_assignTestCase.cpp | 96 + .../Deqpgles2matrix_divTestCase.cpp | 456 +++ .../Deqpgles2matrix_div_assignTestCase.cpp | 96 + ...Deqpgles2matrix_matrixcompmultTestCase.cpp | 96 + .../Deqpgles2matrix_mulTestCase.cpp | 888 ++++++ .../Deqpgles2matrix_mul_assignTestCase.cpp | 96 + .../Deqpgles2matrix_negationTestCase.cpp | 96 + ...Deqpgles2matrix_post_decrementTestCase.cpp | 96 + ...Deqpgles2matrix_post_incrementTestCase.cpp | 96 + .../Deqpgles2matrix_pre_decrementTestCase.cpp | 96 + .../Deqpgles2matrix_pre_incrementTestCase.cpp | 96 + .../Deqpgles2matrix_subTestCase.cpp | 456 +++ .../Deqpgles2matrix_sub_assignTestCase.cpp | 96 + ...Deqpgles2matrix_unary_additionTestCase.cpp | 96 + ...pgles2misc_compound_assignmentTestCase.cpp | 32 + ...ple_attributes_attribute_countTestCase.cpp | 52 + ...ultiple_attributes_input_typesTestCase.cpp | 524 ++++ ...es2multiple_attributes_storageTestCase.cpp | 52 + ...les2multiple_attributes_strideTestCase.cpp | 280 ++ .../Deqpgles2negative_api_bufferTestCase.cpp | 100 + ...Deqpgles2negative_api_fragmentTestCase.cpp | 84 + .../Deqpgles2negative_api_shaderTestCase.cpp | 168 ++ .../Deqpgles2negative_api_stateTestCase.cpp | 148 + .../Deqpgles2negative_api_textureTestCase.cpp | 560 ++++ ...gles2negative_api_vertex_arrayTestCase.cpp | 68 + .../Deqpgles2operator_selectionTestCase.cpp | 248 ++ .../Deqpgles2parameters_invalidTestCase.cpp | 88 + .../Deqpgles2parameters_validTestCase.cpp | 56 + .../Deqpgles2preprocessor_basicTestCase.cpp | 88 + .../Deqpgles2preprocessor_builtinTestCase.cpp | 72 + ...Deqpgles2preprocessor_commentsTestCase.cpp | 80 + ...rocessor_conditional_inclusionTestCase.cpp | 80 + ...gles2preprocessor_conditionalsTestCase.cpp | 120 + ...pgles2preprocessor_definitionsTestCase.cpp | 64 + ...eqpgles2preprocessor_directiveTestCase.cpp | 120 + ...pgles2preprocessor_expressionsTestCase.cpp | 232 ++ ...qpgles2preprocessor_extensionsTestCase.cpp | 120 + ...processor_function_definitionsTestCase.cpp | 48 + ...ocessor_function_redefinitionsTestCase.cpp | 72 + ...processor_invalid_conditionalsTestCase.cpp | 232 ++ ...eprocessor_invalid_definitionsTestCase.cpp | 48 + ...eprocessor_invalid_expressionsTestCase.cpp | 88 + ...r_invalid_function_definitionsTestCase.cpp | 152 + ...pgles2preprocessor_invalid_opsTestCase.cpp | 96 + ...processor_object_redefinitionsTestCase.cpp | 144 + ...eprocessor_operator_precedenceTestCase.cpp | 384 +++ .../Deqpgles2preprocessor_pragmasTestCase.cpp | 56 + ...preprocessor_predefined_macrosTestCase.cpp | 80 + ...eqpgles2preprocessor_recursionTestCase.cpp | 64 + ...Deqpgles2preprocessor_semanticTestCase.cpp | 40 + ...rocessor_undefined_identifiersTestCase.cpp | 136 + ...Deqpgles2rasterization_cullingTestCase.cpp | 96 + ...pgles2rasterization_fill_rulesTestCase.cpp | 44 + .../Deqpgles2rasterization_limitsTestCase.cpp | 28 + ...pgles2rasterization_primitivesTestCase.cpp | 64 + ...eqpgles2render_array_in_structTestCase.cpp | 180 ++ .../Deqpgles2render_basicTestCase.cpp | 600 ++++ .../Deqpgles2render_basic_arrayTestCase.cpp | 300 ++ .../Deqpgles2render_basic_structTestCase.cpp | 180 ++ .../Deqpgles2render_colorTestCase.cpp | 136 + .../Deqpgles2render_color_clearTestCase.cpp | 104 + .../Deqpgles2render_depthTestCase.cpp | 64 + ...Deqpgles2render_multiple_basicTestCase.cpp | 48 + ...es2render_multiple_basic_arrayTestCase.cpp | 60 + ...multiple_nested_structs_arraysTestCase.cpp | 60 + ...s2render_nested_structs_arraysTestCase.cpp | 164 ++ ...es2render_recreate_colorbufferTestCase.cpp | 184 ++ ...es2render_recreate_depthbufferTestCase.cpp | 104 + ...2render_recreate_stencilbufferTestCase.cpp | 104 + ...Deqpgles2render_repeated_clearTestCase.cpp | 32 + .../Deqpgles2render_resizeTestCase.cpp | 104 + ...gles2render_shared_colorbufferTestCase.cpp | 104 + ...ender_shared_colorbuffer_clearTestCase.cpp | 44 + ...gles2render_shared_depthbufferTestCase.cpp | 64 + .../Deqpgles2render_stencilTestCase.cpp | 104 + .../Deqpgles2render_stencil_clearTestCase.cpp | 64 + ...eqpgles2render_struct_in_arrayTestCase.cpp | 180 ++ .../Deqpgles2render_texsubimageTestCase.cpp | 40 + .../Deqpgles2renderbuffer_color0TestCase.cpp | 204 ++ .../Deqpgles2renderbuffer_depthTestCase.cpp | 208 ++ .../Deqpgles2renderbuffer_stencilTestCase.cpp | 208 ++ ...qpgles2rgb_func_alpha_func_dstTestCase.cpp | 808 +++++ ...qpgles2rgb_func_alpha_func_srcTestCase.cpp | 924 ++++++ ...les2scalar_conversion_combinedTestCase.cpp | 424 +++ ...les2scalar_conversion_fragmentTestCase.cpp | 424 +++ ...pgles2scalar_conversion_vertexTestCase.cpp | 424 +++ .../Deqpgles2scoping_invalidTestCase.cpp | 200 ++ .../Deqpgles2scoping_validTestCase.cpp | 152 + ...pgles2sequence_no_side_effectsTestCase.cpp | 120 + ...Deqpgles2sequence_side_effectsTestCase.cpp | 132 + ...qpgles2shader_api_compile_linkTestCase.cpp | 36 + ...pgles2shader_api_create_deleteTestCase.cpp | 36 + ...pgles2shader_api_program_stateTestCase.cpp | 72 + ...pgles2shader_api_shader_sourceTestCase.cpp | 104 + .../Deqpgles2shaders_algorithmTestCase.cpp | 40 + ...pgles2shaders_builtin_variableTestCase.cpp | 112 + .../Deqpgles2shaders_constantsTestCase.cpp | 340 +++ .../Deqpgles2shaders_discardTestCase.cpp | 124 + .../Deqpgles2shaders_fragdataTestCase.cpp | 52 + .../Deqpgles2shaders_linkageTestCase.cpp | 220 ++ ...les2shaders_reserved_operatorsTestCase.cpp | 120 + .../Deqpgles2shaders_returnTestCase.cpp | 176 ++ ...eqpgles2single_attribute_firstTestCase.cpp | 232 ++ ...les2single_attribute_normalizeTestCase.cpp | 168 ++ ...qpgles2single_attribute_offsetTestCase.cpp | 184 ++ ...2single_attribute_output_typesTestCase.cpp | 456 +++ ...pgles2single_attribute_stridesTestCase.cpp | 240 ++ ...qpgles2single_attribute_usagesTestCase.cpp | 336 +++ .../functional/Deqpgles2size_2dTestCase.cpp | 152 + .../functional/Deqpgles2size_cubeTestCase.cpp | 192 ++ ...ification_basic_copyteximage2dTestCase.cpp | 64 + ...cation_basic_copytexsubimage2dTestCase.cpp | 64 + ...specification_basic_teximage2dTestCase.cpp | 128 + ...cification_basic_texsubimage2dTestCase.cpp | 128 + ...pecification_random_teximage2dTestCase.cpp | 104 + ...specification_teximage2d_alignTestCase.cpp | 160 + ...cification_texsubimage2d_alignTestCase.cpp | 184 ++ ...cation_texsubimage2d_empty_texTestCase.cpp | 128 + .../Deqpgles2state_query_booleanTestCase.cpp | 216 ++ ...gles2state_query_buffer_objectTestCase.cpp | 32 + .../Deqpgles2state_query_fboTestCase.cpp | 36 + .../Deqpgles2state_query_floatsTestCase.cpp | 132 + .../Deqpgles2state_query_integersTestCase.cpp | 1032 +++++++ .../Deqpgles2state_query_rboTestCase.cpp | 40 + .../Deqpgles2state_query_shaderTestCase.cpp | 180 ++ .../Deqpgles2state_query_stringTestCase.cpp | 44 + .../Deqpgles2state_query_textureTestCase.cpp | 88 + .../Deqpgles2struct_localTestCase.cpp | 280 ++ .../Deqpgles2struct_uniformTestCase.cpp | 176 ++ .../Deqpgles2swizzle_fragmentTestCase.cpp | 224 ++ .../Deqpgles2swizzle_vertexTestCase.cpp | 224 ++ ...pgles2swizzles_vector_swizzlesTestCase.cpp | 2616 +++++++++++++++++ .../Deqpgles2texture_color0TestCase.cpp | 204 ++ .../Deqpgles2texture_depthTestCase.cpp | 208 ++ .../Deqpgles2texture_formatTestCase.cpp | 168 ++ .../Deqpgles2texture_fragmentTestCase.cpp | 624 ++++ ...les2texture_functions_fragmentTestCase.cpp | 56 + ...gles2texture_functions_invalidTestCase.cpp | 28 + ...pgles2texture_functions_vertexTestCase.cpp | 56 + .../Deqpgles2texture_stencilTestCase.cpp | 208 ++ .../Deqpgles2texture_vertexTestCase.cpp | 224 ++ .../Deqpgles2texture_wrapTestCase.cpp | 84 + ...pgles2triangle_vertex_clip_oneTestCase.cpp | 128 + ...les2triangle_vertex_clip_threeTestCase.cpp | 1080 +++++++ ...pgles2triangle_vertex_clip_twoTestCase.cpp | 936 ++++++ ...eqpgles2trigonometric_fragmentTestCase.cpp | 424 +++ .../Deqpgles2trigonometric_vertexTestCase.cpp | 424 +++ .../Deqpgles2unary_operator_minusTestCase.cpp | 216 ++ .../Deqpgles2unary_operator_notTestCase.cpp | 32 + .../Deqpgles2unary_operator_plusTestCase.cpp | 216 ++ ...operator_post_decrement_effectTestCase.cpp | 216 ++ ...operator_post_decrement_resultTestCase.cpp | 216 ++ ...operator_post_increment_effectTestCase.cpp | 216 ++ ...operator_post_increment_resultTestCase.cpp | 216 ++ ..._operator_pre_decrement_effectTestCase.cpp | 216 ++ ..._operator_pre_decrement_resultTestCase.cpp | 216 ++ ..._operator_pre_increment_effectTestCase.cpp | 216 ++ ..._operator_pre_increment_resultTestCase.cpp | 216 ++ .../Deqpgles2uniform_api_randomTestCase.cpp | 424 +++ .../Deqpgles2use_index_arrayTestCase.cpp | 32 + .../Deqpgles2use_vertex_arrayTestCase.cpp | 32 + .../Deqpgles2variables_invalidTestCase.cpp | 52 + .../Deqpgles2variables_validTestCase.cpp | 36 + .../Deqpgles2write_basicTestCase.cpp | 48 + .../Deqpgles2write_basic_subdataTestCase.cpp | 48 + ...Deqpgles2write_partial_specifyTestCase.cpp | 76 + .../Deqpgles2write_randomTestCase.cpp | 64 + .../Deqpgles2write_recreate_storeTestCase.cpp | 64 + .../info/Deqpgles2dEQP-GLES2_infoTestCase.cpp | 48 + 515 files changed, 80503 insertions(+) create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.cpp create mode 100644 graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.h create mode 100644 graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.cpp create mode 100644 graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.h create mode 100644 graphic/vkgl/src/deqpgles2/build0001/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0001/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0001/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0002/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0002/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0002/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0003/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0003/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0003/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0004/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0004/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0004/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0005/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0005/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0005/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0006/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0006/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0006/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0007/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0007/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0007/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0008/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0008/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0008/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0009/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0009/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0009/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0010/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0010/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0010/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0011/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0011/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0011/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0012/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0012/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0012/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0013/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0013/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0013/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0014/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0014/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0014/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0015/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0015/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0015/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0016/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0016/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0016/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/build0017/BUILD.gn create mode 100644 graphic/vkgl/src/deqpgles2/build0017/Test.json create mode 100644 graphic/vkgl/src/deqpgles2/build0017/logdefine.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_affineTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_filteringTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_generateTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_projectedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_wrapTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_acosTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_asinTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atan2TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_cosTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_degreesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_radiansTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_sinTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_tanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2assigned_unused_uniformsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_inputTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_nameTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_outputTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bindTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_holeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_timeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_array_in_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_multiple_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_array_in_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_multiple_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_combinedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_divTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greaterTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greater_or_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_lessTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_less_or_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_andTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_orTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_xorTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mulTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_not_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_subTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_rgb_equation_alpha_equationTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_allTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_anyTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_exponentialTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_geometricTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_matrixTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_vector_relationalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_lineTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_pointTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygon_edgeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_absTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_ceilTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_clampTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_floorTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_fractTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_maxTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_minTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_mixTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_modTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_signTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_smoothstepTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_stepTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_attachment_combinationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_cubeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_sizeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_combinedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_ifTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_invalid_ifTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_operatorsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_trivialTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_combineTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_to_matrixTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_matrixTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_combineTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_illegalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_biasTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_filteringTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_generateTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_projectedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_wrapTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat2TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat3TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec2TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec3TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_compareTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_writeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_randomTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_stencil_depth_funcsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_write_maskTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_firstTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_loopTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_stripTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_linesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_pointsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_fanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_stripTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_trianglesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_loopTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_stripTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_linesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_pointsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_fanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_stripTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_trianglesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_randomTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_exp2TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_expTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_inversesqrtTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_log2TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_logTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_powTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_sqrtTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2fbo_apiTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_notEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_depthTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_randomTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_scissorTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_stencilTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_clip_controlTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_color_clearTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_debug_markerTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_flush_finishTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_implementation_limitsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_light_amountTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampleTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_polygon_offsetTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_prerequisiteTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_read_pixelsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_array_argumentsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_control_flowTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_datatypesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_declarationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_invalidTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_miscTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_overloadingTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_qualifiersTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_crossTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_distanceTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_dotTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_faceforwardTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_lengthTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_normalizeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_reflectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_refractTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_array_in_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_matrix_subscriptTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_uniform_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_varying_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_array_in_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_struct_in_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_unused_uniformsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_equalTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_notEqualTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2interaction_basic_shaderTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_projectedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_highpTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_lowpTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_mediumpTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_invalid_identifiersTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_keywordsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_reserved_keywordsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_constant_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_dynamic_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_uniform_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_constant_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_dynamic_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_uniform_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_constant_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_dynamic_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_uniform_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_addTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_add_assignTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_divTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_div_assignTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_matrixcompmultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mulTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mul_assignTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_negationTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_decrementTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_incrementTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_decrementTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_incrementTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_subTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_sub_assignTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_unary_additionTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2misc_compound_assignmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_storageTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_strideTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_shaderTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_stateTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_textureTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2operator_selectionTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_invalidTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_validTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_builtinTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_commentsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditionalsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_directiveTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_extensionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_pragmasTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_recursionTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_semanticTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_cullingTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_fill_rulesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_limitsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_primitivesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_array_in_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_structTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_colorTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_color_clearTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_colorbufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_depthbufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_stencilbufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_repeated_clearTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_resizeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbuffer_clearTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_depthbufferTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencilTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencil_clearTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_struct_in_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_texsubimageTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_depthTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_srcTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_combinedTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_invalidTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_validTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_no_side_effectsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_side_effectsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_compile_linkTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_create_deleteTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_program_stateTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_shader_sourceTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_algorithmTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_builtin_variableTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_constantsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_discardTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_reserved_operatorsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_returnTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_firstTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_normalizeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_offsetTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_stridesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_usagesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_cubeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_teximage2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_texsubimage2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_random_teximage2dTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_empty_texTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_buffer_objectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_fboTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_floatsTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_integersTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_rboTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_shaderTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_stringTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_textureTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_localTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_uniformTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_color0TestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_depthTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_formatTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_invalidTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_wrapTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_oneTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_threeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_twoTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_fragmentTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_notTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_resultTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2uniform_api_randomTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_index_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_vertex_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_invalidTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_validTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basicTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basic_subdataTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_partial_specifyTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_randomTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_recreate_storeTestCase.cpp create mode 100644 graphic/vkgl/src/deqpgles2/info/Deqpgles2dEQP-GLES2_infoTestCase.cpp diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.cpp new file mode 100644 index 000000000..ea5b908dc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20001TestSuite::startTime; + time_t ActsDeqpgles20001TestSuite::endTime; + FuncRunResult ActsDeqpgles20001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20001TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20001TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20001TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20001TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.h new file mode 100644 index 000000000..4217efd6d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20001TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.cpp new file mode 100644 index 000000000..f11467e47 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20002TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20002TestSuite::startTime; + time_t ActsDeqpgles20002TestSuite::endTime; + FuncRunResult ActsDeqpgles20002TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20002TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20002TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20002TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20002TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.h new file mode 100644 index 000000000..fd4887ae8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20002TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20002TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.cpp new file mode 100644 index 000000000..301bf201c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20003TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20003TestSuite::startTime; + time_t ActsDeqpgles20003TestSuite::endTime; + FuncRunResult ActsDeqpgles20003TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20003TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20003TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20003TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20003TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.h new file mode 100644 index 000000000..7936227ae --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20003TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20003TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.cpp new file mode 100644 index 000000000..1e1e74aed --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20004TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20004TestSuite::startTime; + time_t ActsDeqpgles20004TestSuite::endTime; + FuncRunResult ActsDeqpgles20004TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20004TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20004TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20004TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20004TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.h new file mode 100644 index 000000000..ce3391b8e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20004TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20004TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.cpp new file mode 100644 index 000000000..f68122016 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20005TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20005TestSuite::startTime; + time_t ActsDeqpgles20005TestSuite::endTime; + FuncRunResult ActsDeqpgles20005TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20005TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20005TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20005TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20005TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.h new file mode 100644 index 000000000..1ef6fd024 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20005TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20005TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.cpp new file mode 100644 index 000000000..0ce9be33b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20006TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20006TestSuite::startTime; + time_t ActsDeqpgles20006TestSuite::endTime; + FuncRunResult ActsDeqpgles20006TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20006TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20006TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20006TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20006TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.h new file mode 100644 index 000000000..9760c307d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20006TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20006TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.cpp new file mode 100644 index 000000000..09642410a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20007TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20007TestSuite::startTime; + time_t ActsDeqpgles20007TestSuite::endTime; + FuncRunResult ActsDeqpgles20007TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20007TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20007TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20007TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20007TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.h new file mode 100644 index 000000000..1543347d8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20007TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20007TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.cpp new file mode 100644 index 000000000..307545e08 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20008TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20008TestSuite::startTime; + time_t ActsDeqpgles20008TestSuite::endTime; + FuncRunResult ActsDeqpgles20008TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20008TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20008TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20008TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20008TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.h new file mode 100644 index 000000000..413e19f0d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20008TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20008TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.cpp new file mode 100644 index 000000000..095610529 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20009TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20009TestSuite::startTime; + time_t ActsDeqpgles20009TestSuite::endTime; + FuncRunResult ActsDeqpgles20009TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20009TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20009TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20009TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20009TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.h new file mode 100644 index 000000000..75fd4e734 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20009TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20009TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.cpp new file mode 100644 index 000000000..29cbb2af1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20010TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20010TestSuite::startTime; + time_t ActsDeqpgles20010TestSuite::endTime; + FuncRunResult ActsDeqpgles20010TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20010TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20010TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20010TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20010TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.h new file mode 100644 index 000000000..22903a2a7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20010TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20010TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.cpp new file mode 100644 index 000000000..83a923985 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20011TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20011TestSuite::startTime; + time_t ActsDeqpgles20011TestSuite::endTime; + FuncRunResult ActsDeqpgles20011TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20011TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20011TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20011TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20011TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.h new file mode 100644 index 000000000..5e6cde409 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20011TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20011TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.cpp new file mode 100644 index 000000000..cb80a065d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20012TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20012TestSuite::startTime; + time_t ActsDeqpgles20012TestSuite::endTime; + FuncRunResult ActsDeqpgles20012TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20012TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20012TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20012TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20012TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.h new file mode 100644 index 000000000..5707fcb5a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20012TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20012TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.cpp new file mode 100644 index 000000000..cb7dce7e7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20013TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20013TestSuite::startTime; + time_t ActsDeqpgles20013TestSuite::endTime; + FuncRunResult ActsDeqpgles20013TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20013TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20013TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20013TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20013TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.h new file mode 100644 index 000000000..cbe47b25b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20013TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20013TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.cpp new file mode 100644 index 000000000..75fbfb1bc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20014TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20014TestSuite::startTime; + time_t ActsDeqpgles20014TestSuite::endTime; + FuncRunResult ActsDeqpgles20014TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20014TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20014TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20014TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20014TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.h new file mode 100644 index 000000000..260d58450 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20014TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20014TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.cpp new file mode 100644 index 000000000..abdd48bb5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20015TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20015TestSuite::startTime; + time_t ActsDeqpgles20015TestSuite::endTime; + FuncRunResult ActsDeqpgles20015TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20015TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20015TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20015TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20015TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.h new file mode 100644 index 000000000..bf58609d5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20015TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20015TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.cpp new file mode 100644 index 000000000..7d9edb346 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20016TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20016TestSuite::startTime; + time_t ActsDeqpgles20016TestSuite::endTime; + FuncRunResult ActsDeqpgles20016TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20016TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20016TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20016TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20016TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.h new file mode 100644 index 000000000..df2c6ed96 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20016TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20016TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.cpp new file mode 100644 index 000000000..02cd71560 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles20017TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles20017TestSuite::startTime; + time_t ActsDeqpgles20017TestSuite::endTime; + FuncRunResult ActsDeqpgles20017TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles20017TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles20017TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles20017TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles20017TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.h new file mode 100644 index 000000000..21b84f2c8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles20017TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles20017TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.cpp b/graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.cpp new file mode 100644 index 000000000..30f46639a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Deqpgles2BaseFunc.h" +#include "ActsDeqpgles2TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsDeqpgles2TestSuite::startTime; + time_t ActsDeqpgles2TestSuite::endTime; + FuncRunResult ActsDeqpgles2TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsDeqpgles2TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsDeqpgles2TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsDeqpgles2TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsDeqpgles2TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.h b/graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.h new file mode 100644 index 000000000..b4cb84947 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/ActsDeqpgles2TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_TESTCASE_H +#define DEQPGLES2_TESTCASE_H + +#include +#include "Deqpgles2BaseFunc.h" + +namespace OHOS { + class ActsDeqpgles2TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // DEQPGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.cpp b/graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.cpp new file mode 100644 index 000000000..dc1a60356 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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. + */ + +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "Deqpgles2BaseFunc.h" + +static tcu::TestPackage* createDeqpgles2Package(tcu::TestContext& testCtx) +{ + return new deqp::gles2::TestPackage(testCtx); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("dEQP-GLES2", createDeqpgles2Package); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.h b/graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.h new file mode 100644 index 000000000..f7b856c8b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/Deqpgles2BaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef DEQPGLES2_FUNC_H +#define DEQPGLES2_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // DEQPGLES2_FUNC_H \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0001/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0001/BUILD.gn new file mode 100644 index 000000000..dc2c22bb9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0001/BUILD.gn @@ -0,0 +1,103 @@ +# 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("libdeqpgles2func0001") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0001") { + sources = [ + "../ActsDeqpgles20001TestSuite.cpp", + "../functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp", + "../functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp", + "../functional/Deqpgles2conversions_vector_illegalTestCase.cpp", + "../functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp", + "../functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp", + "../functional/Deqpgles2functional_clip_controlTestCase.cpp", + "../functional/Deqpgles2functional_color_clearTestCase.cpp", + "../functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp", + "../functional/Deqpgles2functional_implementation_limitsTestCase.cpp", + "../functional/Deqpgles2functional_light_amountTestCase.cpp", + "../functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp", + "../functional/Deqpgles2functional_prerequisiteTestCase.cpp", + "../functional/Deqpgles2preprocessor_basicTestCase.cpp", + "../functional/Deqpgles2preprocessor_builtinTestCase.cpp", + "../functional/Deqpgles2preprocessor_commentsTestCase.cpp", + "../functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp", + "../functional/Deqpgles2preprocessor_conditionalsTestCase.cpp", + "../functional/Deqpgles2preprocessor_definitionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_directiveTestCase.cpp", + "../functional/Deqpgles2preprocessor_expressionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_extensionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp", + "../functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp", + "../functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp", + "../functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp", + "../functional/Deqpgles2preprocessor_pragmasTestCase.cpp", + "../functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp", + "../functional/Deqpgles2preprocessor_recursionTestCase.cpp", + "../functional/Deqpgles2preprocessor_semanticTestCase.cpp", + "../functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp", + "../functional/Deqpgles2shaders_constantsTestCase.cpp", + "../functional/Deqpgles2shaders_linkageTestCase.cpp", + "../functional/Deqpgles2use_index_arrayTestCase.cpp", + "../functional/Deqpgles2use_vertex_arrayTestCase.cpp", + "../functional/Deqpgles2write_basicTestCase.cpp", + "../functional/Deqpgles2write_basic_subdataTestCase.cpp", + "../functional/Deqpgles2write_partial_specifyTestCase.cpp", + "../functional/Deqpgles2write_randomTestCase.cpp", + "../functional/Deqpgles2write_recreate_storeTestCase.cpp", + "../info/Deqpgles2dEQP-GLES2_infoTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0001" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0001/Test.json b/graphic/vkgl/src/deqpgles2/build0001/Test.json new file mode 100644 index 000000000..cf9026aaa --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0001/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0001 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0001", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0001->/data/local/tmp/ActsDeqpgles2TestSuite0001", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0001/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0001/logdefine.cpp new file mode 100644 index 000000000..7117f1743 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0001/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0001.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0002/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0002/BUILD.gn new file mode 100644 index 000000000..04b5f8051 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0002/BUILD.gn @@ -0,0 +1,67 @@ +# 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("libdeqpgles2func0002") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0002") { + sources = [ + "../ActsDeqpgles20002TestSuite.cpp", + "../functional/Deqpgles2conditionals_ifTestCase.cpp", + "../functional/Deqpgles2conditionals_invalid_ifTestCase.cpp", + "../functional/Deqpgles2conversions_matrix_combineTestCase.cpp", + "../functional/Deqpgles2conversions_matrix_to_matrixTestCase.cpp", + "../functional/Deqpgles2conversions_scalar_to_matrixTestCase.cpp", + "../functional/Deqpgles2conversions_vector_combineTestCase.cpp", + "../functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp", + "../functional/Deqpgles2functions_datatypesTestCase.cpp", + "../functional/Deqpgles2swizzles_vector_swizzlesTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0002" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0002/Test.json b/graphic/vkgl/src/deqpgles2/build0002/Test.json new file mode 100644 index 000000000..459460ea6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0002/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0002 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0002", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0002->/data/local/tmp/ActsDeqpgles2TestSuite0002", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0002/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0002/logdefine.cpp new file mode 100644 index 000000000..d666e5043 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0002/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0002.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0003/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0003/BUILD.gn new file mode 100644 index 000000000..8053a8887 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0003/BUILD.gn @@ -0,0 +1,81 @@ +# 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("libdeqpgles2func0003") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0003") { + sources = [ + "../ActsDeqpgles20003TestSuite.cpp", + "../functional/Deqpgles2functions_array_argumentsTestCase.cpp", + "../functional/Deqpgles2functions_control_flowTestCase.cpp", + "../functional/Deqpgles2functions_declarationsTestCase.cpp", + "../functional/Deqpgles2functions_invalidTestCase.cpp", + "../functional/Deqpgles2functions_miscTestCase.cpp", + "../functional/Deqpgles2functions_overloadingTestCase.cpp", + "../functional/Deqpgles2functions_qualifiersTestCase.cpp", + "../functional/Deqpgles2indexing_tmp_arrayTestCase.cpp", + "../functional/Deqpgles2indexing_uniform_arrayTestCase.cpp", + "../functional/Deqpgles2indexing_varying_arrayTestCase.cpp", + "../functional/Deqpgles2indexing_vector_subscriptTestCase.cpp", + "../functional/Deqpgles2invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp", + "../functional/Deqpgles2keywords_invalid_identifiersTestCase.cpp", + "../functional/Deqpgles2keywords_keywordsTestCase.cpp", + "../functional/Deqpgles2keywords_reserved_keywordsTestCase.cpp", + "../functional/Deqpgles2misc_compound_assignmentTestCase.cpp", + "../functional/Deqpgles2parameters_invalidTestCase.cpp", + "../functional/Deqpgles2parameters_validTestCase.cpp", + "../functional/Deqpgles2scoping_invalidTestCase.cpp", + "../functional/Deqpgles2scoping_validTestCase.cpp", + "../functional/Deqpgles2shaders_reserved_operatorsTestCase.cpp", + "../functional/Deqpgles2variables_invalidTestCase.cpp", + "../functional/Deqpgles2variables_validTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0003" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0003/Test.json b/graphic/vkgl/src/deqpgles2/build0003/Test.json new file mode 100644 index 000000000..ae56c86ad --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0003/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0003 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0003", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0003->/data/local/tmp/ActsDeqpgles2TestSuite0003", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0003/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0003/logdefine.cpp new file mode 100644 index 000000000..9d756ec22 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0003/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0003.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0004/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0004/BUILD.gn new file mode 100644 index 000000000..2c89b51b7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0004/BUILD.gn @@ -0,0 +1,71 @@ +# 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("libdeqpgles2func0004") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0004") { + sources = [ + "../ActsDeqpgles20004TestSuite.cpp", + "../functional/Deqpgles2indexing_matrix_subscriptTestCase.cpp", + "../functional/Deqpgles2loops_customTestCase.cpp", + "../functional/Deqpgles2loops_do_while_constant_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_do_while_dynamic_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_do_while_uniform_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_for_constant_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_for_dynamic_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_for_uniform_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_while_constant_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_while_dynamic_iterationsTestCase.cpp", + "../functional/Deqpgles2loops_while_uniform_iterationsTestCase.cpp", + "../functional/Deqpgles2unary_operator_minusTestCase.cpp", + "../functional/Deqpgles2unary_operator_plusTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0004" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0004/Test.json b/graphic/vkgl/src/deqpgles2/build0004/Test.json new file mode 100644 index 000000000..54b6e6b42 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0004/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0004 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0004", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0004->/data/local/tmp/ActsDeqpgles2TestSuite0004", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0004/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0004/logdefine.cpp new file mode 100644 index 000000000..20cd67721 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0004/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0004.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0005/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0005/BUILD.gn new file mode 100644 index 000000000..710c69b1b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0005/BUILD.gn @@ -0,0 +1,73 @@ +# 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("libdeqpgles2func0005") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0005") { + sources = [ + "../ActsDeqpgles20005TestSuite.cpp", + "../functional/Deqpgles2binary_operator_addTestCase.cpp", + "../functional/Deqpgles2binary_operator_add_assign_effectTestCase.cpp", + "../functional/Deqpgles2binary_operator_divTestCase.cpp", + "../functional/Deqpgles2binary_operator_mulTestCase.cpp", + "../functional/Deqpgles2binary_operator_subTestCase.cpp", + "../functional/Deqpgles2binary_operator_sub_assign_effectTestCase.cpp", + "../functional/Deqpgles2unary_operator_notTestCase.cpp", + "../functional/Deqpgles2unary_operator_post_decrement_effectTestCase.cpp", + "../functional/Deqpgles2unary_operator_post_decrement_resultTestCase.cpp", + "../functional/Deqpgles2unary_operator_post_increment_effectTestCase.cpp", + "../functional/Deqpgles2unary_operator_post_increment_resultTestCase.cpp", + "../functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp", + "../functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp", + "../functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp", + "../functional/Deqpgles2unary_operator_pre_increment_resultTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0005" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0005/Test.json b/graphic/vkgl/src/deqpgles2/build0005/Test.json new file mode 100644 index 000000000..deffc16d2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0005/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0005 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0005", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0005->/data/local/tmp/ActsDeqpgles2TestSuite0005", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0005/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0005/logdefine.cpp new file mode 100644 index 000000000..9fea52797 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0005/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0005.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0006/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0006/BUILD.gn new file mode 100644 index 000000000..45cd7268b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0006/BUILD.gn @@ -0,0 +1,89 @@ +# 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("libdeqpgles2func0006") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0006") { + sources = [ + "../ActsDeqpgles20006TestSuite.cpp", + "../functional/Deqpgles2angle_and_trigonometry_acosTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_asinTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_atan2TestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_atanTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_cosTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_degreesTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_radiansTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_sinTestCase.cpp", + "../functional/Deqpgles2angle_and_trigonometry_tanTestCase.cpp", + "../functional/Deqpgles2binary_operator_add_assign_resultTestCase.cpp", + "../functional/Deqpgles2binary_operator_div_assign_effectTestCase.cpp", + "../functional/Deqpgles2binary_operator_div_assign_resultTestCase.cpp", + "../functional/Deqpgles2binary_operator_equalTestCase.cpp", + "../functional/Deqpgles2binary_operator_greaterTestCase.cpp", + "../functional/Deqpgles2binary_operator_greater_or_equalTestCase.cpp", + "../functional/Deqpgles2binary_operator_lessTestCase.cpp", + "../functional/Deqpgles2binary_operator_less_or_equalTestCase.cpp", + "../functional/Deqpgles2binary_operator_logical_andTestCase.cpp", + "../functional/Deqpgles2binary_operator_logical_orTestCase.cpp", + "../functional/Deqpgles2binary_operator_logical_xorTestCase.cpp", + "../functional/Deqpgles2binary_operator_mul_assign_effectTestCase.cpp", + "../functional/Deqpgles2binary_operator_mul_assign_resultTestCase.cpp", + "../functional/Deqpgles2binary_operator_not_equalTestCase.cpp", + "../functional/Deqpgles2binary_operator_sub_assign_resultTestCase.cpp", + "../functional/Deqpgles2exponential_exp2TestCase.cpp", + "../functional/Deqpgles2exponential_expTestCase.cpp", + "../functional/Deqpgles2exponential_inversesqrtTestCase.cpp", + "../functional/Deqpgles2exponential_log2TestCase.cpp", + "../functional/Deqpgles2exponential_logTestCase.cpp", + "../functional/Deqpgles2exponential_powTestCase.cpp", + "../functional/Deqpgles2exponential_sqrtTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0006" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0006/Test.json b/graphic/vkgl/src/deqpgles2/build0006/Test.json new file mode 100644 index 000000000..f7278b7f7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0006/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0006 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0006", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0006->/data/local/tmp/ActsDeqpgles2TestSuite0006", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0006/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0006/logdefine.cpp new file mode 100644 index 000000000..8f0020ad4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0006/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0006.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0007/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0007/BUILD.gn new file mode 100644 index 000000000..fa5178112 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0007/BUILD.gn @@ -0,0 +1,100 @@ +# 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("libdeqpgles2func0007") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0007") { + sources = [ + "../ActsDeqpgles20007TestSuite.cpp", + "../functional/Deqpgles2bool_compare_allTestCase.cpp", + "../functional/Deqpgles2bool_compare_anyTestCase.cpp", + "../functional/Deqpgles2bool_compare_equalTestCase.cpp", + "../functional/Deqpgles2bool_compare_notEqualTestCase.cpp", + "../functional/Deqpgles2bool_compare_notTestCase.cpp", + "../functional/Deqpgles2common_functions_absTestCase.cpp", + "../functional/Deqpgles2common_functions_ceilTestCase.cpp", + "../functional/Deqpgles2common_functions_clampTestCase.cpp", + "../functional/Deqpgles2common_functions_floorTestCase.cpp", + "../functional/Deqpgles2common_functions_fractTestCase.cpp", + "../functional/Deqpgles2common_functions_maxTestCase.cpp", + "../functional/Deqpgles2common_functions_minTestCase.cpp", + "../functional/Deqpgles2common_functions_mixTestCase.cpp", + "../functional/Deqpgles2common_functions_modTestCase.cpp", + "../functional/Deqpgles2common_functions_signTestCase.cpp", + "../functional/Deqpgles2common_functions_smoothstepTestCase.cpp", + "../functional/Deqpgles2common_functions_stepTestCase.cpp", + "../functional/Deqpgles2float_compare_equalTestCase.cpp", + "../functional/Deqpgles2float_compare_greaterThanEqualTestCase.cpp", + "../functional/Deqpgles2float_compare_greaterThanTestCase.cpp", + "../functional/Deqpgles2float_compare_lessThanEqualTestCase.cpp", + "../functional/Deqpgles2float_compare_lessThanTestCase.cpp", + "../functional/Deqpgles2float_compare_notEqualTestCase.cpp", + "../functional/Deqpgles2geometric_crossTestCase.cpp", + "../functional/Deqpgles2geometric_distanceTestCase.cpp", + "../functional/Deqpgles2geometric_dotTestCase.cpp", + "../functional/Deqpgles2geometric_faceforwardTestCase.cpp", + "../functional/Deqpgles2geometric_lengthTestCase.cpp", + "../functional/Deqpgles2geometric_normalizeTestCase.cpp", + "../functional/Deqpgles2geometric_reflectTestCase.cpp", + "../functional/Deqpgles2geometric_refractTestCase.cpp", + "../functional/Deqpgles2int_compare_equalTestCase.cpp", + "../functional/Deqpgles2int_compare_greaterThanEqualTestCase.cpp", + "../functional/Deqpgles2int_compare_greaterThanTestCase.cpp", + "../functional/Deqpgles2int_compare_lessThanEqualTestCase.cpp", + "../functional/Deqpgles2int_compare_lessThanTestCase.cpp", + "../functional/Deqpgles2int_compare_notEqualTestCase.cpp", + "../functional/Deqpgles2matrix_addTestCase.cpp", + "../functional/Deqpgles2matrix_subTestCase.cpp", + "../functional/Deqpgles2operator_selectionTestCase.cpp", + "../functional/Deqpgles2sequence_no_side_effectsTestCase.cpp", + "../functional/Deqpgles2sequence_side_effectsTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0007" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0007/Test.json b/graphic/vkgl/src/deqpgles2/build0007/Test.json new file mode 100644 index 000000000..aac889c6a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0007/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0007 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0007", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0007->/data/local/tmp/ActsDeqpgles2TestSuite0007", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0007/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0007/logdefine.cpp new file mode 100644 index 000000000..b70ed7a31 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0007/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0007.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0008/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0008/BUILD.gn new file mode 100644 index 000000000..2b53f3f26 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0008/BUILD.gn @@ -0,0 +1,89 @@ +# 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("libdeqpgles2func0008") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0008") { + sources = [ + "../ActsDeqpgles20008TestSuite.cpp", + "../functional/Deqpgles2builtin_functions_exponentialTestCase.cpp", + "../functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp", + "../functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp", + "../functional/Deqpgles2constant_expressions_operatorsTestCase.cpp", + "../functional/Deqpgles2constant_expressions_trivialTestCase.cpp", + "../functional/Deqpgles2invariance_highpTestCase.cpp", + "../functional/Deqpgles2invariance_lowpTestCase.cpp", + "../functional/Deqpgles2invariance_mediumpTestCase.cpp", + "../functional/Deqpgles2matrix_add_assignTestCase.cpp", + "../functional/Deqpgles2matrix_divTestCase.cpp", + "../functional/Deqpgles2matrix_div_assignTestCase.cpp", + "../functional/Deqpgles2matrix_matrixcompmultTestCase.cpp", + "../functional/Deqpgles2matrix_mulTestCase.cpp", + "../functional/Deqpgles2matrix_mul_assignTestCase.cpp", + "../functional/Deqpgles2matrix_negationTestCase.cpp", + "../functional/Deqpgles2matrix_post_decrementTestCase.cpp", + "../functional/Deqpgles2matrix_post_incrementTestCase.cpp", + "../functional/Deqpgles2matrix_pre_decrementTestCase.cpp", + "../functional/Deqpgles2matrix_pre_incrementTestCase.cpp", + "../functional/Deqpgles2matrix_sub_assignTestCase.cpp", + "../functional/Deqpgles2matrix_unary_additionTestCase.cpp", + "../functional/Deqpgles2shaders_algorithmTestCase.cpp", + "../functional/Deqpgles2shaders_builtin_variableTestCase.cpp", + "../functional/Deqpgles2shaders_discardTestCase.cpp", + "../functional/Deqpgles2shaders_fragdataTestCase.cpp", + "../functional/Deqpgles2shaders_returnTestCase.cpp", + "../functional/Deqpgles2struct_localTestCase.cpp", + "../functional/Deqpgles2struct_uniformTestCase.cpp", + "../functional/Deqpgles2texture_functions_fragmentTestCase.cpp", + "../functional/Deqpgles2texture_functions_invalidTestCase.cpp", + "../functional/Deqpgles2texture_functions_vertexTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0008" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0008/Test.json b/graphic/vkgl/src/deqpgles2/build0008/Test.json new file mode 100644 index 000000000..1997c2b30 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0008/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0008 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0008", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0008->/data/local/tmp/ActsDeqpgles2TestSuite0008", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0008/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0008/logdefine.cpp new file mode 100644 index 000000000..b15f2155a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0008/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0008.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0009/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0009/BUILD.gn new file mode 100644 index 000000000..f214dc574 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0009/BUILD.gn @@ -0,0 +1,70 @@ +# 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("libdeqpgles2func0009") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0009") { + sources = [ + "../ActsDeqpgles20009TestSuite.cpp", + "../functional/Deqpgles2basic_expression_combinedTestCase.cpp", + "../functional/Deqpgles2basic_expression_fragmentTestCase.cpp", + "../functional/Deqpgles2basic_expression_vertexTestCase.cpp", + "../functional/Deqpgles2builtin_functions_commonTestCase.cpp", + "../functional/Deqpgles2builtin_functions_geometricTestCase.cpp", + "../functional/Deqpgles2builtin_functions_matrixTestCase.cpp", + "../functional/Deqpgles2builtin_functions_vector_relationalTestCase.cpp", + "../functional/Deqpgles2scalar_conversion_combinedTestCase.cpp", + "../functional/Deqpgles2scalar_conversion_fragmentTestCase.cpp", + "../functional/Deqpgles2scalar_conversion_vertexTestCase.cpp", + "../functional/Deqpgles2swizzle_fragmentTestCase.cpp", + "../functional/Deqpgles2swizzle_vertexTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0009" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0009/Test.json b/graphic/vkgl/src/deqpgles2/build0009/Test.json new file mode 100644 index 000000000..70096d427 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0009/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0009 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0009", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0009->/data/local/tmp/ActsDeqpgles2TestSuite0009", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0009/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0009/logdefine.cpp new file mode 100644 index 000000000..ebd6b21f8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0009/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0009.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0010/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0010/BUILD.gn new file mode 100644 index 000000000..fb1c51522 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0010/BUILD.gn @@ -0,0 +1,69 @@ +# 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("libdeqpgles2func0010") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0010") { + sources = [ + "../ActsDeqpgles20010TestSuite.cpp", + "../functional/Deqpgles2comparison_ops_fragmentTestCase.cpp", + "../functional/Deqpgles2comparison_ops_vertexTestCase.cpp", + "../functional/Deqpgles2conditionals_combinedTestCase.cpp", + "../functional/Deqpgles2conditionals_fragmentTestCase.cpp", + "../functional/Deqpgles2conditionals_vertexTestCase.cpp", + "../functional/Deqpgles2exponential_fragmentTestCase.cpp", + "../functional/Deqpgles2exponential_vertexTestCase.cpp", + "../functional/Deqpgles2texture_fragmentTestCase.cpp", + "../functional/Deqpgles2texture_vertexTestCase.cpp", + "../functional/Deqpgles2trigonometric_fragmentTestCase.cpp", + "../functional/Deqpgles2trigonometric_vertexTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0010" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0010/Test.json b/graphic/vkgl/src/deqpgles2/build0010/Test.json new file mode 100644 index 000000000..1f6e76fee --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0010/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0010 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0010", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0010->/data/local/tmp/ActsDeqpgles2TestSuite0010", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0010/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0010/logdefine.cpp new file mode 100644 index 000000000..cbb2be20f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0010/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0010.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0011/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0011/BUILD.gn new file mode 100644 index 000000000..c80890ad4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0011/BUILD.gn @@ -0,0 +1,88 @@ +# 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("libdeqpgles2func0011") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0011") { + sources = [ + "../ActsDeqpgles20011TestSuite.cpp", + "../functional/Deqpgles22d_affineTestCase.cpp", + "../functional/Deqpgles22d_basicTestCase.cpp", + "../functional/Deqpgles22d_filteringTestCase.cpp", + "../functional/Deqpgles22d_generateTestCase.cpp", + "../functional/Deqpgles22d_projectedTestCase.cpp", + "../functional/Deqpgles22d_wrapTestCase.cpp", + "../functional/Deqpgles2all_features_fragmentTestCase.cpp", + "../functional/Deqpgles2all_features_vertexTestCase.cpp", + "../functional/Deqpgles2completeness_2dTestCase.cpp", + "../functional/Deqpgles2completeness_cubeTestCase.cpp", + "../functional/Deqpgles2cube_basicTestCase.cpp", + "../functional/Deqpgles2cube_biasTestCase.cpp", + "../functional/Deqpgles2cube_filteringTestCase.cpp", + "../functional/Deqpgles2cube_generateTestCase.cpp", + "../functional/Deqpgles2cube_projectedTestCase.cpp", + "../functional/Deqpgles2cube_wrapTestCase.cpp", + "../functional/Deqpgles2filtering_2dTestCase.cpp", + "../functional/Deqpgles2filtering_cubeTestCase.cpp", + "../functional/Deqpgles2size_2dTestCase.cpp", + "../functional/Deqpgles2size_cubeTestCase.cpp", + "../functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp", + "../functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp", + "../functional/Deqpgles2specification_basic_teximage2dTestCase.cpp", + "../functional/Deqpgles2specification_basic_texsubimage2dTestCase.cpp", + "../functional/Deqpgles2specification_random_teximage2dTestCase.cpp", + "../functional/Deqpgles2specification_teximage2d_alignTestCase.cpp", + "../functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp", + "../functional/Deqpgles2specification_texsubimage2d_empty_texTestCase.cpp", + "../functional/Deqpgles2texture_formatTestCase.cpp", + "../functional/Deqpgles2texture_wrapTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0011" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0011/Test.json b/graphic/vkgl/src/deqpgles2/build0011/Test.json new file mode 100644 index 000000000..d46ff327f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0011/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0011 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0011", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0011->/data/local/tmp/ActsDeqpgles2TestSuite0011", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0011/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0011/logdefine.cpp new file mode 100644 index 000000000..0a43b84ed --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0011/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0011.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0012/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0012/BUILD.gn new file mode 100644 index 000000000..03aab67dd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0012/BUILD.gn @@ -0,0 +1,66 @@ +# 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("libdeqpgles2func0012") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0012") { + sources = [ + "../ActsDeqpgles20012TestSuite.cpp", + "../functional/Deqpgles2blend_equation_src_func_dst_funcTestCase.cpp", + "../functional/Deqpgles2depth_stencil_randomTestCase.cpp", + "../functional/Deqpgles2depth_stencil_stencil_depth_funcsTestCase.cpp", + "../functional/Deqpgles2depth_stencil_write_maskTestCase.cpp", + "../functional/Deqpgles2fragment_ops_depthTestCase.cpp", + "../functional/Deqpgles2fragment_ops_scissorTestCase.cpp", + "../functional/Deqpgles2fragment_ops_stencilTestCase.cpp", + "../functional/Deqpgles2rgb_func_alpha_func_srcTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0012" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0012/Test.json b/graphic/vkgl/src/deqpgles2/build0012/Test.json new file mode 100644 index 000000000..00af42414 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0012/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0012 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0012", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0012->/data/local/tmp/ActsDeqpgles2TestSuite0012", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0012/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0012/logdefine.cpp new file mode 100644 index 000000000..f54cf32c5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0012/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0012.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0013/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0013/BUILD.gn new file mode 100644 index 000000000..b069a779b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0013/BUILD.gn @@ -0,0 +1,84 @@ +# 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("libdeqpgles2func0013") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0013") { + sources = [ + "../ActsDeqpgles20013TestSuite.cpp", + "../functional/Deqpgles2blend_rgb_equation_alpha_equationTestCase.cpp", + "../functional/Deqpgles2completeness_attachment_combinationsTestCase.cpp", + "../functional/Deqpgles2fbo_apiTestCase.cpp", + "../functional/Deqpgles2fragment_ops_randomTestCase.cpp", + "../functional/Deqpgles2interaction_basic_shaderTestCase.cpp", + "../functional/Deqpgles2render_colorTestCase.cpp", + "../functional/Deqpgles2render_color_clearTestCase.cpp", + "../functional/Deqpgles2render_depthTestCase.cpp", + "../functional/Deqpgles2render_recreate_colorbufferTestCase.cpp", + "../functional/Deqpgles2render_recreate_depthbufferTestCase.cpp", + "../functional/Deqpgles2render_recreate_stencilbufferTestCase.cpp", + "../functional/Deqpgles2render_repeated_clearTestCase.cpp", + "../functional/Deqpgles2render_resizeTestCase.cpp", + "../functional/Deqpgles2render_shared_colorbufferTestCase.cpp", + "../functional/Deqpgles2render_shared_colorbuffer_clearTestCase.cpp", + "../functional/Deqpgles2render_shared_depthbufferTestCase.cpp", + "../functional/Deqpgles2render_stencilTestCase.cpp", + "../functional/Deqpgles2render_stencil_clearTestCase.cpp", + "../functional/Deqpgles2render_texsubimageTestCase.cpp", + "../functional/Deqpgles2renderbuffer_color0TestCase.cpp", + "../functional/Deqpgles2renderbuffer_depthTestCase.cpp", + "../functional/Deqpgles2renderbuffer_stencilTestCase.cpp", + "../functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp", + "../functional/Deqpgles2texture_color0TestCase.cpp", + "../functional/Deqpgles2texture_depthTestCase.cpp", + "../functional/Deqpgles2texture_stencilTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0013" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0013/Test.json b/graphic/vkgl/src/deqpgles2/build0013/Test.json new file mode 100644 index 000000000..e495d67d6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0013/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0013 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0013", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0013->/data/local/tmp/ActsDeqpgles2TestSuite0013", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0013/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0013/logdefine.cpp new file mode 100644 index 000000000..93d84fcbe --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0013/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0013.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0014/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0014/BUILD.gn new file mode 100644 index 000000000..6e531cd7e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0014/BUILD.gn @@ -0,0 +1,93 @@ +# 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("libdeqpgles2func0014") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0014") { + sources = [ + "../ActsDeqpgles20014TestSuite.cpp", + "../functional/Deqpgles2attribute_location_bindTestCase.cpp", + "../functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp", + "../functional/Deqpgles2attribute_location_bind_holeTestCase.cpp", + "../functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp", + "../functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp", + "../functional/Deqpgles2attribute_location_bind_timeTestCase.cpp", + "../functional/Deqpgles2completeness_sizeTestCase.cpp", + "../functional/Deqpgles2functional_multisampleTestCase.cpp", + "../functional/Deqpgles2info_query_basicTestCase.cpp", + "../functional/Deqpgles2interpolation_basicTestCase.cpp", + "../functional/Deqpgles2interpolation_projectedTestCase.cpp", + "../functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp", + "../functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp", + "../functional/Deqpgles2multiple_attributes_storageTestCase.cpp", + "../functional/Deqpgles2multiple_attributes_strideTestCase.cpp", + "../functional/Deqpgles2negative_api_bufferTestCase.cpp", + "../functional/Deqpgles2negative_api_fragmentTestCase.cpp", + "../functional/Deqpgles2negative_api_shaderTestCase.cpp", + "../functional/Deqpgles2negative_api_stateTestCase.cpp", + "../functional/Deqpgles2negative_api_textureTestCase.cpp", + "../functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp", + "../functional/Deqpgles2rasterization_cullingTestCase.cpp", + "../functional/Deqpgles2rasterization_fill_rulesTestCase.cpp", + "../functional/Deqpgles2rasterization_limitsTestCase.cpp", + "../functional/Deqpgles2rasterization_primitivesTestCase.cpp", + "../functional/Deqpgles2shader_api_compile_linkTestCase.cpp", + "../functional/Deqpgles2shader_api_create_deleteTestCase.cpp", + "../functional/Deqpgles2shader_api_program_stateTestCase.cpp", + "../functional/Deqpgles2shader_api_shader_sourceTestCase.cpp", + "../functional/Deqpgles2single_attribute_firstTestCase.cpp", + "../functional/Deqpgles2single_attribute_normalizeTestCase.cpp", + "../functional/Deqpgles2single_attribute_offsetTestCase.cpp", + "../functional/Deqpgles2single_attribute_output_typesTestCase.cpp", + "../functional/Deqpgles2single_attribute_stridesTestCase.cpp", + "../functional/Deqpgles2single_attribute_usagesTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0014" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0014/Test.json b/graphic/vkgl/src/deqpgles2/build0014/Test.json new file mode 100644 index 000000000..093692536 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0014/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0014 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0014", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0014->/data/local/tmp/ActsDeqpgles2TestSuite0014", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0014/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0014/logdefine.cpp new file mode 100644 index 000000000..6fbe1c933 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0014/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0014.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0015/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0015/BUILD.gn new file mode 100644 index 000000000..e6e975dfe --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0015/BUILD.gn @@ -0,0 +1,86 @@ +# 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("libdeqpgles2func0015") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0015") { + sources = [ + "../ActsDeqpgles20015TestSuite.cpp", + "../functional/Deqpgles2get_uniform_array_in_structTestCase.cpp", + "../functional/Deqpgles2get_uniform_basicTestCase.cpp", + "../functional/Deqpgles2get_uniform_basic_arrayTestCase.cpp", + "../functional/Deqpgles2get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp", + "../functional/Deqpgles2get_uniform_basic_structTestCase.cpp", + "../functional/Deqpgles2get_uniform_multiple_basicTestCase.cpp", + "../functional/Deqpgles2get_uniform_multiple_basic_arrayTestCase.cpp", + "../functional/Deqpgles2get_uniform_multiple_nested_structs_arraysTestCase.cpp", + "../functional/Deqpgles2get_uniform_nested_structs_arraysTestCase.cpp", + "../functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp", + "../functional/Deqpgles2info_query_array_in_structTestCase.cpp", + "../functional/Deqpgles2info_query_basic_arrayTestCase.cpp", + "../functional/Deqpgles2info_query_basic_structTestCase.cpp", + "../functional/Deqpgles2info_query_multiple_basicTestCase.cpp", + "../functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp", + "../functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp", + "../functional/Deqpgles2info_query_nested_structs_arraysTestCase.cpp", + "../functional/Deqpgles2info_query_struct_in_arrayTestCase.cpp", + "../functional/Deqpgles2info_query_unused_uniformsTestCase.cpp", + "../functional/Deqpgles2render_array_in_structTestCase.cpp", + "../functional/Deqpgles2render_basicTestCase.cpp", + "../functional/Deqpgles2render_basic_arrayTestCase.cpp", + "../functional/Deqpgles2render_basic_structTestCase.cpp", + "../functional/Deqpgles2render_multiple_basicTestCase.cpp", + "../functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp", + "../functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp", + "../functional/Deqpgles2render_nested_structs_arraysTestCase.cpp", + "../functional/Deqpgles2render_struct_in_arrayTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0015" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0015/Test.json b/graphic/vkgl/src/deqpgles2/build0015/Test.json new file mode 100644 index 000000000..d82e21ee0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0015/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0015 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0015", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0015->/data/local/tmp/ActsDeqpgles2TestSuite0015", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0015/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0015/logdefine.cpp new file mode 100644 index 000000000..d342fb094 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0015/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0015.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0016/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0016/BUILD.gn new file mode 100644 index 000000000..8169c44bd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0016/BUILD.gn @@ -0,0 +1,86 @@ +# 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("libdeqpgles2func0016") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0016") { + sources = [ + "../ActsDeqpgles20016TestSuite.cpp", + "../functional/Deqpgles2assigned_unused_uniformsTestCase.cpp", + "../functional/Deqpgles2basic_array_assign_full_array_in_structTestCase.cpp", + "../functional/Deqpgles2basic_array_assign_full_basic_arrayTestCase.cpp", + "../functional/Deqpgles2basic_array_assign_full_multiple_basic_arrayTestCase.cpp", + "../functional/Deqpgles2basic_array_assign_partial_array_in_structTestCase.cpp", + "../functional/Deqpgles2basic_array_assign_partial_basic_arrayTestCase.cpp", + "../functional/Deqpgles2basic_array_assign_partial_multiple_basic_arrayTestCase.cpp", + "../functional/Deqpgles2clipping_lineTestCase.cpp", + "../functional/Deqpgles2clipping_pointTestCase.cpp", + "../functional/Deqpgles2clipping_polygonTestCase.cpp", + "../functional/Deqpgles2clipping_polygon_edgeTestCase.cpp", + "../functional/Deqpgles2depth_range_compareTestCase.cpp", + "../functional/Deqpgles2depth_range_writeTestCase.cpp", + "../functional/Deqpgles2dither_disabledTestCase.cpp", + "../functional/Deqpgles2dither_enabledTestCase.cpp", + "../functional/Deqpgles2functional_read_pixelsTestCase.cpp", + "../functional/Deqpgles2state_query_booleanTestCase.cpp", + "../functional/Deqpgles2state_query_buffer_objectTestCase.cpp", + "../functional/Deqpgles2state_query_fboTestCase.cpp", + "../functional/Deqpgles2state_query_floatsTestCase.cpp", + "../functional/Deqpgles2state_query_integersTestCase.cpp", + "../functional/Deqpgles2state_query_rboTestCase.cpp", + "../functional/Deqpgles2state_query_shaderTestCase.cpp", + "../functional/Deqpgles2state_query_stringTestCase.cpp", + "../functional/Deqpgles2state_query_textureTestCase.cpp", + "../functional/Deqpgles2triangle_vertex_clip_oneTestCase.cpp", + "../functional/Deqpgles2triangle_vertex_clip_twoTestCase.cpp", + "../functional/Deqpgles2uniform_api_randomTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0016" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0016/Test.json b/graphic/vkgl/src/deqpgles2/build0016/Test.json new file mode 100644 index 000000000..353602a0a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0016/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0016 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0016", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0016->/data/local/tmp/ActsDeqpgles2TestSuite0016", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0016/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0016/logdefine.cpp new file mode 100644 index 000000000..4bc1084ed --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0016/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0016.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0017/BUILD.gn b/graphic/vkgl/src/deqpgles2/build0017/BUILD.gn new file mode 100644 index 000000000..aa2a38335 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0017/BUILD.gn @@ -0,0 +1,97 @@ +# 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("libdeqpgles2func0017") { + sources = common_src + sources += [ "../Deqpgles2BaseFunc.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("ActsDeqpgles2TestSuite0017") { + sources = [ + "../ActsDeqpgles20017TestSuite.cpp", + "../functional/Deqpgles2attach_deleted_inputTestCase.cpp", + "../functional/Deqpgles2attach_deleted_nameTestCase.cpp", + "../functional/Deqpgles2attach_deleted_outputTestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_mat2TestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_mat3TestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_vec2TestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_vec3TestCase.cpp", + "../functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp", + "../functional/Deqpgles2draw_arrays_firstTestCase.cpp", + "../functional/Deqpgles2draw_arrays_line_loopTestCase.cpp", + "../functional/Deqpgles2draw_arrays_line_stripTestCase.cpp", + "../functional/Deqpgles2draw_arrays_linesTestCase.cpp", + "../functional/Deqpgles2draw_arrays_pointsTestCase.cpp", + "../functional/Deqpgles2draw_arrays_triangle_fanTestCase.cpp", + "../functional/Deqpgles2draw_arrays_triangle_stripTestCase.cpp", + "../functional/Deqpgles2draw_arrays_trianglesTestCase.cpp", + "../functional/Deqpgles2draw_elements_line_loopTestCase.cpp", + "../functional/Deqpgles2draw_elements_line_stripTestCase.cpp", + "../functional/Deqpgles2draw_elements_linesTestCase.cpp", + "../functional/Deqpgles2draw_elements_pointsTestCase.cpp", + "../functional/Deqpgles2draw_elements_triangle_fanTestCase.cpp", + "../functional/Deqpgles2draw_elements_triangle_stripTestCase.cpp", + "../functional/Deqpgles2draw_elements_trianglesTestCase.cpp", + "../functional/Deqpgles2draw_randomTestCase.cpp", + "../functional/Deqpgles2functional_debug_markerTestCase.cpp", + "../functional/Deqpgles2functional_flush_finishTestCase.cpp", + "../functional/Deqpgles2functional_polygon_offsetTestCase.cpp", + "../functional/Deqpgles2indices_bufferTestCase.cpp", + "../functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp", + "../functional/Deqpgles2indices_user_ptrTestCase.cpp", + "../functional/Deqpgles2lifetime_bindTestCase.cpp", + "../functional/Deqpgles2lifetime_bind_no_genTestCase.cpp", + "../functional/Deqpgles2lifetime_deleteTestCase.cpp", + "../functional/Deqpgles2lifetime_delete_boundTestCase.cpp", + "../functional/Deqpgles2lifetime_delete_usedTestCase.cpp", + "../functional/Deqpgles2lifetime_genTestCase.cpp", + "../functional/Deqpgles2triangle_vertex_clip_threeTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libdeqpgles2func0017" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/deqpgles2/build0017/Test.json b/graphic/vkgl/src/deqpgles2/build0017/Test.json new file mode 100644 index 000000000..5835dde7a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0017/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsDeqpgles2TestSuite0017 test cases", + "driver": { + "module-name": "ActsDeqpgles2TestSuite0017", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsDeqpgles2TestSuite0017->/data/local/tmp/ActsDeqpgles2TestSuite0017", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/build0017/logdefine.cpp b/graphic/vkgl/src/deqpgles2/build0017/logdefine.cpp new file mode 100644 index 000000000..65bbcfcb6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/build0017/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsDeqpgles2TestSuite0017.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_affineTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_affineTestCase.cpp new file mode 100644 index 000000000..fe9773759 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_affineTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010611, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010612, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010613, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010614, + "dEQP-GLES2.functional.texture.mip", + "map.2d.affine.linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010615, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010616, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010617, + "dEQP-GLES2.functional.texture.mip", + "map.2d.affine.nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010618, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010619, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.affine.nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010620, + "dEQP-GLES2.functional.texture.mip", + "map.2d.affine.linear_linear_repeat"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_basicTestCase.cpp new file mode 100644 index 000000000..96c100be2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_basicTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010603, + "dEQP-GLES2.functional.texture.mip", + "map.2d.basic.nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010604, + "dEQP-GLES2.functional.texture.mipmap.2", + "d.basic.nearest_linear_clamp_non_square"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010605, + "dEQP-GLES2.functional.texture.mip", + "map.2d.basic.nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010606, + "dEQP-GLES2.functional.texture.mipmap.2d", + ".basic.nearest_linear_repeat_non_square"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010607, + "dEQP-GLES2.functional.texture.mip", + "map.2d.basic.nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010608, + "dEQP-GLES2.functional.texture.mipmap.2d", + ".basic.nearest_linear_mirror_non_square"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010609, + "dEQP-GLES2.functional.texture.mip", + "map.2d.basic.linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010610, + "dEQP-GLES2.functional.texture.mipmap.2", + "d.basic.linear_linear_repeat_non_square"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_filteringTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_filteringTestCase.cpp new file mode 100644 index 000000000..aab19bdcc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_filteringTestCase.cpp @@ -0,0 +1,168 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010911, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010912, + "dEQP-GLES2.functional.texture.vertex", + ".2d.filtering.nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010913, + "dEQP-GLES2.functional.texture.vertex", + ".2d.filtering.nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010914, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010915, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010916, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010917, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010918, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010919, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010920, + "dEQP-GLES2.functional.texture.vert", + "ex.2d.filtering.linear_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010921, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010922, + "dEQP-GLES2.functional.texture.verte", + "x.2d.filtering.linear_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010923, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010924, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010925, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010926, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.nearest_mipmap_nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010927, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010928, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010929, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010930, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.linear_mipmap_nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010931, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.linear_mipmap_nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010932, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010933, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010934, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010935, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.nearest_mipmap_linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010936, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010937, + "dEQP-GLES2.functional.texture.vertex.2d.fil", + "tering.nearest_mipmap_linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010938, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.nearest_mipmap_linear_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010939, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.nearest_mipmap_linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010940, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.nearest_mipmap_linear_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010941, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010942, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010943, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010944, + "dEQP-GLES2.functional.texture.vertex.2d.f", + "iltering.linear_mipmap_linear_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010945, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010946, + "dEQP-GLES2.functional.texture.vertex.2d.fi", + "ltering.linear_mipmap_linear_linear_mirror"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_generateTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_generateTestCase.cpp new file mode 100644 index 000000000..3eb8fe184 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_generateTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010625, + "dEQP-GLES2.functional.texture", + ".mipmap.2d.generate.a8_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010626, + "dEQP-GLES2.functional.texture", + ".mipmap.2d.generate.a8_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010627, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.generate.a8_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010628, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.generate.a8_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010629, + "dEQP-GLES2.functional.texture", + ".mipmap.2d.generate.l8_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010630, + "dEQP-GLES2.functional.texture", + ".mipmap.2d.generate.l8_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010631, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.generate.l8_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010632, + "dEQP-GLES2.functional.texture.mipm", + "ap.2d.generate.l8_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010633, + "dEQP-GLES2.functional.texture.", + "mipmap.2d.generate.la88_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010634, + "dEQP-GLES2.functional.texture.", + "mipmap.2d.generate.la88_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010635, + "dEQP-GLES2.functional.texture.mipmap", + ".2d.generate.la88_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010636, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.generate.la88_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010637, + "dEQP-GLES2.functional.texture.m", + "ipmap.2d.generate.rgb565_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010638, + "dEQP-GLES2.functional.texture.m", + "ipmap.2d.generate.rgb565_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010639, + "dEQP-GLES2.functional.texture.mipmap.", + "2d.generate.rgb565_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010640, + "dEQP-GLES2.functional.texture.mipmap", + ".2d.generate.rgb565_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010641, + "dEQP-GLES2.functional.texture.m", + "ipmap.2d.generate.rgb888_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010642, + "dEQP-GLES2.functional.texture.m", + "ipmap.2d.generate.rgb888_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010643, + "dEQP-GLES2.functional.texture.mipmap.", + "2d.generate.rgb888_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010644, + "dEQP-GLES2.functional.texture.mipmap", + ".2d.generate.rgb888_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010645, + "dEQP-GLES2.functional.texture.mi", + "pmap.2d.generate.rgba4444_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010646, + "dEQP-GLES2.functional.texture.mi", + "pmap.2d.generate.rgba4444_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010647, + "dEQP-GLES2.functional.texture.mipmap.2", + "d.generate.rgba4444_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010648, + "dEQP-GLES2.functional.texture.mipmap.", + "2d.generate.rgba4444_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010649, + "dEQP-GLES2.functional.texture.mi", + "pmap.2d.generate.rgba5551_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010650, + "dEQP-GLES2.functional.texture.mi", + "pmap.2d.generate.rgba5551_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010651, + "dEQP-GLES2.functional.texture.mipmap.2", + "d.generate.rgba5551_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010652, + "dEQP-GLES2.functional.texture.mipmap.", + "2d.generate.rgba5551_non_square_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010653, + "dEQP-GLES2.functional.texture.mi", + "pmap.2d.generate.rgba8888_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010654, + "dEQP-GLES2.functional.texture.mi", + "pmap.2d.generate.rgba8888_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010655, + "dEQP-GLES2.functional.texture.mipmap.2", + "d.generate.rgba8888_non_square_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010656, + "dEQP-GLES2.functional.texture.mipmap.", + "2d.generate.rgba8888_non_square_nicest"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_projectedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_projectedTestCase.cpp new file mode 100644 index 000000000..492b4435b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_projectedTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010621, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.projected.nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010622, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.projected.nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010623, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.projected.nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010624, + "dEQP-GLES2.functional.texture.mipma", + "p.2d.projected.linear_linear_repeat"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_wrapTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_wrapTestCase.cpp new file mode 100644 index 000000000..80a107474 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles22d_wrapTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010947, + "dEQP-GLES2.functional.textur", + "e.vertex.2d.wrap.clamp_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010948, + "dEQP-GLES2.functional.textur", + "e.vertex.2d.wrap.clamp_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010949, + "dEQP-GLES2.functional.textur", + "e.vertex.2d.wrap.clamp_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010950, + "dEQP-GLES2.functional.textur", + "e.vertex.2d.wrap.repeat_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010951, + "dEQP-GLES2.functional.texture", + ".vertex.2d.wrap.repeat_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010952, + "dEQP-GLES2.functional.texture", + ".vertex.2d.wrap.repeat_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010953, + "dEQP-GLES2.functional.textur", + "e.vertex.2d.wrap.mirror_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010954, + "dEQP-GLES2.functional.texture", + ".vertex.2d.wrap.mirror_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010955, + "dEQP-GLES2.functional.texture", + ".vertex.2d.wrap.mirror_mirror"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_fragmentTestCase.cpp new file mode 100644 index 000000000..814272a82 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_fragmentTestCase.cpp @@ -0,0 +1,416 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010132, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010133, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010134, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010135, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010136, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010137, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010138, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010139, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010140, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010141, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010142, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010143, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010144, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010145, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010146, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010147, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010148, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010149, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010150, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010151, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010152, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010153, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010154, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010155, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010156, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010157, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010158, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010159, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010160, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010161, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010162, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010163, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010164, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010165, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010166, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010167, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010168, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010169, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010170, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010171, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010172, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010173, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010174, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010175, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010176, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010177, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010178, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010179, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010180, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010181, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010182, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010183, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010184, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010185, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010186, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010187, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010188, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010189, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010190, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010191, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010192, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010193, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010194, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010195, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010196, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010197, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010198, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010199, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010200, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010201, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010202, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010203, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010204, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010205, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010206, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010207, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010208, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010209, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010210, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010211, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010212, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010213, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010214, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010215, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010216, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010217, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010218, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010219, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010220, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010221, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010222, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010223, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010224, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010225, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010226, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010227, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010228, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010229, + "dEQP-GLES2.functional.shaders.", + "random.all_features.fragment.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_vertexTestCase.cpp new file mode 100644 index 000000000..1dd7bc14d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2all_features_vertexTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010032, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010033, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010034, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010035, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010036, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010037, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010038, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010039, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010040, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010041, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010042, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010043, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010044, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010045, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010046, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010047, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010048, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010049, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010050, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010051, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010052, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010053, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010054, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010055, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010056, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010057, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010058, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010059, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010060, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010061, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010062, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010063, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010064, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010065, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010066, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010067, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010068, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010069, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010070, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010071, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010072, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010073, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010074, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010075, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010076, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010077, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010078, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010079, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010080, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010081, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010082, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010083, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010084, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010085, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010086, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010087, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010088, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010089, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010090, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010091, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010092, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010093, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010094, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010095, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010096, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010097, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010098, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010099, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010100, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010101, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010102, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010103, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010104, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010105, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010106, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010107, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010108, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010109, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010110, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010111, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010112, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010113, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010114, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010115, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010116, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010117, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010118, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010119, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010120, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010121, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010122, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010123, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010124, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010125, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010126, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010127, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010128, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010129, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010130, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010131, + "dEQP-GLES2.functional.shaders", + ".random.all_features.vertex.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_acosTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_acosTestCase.cpp new file mode 100644 index 000000000..db91eb12a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_acosTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005852, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005853, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.acos.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005854, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.acos.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005855, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005856, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005857, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.acos.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005858, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.acos.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005859, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005860, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005861, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.acos.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005862, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.acos.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005863, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005864, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005865, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.acos.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005866, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.acos.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005867, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.acos.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_asinTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_asinTestCase.cpp new file mode 100644 index 000000000..c3e7622c2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_asinTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005836, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005837, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.asin.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005838, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.asin.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005839, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005840, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005841, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.asin.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005842, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.asin.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005843, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005844, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005845, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.asin.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005846, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.asin.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005847, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005848, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005849, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.asin.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005850, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.asin.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005851, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.asin.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atan2TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atan2TestCase.cpp new file mode 100644 index 000000000..f450e8d3a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atan2TestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005884, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan2.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005885, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.atan2.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005886, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005887, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan2.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005888, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005889, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan2.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005890, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan2.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005891, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005892, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005893, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan2.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005894, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan2.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005895, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005896, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005897, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan2.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005898, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan2.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005899, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan2.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atanTestCase.cpp new file mode 100644 index 000000000..1a7e5d105 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_atanTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005868, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005869, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005870, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005871, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005872, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005873, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005874, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005875, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005876, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005877, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005878, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005879, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005880, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005881, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.atan.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005882, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.atan.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005883, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.atan.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_cosTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_cosTestCase.cpp new file mode 100644 index 000000000..b3feeb83b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_cosTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005788, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.cos.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005789, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.cos.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005790, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005791, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.cos.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005792, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005793, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.cos.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005794, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005795, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005796, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005797, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.cos.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005798, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005799, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005800, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005801, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.cos.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005802, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005803, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005804, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005805, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005806, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005807, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005808, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005809, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005810, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.cos.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005811, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.cos.lowp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_degreesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_degreesTestCase.cpp new file mode 100644 index 000000000..44032c580 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_degreesTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005748, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.degrees.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005749, + "dEQP-GLES2.functional.shaders.operator.angle_a", + "nd_trigonometry.degrees.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005750, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005751, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.degrees.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005752, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005753, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.degrees.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005754, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.degrees.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005755, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005756, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005757, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.degrees.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005758, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.degrees.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005759, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005760, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005761, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.degrees.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005762, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.degrees.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005763, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.degrees.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_radiansTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_radiansTestCase.cpp new file mode 100644 index 000000000..987031183 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_radiansTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005732, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.radians.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005733, + "dEQP-GLES2.functional.shaders.operator.angle_a", + "nd_trigonometry.radians.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005734, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005735, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.radians.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005736, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005737, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.radians.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005738, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.radians.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005739, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005740, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005741, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.radians.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005742, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.radians.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005743, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005744, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005745, + "dEQP-GLES2.functional.shaders.operator.angle_", + "and_trigonometry.radians.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005746, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.radians.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005747, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.radians.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_sinTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_sinTestCase.cpp new file mode 100644 index 000000000..6e90e9295 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_sinTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005764, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.sin.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005765, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.sin.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005766, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005767, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.sin.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005768, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005769, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.sin.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005770, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005771, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005772, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005773, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.sin.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005774, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005775, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005776, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005777, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.sin.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005778, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005779, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005780, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005781, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005782, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005783, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005784, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005785, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005786, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.sin.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005787, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.sin.lowp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_tanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_tanTestCase.cpp new file mode 100644 index 000000000..a7032a5cc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2angle_and_trigonometry_tanTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005812, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.tan.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005813, + "dEQP-GLES2.functional.shaders.operator.angle", + "_and_trigonometry.tan.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005814, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005815, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.tan.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005816, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005817, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.tan.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005818, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005819, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005820, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005821, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.tan.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005822, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005823, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005824, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005825, + "dEQP-GLES2.functional.shaders.operator.angl", + "e_and_trigonometry.tan.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005826, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005827, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005828, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005829, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005830, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005831, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005832, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005833, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005834, + "dEQP-GLES2.functional.shaders.operator.an", + "gle_and_trigonometry.tan.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005835, + "dEQP-GLES2.functional.shaders.operator.ang", + "le_and_trigonometry.tan.lowp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2assigned_unused_uniformsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2assigned_unused_uniformsTestCase.cpp new file mode 100644 index 000000000..512e57f63 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2assigned_unused_uniformsTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015134, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.unused_uniforms.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015135, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.unused_uniforms.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015136, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.unused_uniforms.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015137, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.unused_uniforms.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015138, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.unused_uniforms.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015139, + "dEQP-GLES2.functional.uniform_api.value", + ".assigned.unused_uniforms.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015140, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.unused_uniforms.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015141, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.unused_uniforms.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015142, + "dEQP-GLES2.functional.uniform_api.value", + ".assigned.unused_uniforms.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015143, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.unused_uniforms.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015144, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.unused_uniforms.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015145, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.unused_uniforms.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015146, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.unused_uniforms.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015147, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.unused_uniforms.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015148, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.unused_uniforms.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_inputTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_inputTestCase.cpp new file mode 100644 index 000000000..18a7c8a60 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_inputTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016485, + "dEQP-GLES2.functional.lifetime.atta", + "ch.deleted_input.texture_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016486, + "dEQP-GLES2.functional.lifetime.attach.", + "deleted_input.renderbuffer_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016487, + "dEQP-GLES2.functional.lifetime.at", + "tach.deleted_input.shader_program"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_nameTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_nameTestCase.cpp new file mode 100644 index 000000000..c84c7e40e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_nameTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016482, + "dEQP-GLES2.functional.lifetime.atta", + "ch.deleted_name.texture_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016483, + "dEQP-GLES2.functional.lifetime.attach", + ".deleted_name.renderbuffer_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016484, + "dEQP-GLES2.functional.lifetime.a", + "ttach.deleted_name.shader_program"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_outputTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_outputTestCase.cpp new file mode 100644 index 000000000..ddfafd1b9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attach_deleted_outputTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016488, + "dEQP-GLES2.functional.lifetime.attac", + "h.deleted_output.texture_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016489, + "dEQP-GLES2.functional.lifetime.attach.", + "deleted_output.renderbuffer_framebuffer"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bindTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bindTestCase.cpp new file mode 100644 index 000000000..92df63074 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bindTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013926, + "dEQP-GLES2.functional.att", + "ribute_location.bind.float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013927, + "dEQP-GLES2.functional.att", + "ribute_location.bind.vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013928, + "dEQP-GLES2.functional.att", + "ribute_location.bind.vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013929, + "dEQP-GLES2.functional.att", + "ribute_location.bind.vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013930, + "dEQP-GLES2.functional.att", + "ribute_location.bind.mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013931, + "dEQP-GLES2.functional.att", + "ribute_location.bind.mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013932, + "dEQP-GLES2.functional.att", + "ribute_location.bind.mat4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp new file mode 100644 index 000000000..f6c45537d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp @@ -0,0 +1,92 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013940, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013941, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013942, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013943, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013944, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013945, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013946, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013947, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013948, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013949, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.cond_mat2_offset_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013950, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013951, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013952, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.cond_mat3_offset_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013953, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013954, + "dEQP-GLES2.functional.attribute_", + "location.bind_aliasing.cond_mat4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013955, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.cond_mat4_offset_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013956, + "dEQP-GLES2.functional.attribute_loca", + "tion.bind_aliasing.max_inactive_mat4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_holeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_holeTestCase.cpp new file mode 100644 index 000000000..79b757fbf --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_holeTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013957, + "dEQP-GLES2.functional.attrib", + "ute_location.bind_hole.float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013958, + "dEQP-GLES2.functional.attri", + "bute_location.bind_hole.vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013959, + "dEQP-GLES2.functional.attri", + "bute_location.bind_hole.vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013960, + "dEQP-GLES2.functional.attri", + "bute_location.bind_hole.vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013961, + "dEQP-GLES2.functional.attri", + "bute_location.bind_hole.mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013962, + "dEQP-GLES2.functional.attri", + "bute_location.bind_hole.mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013963, + "dEQP-GLES2.functional.attri", + "bute_location.bind_hole.mat4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp new file mode 100644 index 000000000..feb4cfe31 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013933, + "dEQP-GLES2.functional.attribute_l", + "ocation.bind_max_attributes.float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013934, + "dEQP-GLES2.functional.attribute_", + "location.bind_max_attributes.vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013935, + "dEQP-GLES2.functional.attribute_", + "location.bind_max_attributes.vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013936, + "dEQP-GLES2.functional.attribute_", + "location.bind_max_attributes.vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013937, + "dEQP-GLES2.functional.attribute_", + "location.bind_max_attributes.mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013938, + "dEQP-GLES2.functional.attribute_", + "location.bind_max_attributes.mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013939, + "dEQP-GLES2.functional.attribute_", + "location.bind_max_attributes.mat4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp new file mode 100644 index 000000000..6f1185dd8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013969, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013970, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013971, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013972, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013973, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013974, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013975, + "dEQP-GLES2.functional.attribute", + "_location.bind_relink_hole.mat4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_timeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_timeTestCase.cpp new file mode 100644 index 000000000..0c9d3b00c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2attribute_location_bind_timeTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013964, + "dEQP-GLES2.functional.attribut", + "e_location.bind_time.pre_attach"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013965, + "dEQP-GLES2.functional.attribu", + "te_location.bind_time.pre_link"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013966, + "dEQP-GLES2.functional.attribut", + "e_location.bind_time.post_link"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013967, + "dEQP-GLES2.functional.attrib", + "ute_location.bind_time.relink"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013968, + "dEQP-GLES2.functional.attribu", + "te_location.bind_time.reattach"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_array_in_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_array_in_structTestCase.cpp new file mode 100644 index 000000000..d7beb8e3f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_array_in_structTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015074, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_full.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015075, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic", + "_array_assign_full.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015076, + "dEQP-GLES2.functional.uniform_api.value.assigned.bas", + "ic_array_assign_full.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015077, + "dEQP-GLES2.functional.uniform_api.value.assigned.bas", + "ic_array_assign_full.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015078, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_full.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015079, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_full.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015080, + "dEQP-GLES2.functional.uniform_api.value.assigned.bas", + "ic_array_assign_full.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015081, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_full.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015082, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_full.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015083, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_full.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015084, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic", + "_array_assign_full.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015085, + "dEQP-GLES2.functional.uniform_api.value.assigned.bas", + "ic_array_assign_full.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015086, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_arr", + "ay_assign_full.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015087, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_arra", + "y_assign_full.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015088, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_ar", + "ray_assign_full.array_in_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_basic_arrayTestCase.cpp new file mode 100644 index 000000000..004192381 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_basic_arrayTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015050, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015051, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015052, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015053, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015054, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015055, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015056, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015057, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015058, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015059, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015060, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015061, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.basic_array_assign_full.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015062, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015063, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015064, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015065, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015066, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015067, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015068, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_full.basic_array.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015069, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015070, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.basic_array_assign_full.basic_array.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015071, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_full.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015072, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_full.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015073, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.basic_array.sampler2D_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_multiple_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_multiple_basic_arrayTestCase.cpp new file mode 100644 index 000000000..3d0102154 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_full_multiple_basic_arrayTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015089, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_full.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015090, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_full.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015091, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_full.multiple_basic_array.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_array_in_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_array_in_structTestCase.cpp new file mode 100644 index 000000000..9c1bc660d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_array_in_structTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015116, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic", + "_array_assign_partial.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015117, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_", + "array_assign_partial.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015118, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_partial.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015119, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic", + "_array_assign_partial.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015120, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_", + "array_assign_partial.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015121, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_partial.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015122, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic", + "_array_assign_partial.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015123, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_", + "array_assign_partial.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015124, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_partial.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015125, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic", + "_array_assign_partial.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015126, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_", + "array_assign_partial.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015127, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_partial.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015128, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_array", + "_assign_partial.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015129, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_array_", + "assign_partial.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015130, + "dEQP-GLES2.functional.uniform_api.value.assigned.basic_arra", + "y_assign_partial.array_in_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_basic_arrayTestCase.cpp new file mode 100644 index 000000000..456a5f020 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_basic_arrayTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015092, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015093, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_partial.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015094, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015095, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015096, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015097, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_partial.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015098, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015099, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015100, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_partial.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015101, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015102, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015103, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_partial.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015104, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015105, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_partial.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015106, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015107, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015108, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015109, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".basic_array_assign_partial.basic_array.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015110, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.basic_array.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015111, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_partial.basic_array.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015112, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "basic_array_assign_partial.basic_array.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015113, + "dEQP-GLES2.functional.uniform_api.value.assigned.bas", + "ic_array_assign_partial.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015114, + "dEQP-GLES2.functional.uniform_api.value.assigned.basi", + "c_array_assign_partial.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015115, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_partial.basic_array.sampler2D_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_multiple_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_multiple_basic_arrayTestCase.cpp new file mode 100644 index 000000000..187ada4fa --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_array_assign_partial_multiple_basic_arrayTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015131, + "dEQP-GLES2.functional.uniform_api.value.assigned.ba", + "sic_array_assign_partial.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015132, + "dEQP-GLES2.functional.uniform_api.value.assigned.bas", + "ic_array_assign_partial.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015133, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "asic_array_assign_partial.multiple_basic_array.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_combinedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_combinedTestCase.cpp new file mode 100644 index 000000000..fbf7ba527 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_combinedTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008532, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008533, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008534, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008535, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008536, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008537, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008538, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008539, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008540, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008541, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008542, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008543, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008544, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008545, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008546, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008547, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008548, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008549, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008550, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008551, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008552, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008553, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008554, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008555, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008556, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008557, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008558, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008559, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008560, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008561, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008562, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008563, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008564, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008565, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008566, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008567, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008568, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008569, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008570, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008571, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008572, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008573, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008574, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008575, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008576, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008577, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008578, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008579, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008580, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008581, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008582, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008583, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008584, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008585, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008586, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008587, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008588, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008589, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008590, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008591, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008592, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008593, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008594, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008595, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008596, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008597, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008598, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008599, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008600, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008601, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008602, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008603, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008604, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008605, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008606, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008607, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008608, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008609, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008610, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008611, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008612, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008613, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008614, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008615, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008616, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008617, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008618, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008619, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008620, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008621, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008622, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008623, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008624, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008625, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008626, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008627, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008628, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008629, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008630, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008631, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.combined.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_fragmentTestCase.cpp new file mode 100644 index 000000000..68ba55f1d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_fragmentTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008432, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008433, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008434, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008435, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008436, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008437, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008438, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008439, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008440, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008441, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008442, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008443, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008444, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008445, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008446, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008447, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008448, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008449, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008450, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008451, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008452, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008453, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008454, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008455, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008456, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008457, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008458, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008459, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008460, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008461, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008462, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008463, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008464, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008465, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008466, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008467, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008468, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008469, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008470, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008471, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008472, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008473, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008474, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008475, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008476, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008477, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008478, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008479, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008480, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008481, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008482, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008483, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008484, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008485, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008486, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008487, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008488, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008489, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008490, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008491, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008492, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008493, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008494, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008495, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008496, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008497, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008498, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008499, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008500, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008501, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008502, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008503, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008504, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008505, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008506, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008507, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008508, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008509, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008510, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008511, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008512, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008513, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008514, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008515, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008516, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008517, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008518, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008519, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008520, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008521, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008522, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008523, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008524, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008525, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008526, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008527, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008528, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008529, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008530, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008531, + "dEQP-GLES2.functional.shaders.ra", + "ndom.basic_expression.fragment.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_vertexTestCase.cpp new file mode 100644 index 000000000..9d6d88725 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2basic_expression_vertexTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008332, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008333, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008334, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008335, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008336, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008337, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008338, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008339, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008340, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008341, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008342, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008343, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008344, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008345, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008346, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008347, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008348, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008349, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008350, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008351, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008352, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008353, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008354, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008355, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008356, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008357, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008358, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008359, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008360, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008361, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008362, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008363, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008364, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008365, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008366, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008367, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008368, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008369, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008370, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008371, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008372, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008373, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008374, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008375, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008376, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008377, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008378, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008379, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008380, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008381, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008382, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008383, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008384, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008385, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008386, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008387, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008388, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008389, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008390, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008391, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008392, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008393, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008394, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008395, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008396, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008397, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008398, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008399, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008400, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008401, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008402, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008403, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008404, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008405, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008406, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008407, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008408, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008409, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008410, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008411, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008412, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008413, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008414, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008415, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008416, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008417, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008418, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008419, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008420, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008421, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008422, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008423, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008424, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008425, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008426, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008427, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008428, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008429, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008430, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008431, + "dEQP-GLES2.functional.shaders.r", + "andom.basic_expression.vertex.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp new file mode 100644 index 000000000..270213340 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_addTestCase.cpp @@ -0,0 +1,504 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004414, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004415, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004416, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004417, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004418, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004419, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004420, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.add.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004421, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004422, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004423, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004424, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004425, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004426, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.add.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004427, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004428, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004429, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004430, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004431, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004432, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.add.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004433, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004434, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004435, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004436, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004437, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004438, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.add.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004439, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004440, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004441, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004442, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.add.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004443, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004444, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004445, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004446, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004447, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004448, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004449, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004450, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004451, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004452, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004453, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004454, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004455, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004456, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004457, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004458, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004459, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004460, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.add.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004461, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.add.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004462, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004463, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004464, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004465, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.add.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004466, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004467, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004468, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004469, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004470, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004471, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.add.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004472, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004473, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004474, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004475, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004476, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004477, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.add.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004478, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004479, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004480, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004481, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004482, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004483, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004484, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004485, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004486, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004487, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004488, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004489, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004490, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004491, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004492, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004493, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004494, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004495, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004496, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004497, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004498, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004499, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004500, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004501, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.add.mediump_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004502, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004503, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.highp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004504, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004505, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004506, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004507, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.add.mediump_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004508, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004509, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.highp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004510, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004511, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004512, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004513, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.add.mediump_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004514, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004515, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.highp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004516, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004517, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004518, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.mediump_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004519, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004520, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.highp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004521, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004522, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004523, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004524, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.mediump_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004525, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004526, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.highp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004527, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004528, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.lowp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004529, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.lowp_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004530, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.mediump_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004531, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.add.mediump_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004532, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.add.highp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004533, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.add.highp_int_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_effectTestCase.cpp new file mode 100644 index 000000000..f288f5ecd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_effectTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004894, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004895, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004896, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004897, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004898, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004899, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004900, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004901, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004902, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004903, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004904, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004905, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004906, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004907, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004908, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004909, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004910, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004911, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004912, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004913, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004914, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004915, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004916, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004917, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004918, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004919, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004920, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004921, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004922, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004923, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004924, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004925, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004926, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004927, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004928, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004929, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004930, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004931, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004932, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004933, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004934, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004935, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004936, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004937, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004938, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004939, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004940, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004941, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_effect.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004942, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004943, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004944, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004945, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.add_assign_effect.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004946, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004947, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004948, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004949, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004950, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004951, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.add_assign_effect.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004952, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004953, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004954, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004955, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004956, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004957, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.add_assign_effect.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004958, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004959, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004960, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004961, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004962, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004963, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004964, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004965, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004966, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004967, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004968, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004969, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004970, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004971, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004972, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004973, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004974, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004975, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_effect.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004976, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_effect.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004977, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_effect.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_resultTestCase.cpp new file mode 100644 index 000000000..13ff94443 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_add_assign_resultTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005230, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005231, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005232, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005233, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005234, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005235, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005236, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005237, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005238, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005239, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005240, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005241, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005242, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005243, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005244, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005245, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005246, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005247, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005248, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005249, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005250, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005251, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005252, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005253, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005254, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005255, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005256, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005257, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005258, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.add_assign_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005259, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005260, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005261, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005262, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005263, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005264, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005265, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005266, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005267, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005268, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005269, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005270, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005271, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005272, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005273, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005274, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005275, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005276, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.add_assign_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005277, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.add_assign_result.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005278, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005279, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005280, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005281, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.add_assign_result.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005282, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005283, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005284, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005285, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005286, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005287, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.add_assign_result.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005288, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005289, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005290, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005291, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005292, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005293, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.add_assign_result.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005294, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005295, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005296, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005297, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005298, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005299, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005300, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005301, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005302, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005303, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005304, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005305, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005306, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005307, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005308, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005309, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005310, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005311, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.add_assign_result.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005312, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.add_assign_result.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005313, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.add_assign_result.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_divTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_divTestCase.cpp new file mode 100644 index 000000000..d45012c04 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_divTestCase.cpp @@ -0,0 +1,504 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004774, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004775, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004776, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004777, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004778, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004779, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004780, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.div.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004781, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004782, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004783, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004784, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004785, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004786, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.div.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004787, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004788, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004789, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004790, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004791, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004792, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.div.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004793, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004794, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004795, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004796, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004797, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004798, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.div.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004799, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004800, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004801, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004802, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.div.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004803, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004804, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004805, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004806, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004807, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004808, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004809, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004810, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004811, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004812, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004813, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004814, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004815, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004816, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004817, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004818, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004819, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004820, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.div.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004821, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.div.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004822, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004823, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004824, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004825, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.div.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004826, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004827, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004828, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004829, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004830, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004831, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.div.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004832, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004833, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004834, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004835, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004836, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004837, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.div.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004838, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004839, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004840, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004841, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004842, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004843, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004844, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004845, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004846, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004847, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004848, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004849, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004850, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004851, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004852, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004853, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004854, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004855, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004856, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004857, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004858, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004859, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004860, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004861, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.div.mediump_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004862, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004863, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.highp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004864, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004865, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004866, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004867, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.div.mediump_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004868, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004869, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.highp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004870, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004871, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004872, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004873, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.div.mediump_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004874, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004875, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.highp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004876, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004877, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004878, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.mediump_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004879, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004880, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.highp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004881, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004882, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004883, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004884, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.mediump_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004885, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004886, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.highp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004887, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004888, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.lowp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004889, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.lowp_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004890, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.mediump_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004891, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.div.mediump_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004892, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.div.highp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004893, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.div.highp_int_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_effectTestCase.cpp new file mode 100644 index 000000000..19523022e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_effectTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005146, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005147, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005148, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005149, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005150, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005151, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005152, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005153, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005154, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005155, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005156, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005157, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005158, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005159, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005160, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005161, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005162, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005163, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005164, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005165, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005166, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005167, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005168, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005169, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005170, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005171, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005172, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005173, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005174, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005175, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005176, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005177, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005178, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005179, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005180, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005181, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005182, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005183, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005184, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005185, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005186, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005187, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005188, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005189, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005190, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005191, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005192, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005193, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_effect.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005194, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005195, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005196, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005197, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.div_assign_effect.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005198, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005199, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005200, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005201, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005202, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005203, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.div_assign_effect.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005204, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005205, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005206, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005207, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005208, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005209, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.div_assign_effect.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005210, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005211, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005212, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005213, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005214, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005215, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005216, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005217, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005218, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005219, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005220, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005221, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005222, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005223, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005224, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005225, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005226, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005227, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_effect.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005228, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_effect.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005229, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_effect.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_resultTestCase.cpp new file mode 100644 index 000000000..40f7ad7f8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_div_assign_resultTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005482, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005483, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005484, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005485, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005486, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005487, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005488, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005489, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005490, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005491, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005492, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005493, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005494, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005495, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005496, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005497, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005498, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005499, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005500, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005501, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005502, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005503, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005504, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005505, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005506, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005507, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005508, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005509, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005510, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.div_assign_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005511, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005512, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005513, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005514, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005515, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005516, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005517, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005518, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005519, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005520, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005521, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005522, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005523, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005524, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005525, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005526, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005527, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005528, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.div_assign_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005529, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.div_assign_result.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005530, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005531, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005532, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005533, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.div_assign_result.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005534, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005535, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005536, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005537, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005538, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005539, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.div_assign_result.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005540, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005541, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005542, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005543, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005544, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005545, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.div_assign_result.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005546, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005547, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005548, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005549, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005550, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005551, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005552, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005553, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005554, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005555, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005556, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005557, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005558, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005559, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005560, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005561, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005562, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005563, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.div_assign_result.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005564, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.div_assign_result.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005565, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.div_assign_result.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_equalTestCase.cpp new file mode 100644 index 000000000..6bc9eb57d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_equalTestCase.cpp @@ -0,0 +1,248 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005614, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005615, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005616, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005617, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005618, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005619, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005620, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.equal.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005621, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005622, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005623, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005624, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005625, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005626, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.equal.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005627, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005628, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005629, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005630, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005631, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005632, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.equal.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005633, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005634, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005635, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005636, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005637, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005638, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.equal.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005639, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005640, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005641, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005642, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.equal.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005643, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005644, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005645, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005646, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005647, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005648, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005649, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005650, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005651, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005652, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005653, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005654, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005655, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005656, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005657, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005658, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005659, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.equal.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005660, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.equal.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005661, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.equal.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005662, + "dEQP-GLES2.functional.shaders.operat", + "or.binary_operator.equal.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005663, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.equal.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005664, + "dEQP-GLES2.functional.shaders.operat", + "or.binary_operator.equal.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005665, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.equal.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005666, + "dEQP-GLES2.functional.shaders.operat", + "or.binary_operator.equal.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005667, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.equal.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005668, + "dEQP-GLES2.functional.shaders.operat", + "or.binary_operator.equal.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005669, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.equal.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greaterTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greaterTestCase.cpp new file mode 100644 index 000000000..a22b8a451 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greaterTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005590, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.greater.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005591, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.greater.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005592, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.greater.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005593, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.greater.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005594, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.greater.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005595, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.greater.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005596, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.greater.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005597, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.greater.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005598, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.greater.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005599, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.greater.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005600, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.greater.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005601, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.greater.highp_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greater_or_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greater_or_equalTestCase.cpp new file mode 100644 index 000000000..2fc4087ce --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_greater_or_equalTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005602, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.greater_or_equal.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005603, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.greater_or_equal.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005604, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.greater_or_equal.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005605, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.greater_or_equal.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005606, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.greater_or_equal.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005607, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.greater_or_equal.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005608, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.greater_or_equal.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005609, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.greater_or_equal.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005610, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.greater_or_equal.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005611, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.greater_or_equal.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005612, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.greater_or_equal.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005613, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.greater_or_equal.highp_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_lessTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_lessTestCase.cpp new file mode 100644 index 000000000..4ce2d092d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_lessTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005566, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.less.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005567, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.less.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005568, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.less.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005569, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.less.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005570, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.less.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005571, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.less.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005572, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.less.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005573, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.less.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005574, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.less.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005575, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.less.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005576, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.less.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005577, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.less.highp_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_less_or_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_less_or_equalTestCase.cpp new file mode 100644 index 000000000..f0898caa1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_less_or_equalTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005578, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.less_or_equal.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005579, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.less_or_equal.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005580, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.less_or_equal.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005581, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.less_or_equal.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005582, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.less_or_equal.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005583, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.less_or_equal.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005584, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.less_or_equal.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005585, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.less_or_equal.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005586, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.less_or_equal.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005587, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.less_or_equal.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005588, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.less_or_equal.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005589, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.less_or_equal.highp_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_andTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_andTestCase.cpp new file mode 100644 index 000000000..b8dd37abc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_andTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005726, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.logical_and.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005727, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.logical_and.bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_orTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_orTestCase.cpp new file mode 100644 index 000000000..64fe38a70 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_orTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005728, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.logical_or.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005729, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.logical_or.bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_xorTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_xorTestCase.cpp new file mode 100644 index 000000000..e10aacdcf --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_logical_xorTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005730, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.logical_xor.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005731, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.logical_xor.bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mulTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mulTestCase.cpp new file mode 100644 index 000000000..ed6100fcf --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mulTestCase.cpp @@ -0,0 +1,504 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004654, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004655, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004656, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004657, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004658, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004659, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004660, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.mul.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004661, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004662, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004663, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004664, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004665, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004666, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.mul.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004667, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004668, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004669, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004670, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004671, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004672, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.mul.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004673, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004674, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004675, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004676, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004677, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004678, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.mul.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004679, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004680, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004681, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004682, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.mul.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004683, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004684, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004685, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004686, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004687, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004688, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004689, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004690, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004691, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004692, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004693, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004694, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004695, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004696, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004697, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004698, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004699, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004700, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.mul.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004701, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.mul.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004702, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004703, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004704, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004705, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.mul.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004706, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004707, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004708, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004709, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004710, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004711, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.mul.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004712, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004713, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004714, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004715, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004716, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004717, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.mul.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004718, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004719, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004720, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004721, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004722, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004723, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004724, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004725, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004726, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004727, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004728, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004729, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004730, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004731, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004732, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004733, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004734, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004735, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004736, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004737, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004738, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004739, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004740, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004741, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.mul.mediump_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004742, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004743, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.highp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004744, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004745, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004746, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004747, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.mul.mediump_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004748, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004749, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.highp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004750, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004751, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004752, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004753, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.mul.mediump_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004754, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004755, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.highp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004756, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004757, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004758, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.mediump_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004759, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004760, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.highp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004761, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004762, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004763, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004764, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.mediump_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004765, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004766, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.highp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004767, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004768, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.lowp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004769, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.lowp_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004770, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.mediump_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004771, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.mul.mediump_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004772, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.mul.highp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004773, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.mul.highp_int_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_effectTestCase.cpp new file mode 100644 index 000000000..ef3b6b11f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_effectTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005062, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005063, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005064, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005065, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005066, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005067, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005068, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005069, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005070, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005071, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005072, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005073, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005074, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005075, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005076, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005077, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005078, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005079, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005080, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005081, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005082, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005083, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005084, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005085, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005086, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005087, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005088, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005089, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005090, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005091, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005092, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005093, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005094, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005095, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005096, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005097, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005098, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005099, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005100, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005101, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005102, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005103, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005104, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005105, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005106, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005107, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005108, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005109, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_effect.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005110, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005111, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005112, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005113, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.mul_assign_effect.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005114, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005115, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005116, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005117, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005118, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005119, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.mul_assign_effect.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005120, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005121, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005122, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005123, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005124, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005125, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.mul_assign_effect.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005126, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005127, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005128, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005129, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005130, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005131, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005132, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005133, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005134, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005135, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005136, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005137, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005138, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005139, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005140, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005141, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005142, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005143, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_effect.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005144, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_effect.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005145, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_effect.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_resultTestCase.cpp new file mode 100644 index 000000000..30bb2f247 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_mul_assign_resultTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005398, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005399, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005400, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005401, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005402, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005403, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005404, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005405, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005406, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005407, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005408, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005409, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005410, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005411, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005412, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005413, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005414, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005415, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005416, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005417, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005418, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005419, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005420, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005421, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005422, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005423, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005424, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005425, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005426, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.mul_assign_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005427, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005428, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005429, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005430, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005431, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005432, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005433, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005434, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005435, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005436, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005437, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005438, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005439, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005440, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005441, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005442, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005443, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005444, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.mul_assign_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005445, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.mul_assign_result.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005446, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005447, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005448, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005449, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.mul_assign_result.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005450, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005451, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005452, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005453, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005454, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005455, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.mul_assign_result.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005456, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005457, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005458, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005459, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005460, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005461, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.mul_assign_result.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005462, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005463, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005464, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005465, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005466, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005467, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005468, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005469, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005470, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005471, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005472, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005473, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005474, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005475, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005476, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005477, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005478, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005479, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.mul_assign_result.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005480, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.mul_assign_result.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005481, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.mul_assign_result.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_not_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_not_equalTestCase.cpp new file mode 100644 index 000000000..14a7ed153 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_not_equalTestCase.cpp @@ -0,0 +1,248 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005670, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005671, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005672, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005673, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005674, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005675, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005676, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.not_equal.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005677, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005678, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005679, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005680, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005681, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005682, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.not_equal.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005683, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005684, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005685, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005686, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005687, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005688, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.not_equal.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005689, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005690, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005691, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005692, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005693, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005694, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.not_equal.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005695, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005696, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005697, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005698, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.not_equal.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005699, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005700, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005701, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005702, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005703, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005704, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005705, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005706, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005707, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005708, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005709, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005710, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005711, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005712, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005713, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005714, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005715, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.not_equal.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005716, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.not_equal.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005717, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.not_equal.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005718, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.not_equal.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005719, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.not_equal.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005720, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.not_equal.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005721, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.not_equal.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005722, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.not_equal.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005723, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.not_equal.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005724, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.not_equal.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005725, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.not_equal.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_subTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_subTestCase.cpp new file mode 100644 index 000000000..73c2d3c96 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_subTestCase.cpp @@ -0,0 +1,504 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004534, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004535, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004536, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004537, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004538, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004539, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004540, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.sub.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004541, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004542, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004543, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004544, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004545, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004546, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.sub.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004547, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004548, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004549, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004550, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004551, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004552, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.sub.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004553, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004554, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004555, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004556, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004557, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004558, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.sub.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004559, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004560, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004561, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004562, + "dEQP-GLES2.functional.shaders.operato", + "r.binary_operator.sub.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004563, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004564, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004565, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004566, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004567, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004568, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004569, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004570, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004571, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004572, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004573, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004574, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004575, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004576, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004577, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004578, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004579, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004580, + "dEQP-GLES2.functional.shaders.operator", + ".binary_operator.sub.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004581, + "dEQP-GLES2.functional.shaders.operator.", + "binary_operator.sub.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004582, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004583, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004584, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004585, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.sub.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004586, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004587, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004588, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004589, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004590, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004591, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.sub.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004592, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004593, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004594, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004595, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004596, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004597, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.sub.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004598, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004599, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004600, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004601, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004602, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004603, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004604, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004605, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004606, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004607, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004608, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004609, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004610, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004611, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004612, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004613, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004614, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004615, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004616, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004617, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004618, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004619, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004620, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004621, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.sub.mediump_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004622, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004623, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.highp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004624, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004625, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004626, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004627, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.sub.mediump_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004628, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004629, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.highp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004630, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004631, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004632, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004633, + "dEQP-GLES2.functional.shaders.operator.bina", + "ry_operator.sub.mediump_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004634, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004635, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.highp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004636, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004637, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004638, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.mediump_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004639, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004640, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.highp_int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004641, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004642, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004643, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004644, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.mediump_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004645, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004646, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.highp_int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004647, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004648, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.lowp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004649, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.lowp_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004650, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.mediump_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004651, + "dEQP-GLES2.functional.shaders.operator.bin", + "ary_operator.sub.mediump_int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004652, + "dEQP-GLES2.functional.shaders.operator.b", + "inary_operator.sub.highp_int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004653, + "dEQP-GLES2.functional.shaders.operator.bi", + "nary_operator.sub.highp_int_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_effectTestCase.cpp new file mode 100644 index 000000000..7a8381a35 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_effectTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004978, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004979, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004980, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004981, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004982, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004983, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004984, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004985, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004986, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004987, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004988, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004989, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004990, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004991, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004992, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004993, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004994, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004995, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004996, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004997, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004998, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004999, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005000, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005001, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005002, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005003, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005004, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005005, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005006, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005007, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005008, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005009, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005010, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005011, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005012, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005013, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005014, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005015, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005016, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005017, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005018, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005019, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005020, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005021, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005022, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005023, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005024, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005025, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_effect.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005026, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005027, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005028, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005029, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.sub_assign_effect.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005030, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005031, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005032, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005033, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005034, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005035, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.sub_assign_effect.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005036, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005037, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005038, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005039, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005040, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005041, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.sub_assign_effect.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005042, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005043, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005044, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005045, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005046, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005047, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005048, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005049, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005050, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005051, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005052, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005053, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005054, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005055, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005056, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005057, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005058, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005059, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_effect.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005060, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_effect.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_005061, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_effect.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_resultTestCase.cpp new file mode 100644 index 000000000..6aeb373f8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2binary_operator_sub_assign_resultTestCase.cpp @@ -0,0 +1,360 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005314, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005315, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005316, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005317, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005318, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005319, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005320, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005321, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005322, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005323, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005324, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005325, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005326, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005327, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005328, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005329, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005330, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005331, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005332, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005333, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005334, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005335, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005336, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005337, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005338, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005339, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005340, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005341, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005342, + "dEQP-GLES2.functional.shaders.operator.binar", + "y_operator.sub_assign_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005343, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005344, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005345, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005346, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005347, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005348, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005349, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005350, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005351, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005352, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005353, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005354, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005355, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005356, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005357, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005358, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005359, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005360, + "dEQP-GLES2.functional.shaders.operator.binary", + "_operator.sub_assign_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005361, + "dEQP-GLES2.functional.shaders.operator.binary_", + "operator.sub_assign_result.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005362, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005363, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005364, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005365, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.sub_assign_result.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005366, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005367, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005368, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005369, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005370, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005371, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.sub_assign_result.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005372, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005373, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005374, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005375, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005376, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005377, + "dEQP-GLES2.functional.shaders.operator.binary_oper", + "ator.sub_assign_result.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005378, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005379, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.highp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005380, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.lowp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005381, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.lowp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005382, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.mediump_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005383, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.mediump_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005384, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.highp_ivec2_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005385, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.highp_ivec2_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005386, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.lowp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005387, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.lowp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005388, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.mediump_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005389, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.mediump_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005390, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.highp_ivec3_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005391, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.highp_ivec3_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005392, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.lowp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005393, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.lowp_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005394, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.mediump_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005395, + "dEQP-GLES2.functional.shaders.operator.binary_ope", + "rator.sub_assign_result.mediump_ivec4_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005396, + "dEQP-GLES2.functional.shaders.operator.binary_o", + "perator.sub_assign_result.highp_ivec4_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005397, + "dEQP-GLES2.functional.shaders.operator.binary_op", + "erator.sub_assign_result.highp_ivec4_int_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase.cpp new file mode 100644 index 000000000..c332c99e8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_equation_src_func_dst_funcTestCase.cpp @@ -0,0 +1,2544 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011152, + "dEQP-GLES2.functional.fragment_ops.blend", + ".equation_src_func_dst_func.add_zero_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011153, + "dEQP-GLES2.functional.fragment_ops.blend", + ".equation_src_func_dst_func.add_zero_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011154, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_zero_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011155, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_zero_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011156, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_zero_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011157, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_zero_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011158, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_zero_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011159, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_zero_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011160, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_zero_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011161, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_zero_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011162, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_zero_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011163, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_zero_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011164, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_zero_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011165, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_zero_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011166, + "dEQP-GLES2.functional.fragment_ops.blend", + ".equation_src_func_dst_func.add_one_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011167, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.equation_src_func_dst_func.add_one_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011168, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_one_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011169, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011170, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_one_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011171, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011172, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_one_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011173, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011174, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_one_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011175, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011176, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_one_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011177, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011178, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_one_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011179, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011180, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011181, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011182, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011183, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011184, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011185, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011186, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011187, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011188, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011189, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011190, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011191, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011192, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011193, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011194, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_one_minus_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011195, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_minus_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011196, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011197, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011198, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011199, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011200, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011201, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011202, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011203, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011204, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011205, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011206, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011207, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011208, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011209, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011210, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011211, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011212, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011213, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011214, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011215, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011216, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011217, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011218, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011219, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011220, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011221, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011222, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_one_minus_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011223, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_minus_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011224, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011225, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011226, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011227, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011228, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011229, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011230, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011231, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011232, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011233, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011234, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011235, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011236, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011237, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011238, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011239, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011240, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011241, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011242, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011243, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011244, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011245, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011246, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011247, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011248, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011249, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011250, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_one_minus_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011251, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_minus_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011252, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011253, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011254, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011255, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011256, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011257, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011258, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011259, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011260, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011261, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011262, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011263, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011264, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.add_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011265, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.add_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011266, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011267, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011268, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011269, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011270, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011271, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011272, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011273, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011274, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011275, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011276, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011277, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011278, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_one_minus_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011279, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_one_minus_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011280, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011281, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011282, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011283, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011284, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011285, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011286, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011287, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011288, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011289, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011290, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011291, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011292, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011293, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011294, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011295, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011296, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011297, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011298, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011299, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011300, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011301, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011302, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011303, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011304, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011305, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011306, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011307, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011308, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011309, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011310, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011311, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011312, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011313, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011314, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011315, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011316, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011317, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.add_one_minus_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011318, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011319, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.add_one_minus_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011320, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011321, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.add_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011322, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011323, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011324, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011325, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011326, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011327, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011328, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.add_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011329, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011330, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011331, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011332, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011333, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011334, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011335, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_one_minus_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011336, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011337, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011338, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011339, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011340, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011341, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011342, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.add_one_minus_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011343, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.add_one_minus_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011344, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011345, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.add_one_minus_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011346, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_one_minus_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011347, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.add_one_minus_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011348, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_src_alpha_saturate_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011349, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.add_src_alpha_saturate_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011350, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_saturate_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011351, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_src_alpha_saturate_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011352, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_saturate_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011353, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_src_alpha_saturate_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011354, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_saturate_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011355, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_src_alpha_saturate_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011356, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.add_src_alpha_saturate_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011357, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.add_src_alpha_saturate_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011358, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.add_src_alpha_saturate_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011359, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.add_src_alpha_saturate_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011360, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.add_src_alpha_saturate_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011361, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.add_src_alpha_saturate_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011362, + "dEQP-GLES2.functional.fragment_ops.blend.eq", + "uation_src_func_dst_func.subtract_zero_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011363, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.subtract_zero_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011364, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_zero_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011365, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_zero_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011366, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_zero_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011367, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_zero_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011368, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_zero_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011369, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_zero_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011370, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_zero_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011371, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_zero_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011372, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_zero_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011373, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_zero_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011374, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_zero_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011375, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_zero_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011376, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.subtract_one_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011377, + "dEQP-GLES2.functional.fragment_ops.blend.e", + "quation_src_func_dst_func.subtract_one_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011378, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_one_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011379, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011380, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_one_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011381, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011382, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_one_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011383, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011384, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_one_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011385, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011386, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.subtract_one_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011387, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_one_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011388, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.subtract_one_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011389, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_one_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011390, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011391, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011392, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011393, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011394, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011395, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011396, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011397, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011398, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011399, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011400, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011401, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011402, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011403, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011404, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011405, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011406, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011407, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011408, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011409, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011410, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011411, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011412, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011413, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011414, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011415, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011416, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011417, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011418, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011419, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011420, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011421, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011422, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011423, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011424, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011425, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011426, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011427, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011428, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011429, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011430, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011431, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011432, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011433, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011434, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011435, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011436, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011437, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011438, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011439, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011440, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011441, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011442, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011443, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011444, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011445, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011446, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011447, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011448, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011449, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011450, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011451, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011452, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011453, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011454, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011455, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011456, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011457, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011458, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011459, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011460, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011461, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011462, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011463, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011464, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011465, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011466, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011467, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011468, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011469, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011470, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011471, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011472, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011473, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011474, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011475, + "dEQP-GLES2.functional.fragment_ops.blend.equa", + "tion_src_func_dst_func.subtract_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011476, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011477, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011478, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011479, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011480, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011481, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011482, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011483, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011484, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011485, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011486, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011487, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011488, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011489, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_one_minus_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011490, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011491, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011492, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011493, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011494, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011495, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011496, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011497, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011498, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011499, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011500, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011501, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011502, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011503, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.subtract_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011504, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011505, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011506, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011507, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011508, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011509, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011510, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011511, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011512, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011513, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011514, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011515, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011516, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011517, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_one_minus_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011518, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011519, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011520, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011521, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011522, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011523, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011524, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011525, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011526, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011527, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_", + "func.subtract_one_minus_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011528, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011529, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_", + "func.subtract_one_minus_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011530, + "dEQP-GLES2.functional.fragment_ops.blend.equatio", + "n_src_func_dst_func.subtract_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011531, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.subtract_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011532, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011533, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011534, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011535, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011536, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011537, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011538, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011539, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011540, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011541, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011542, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011543, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011544, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.subtract_one_minus_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011545, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_one_minus_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011546, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011547, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011548, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011549, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011550, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011551, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011552, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_one_minus_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011553, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_one_minus_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011554, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011555, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_", + "func.subtract_one_minus_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011556, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func", + "_dst_func.subtract_one_minus_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011557, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_", + "func.subtract_one_minus_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011558, + "dEQP-GLES2.functional.fragment_ops.blend.equation_", + "src_func_dst_func.subtract_src_alpha_saturate_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011559, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.subtract_src_alpha_saturate_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011560, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_src_alpha_saturate_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011561, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.subtract_src_alpha_saturate_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011562, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_src_alpha_saturate_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011563, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.subtract_src_alpha_saturate_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011564, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_src_alpha_saturate_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011565, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.subtract_src_alpha_saturate_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011566, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.subtract_src_alpha_saturate_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011567, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.subtract_src_alpha_saturate_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011568, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_src_alpha_saturate_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011569, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_src_alpha_saturate_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011570, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_f", + "unc_dst_func.subtract_src_alpha_saturate_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011571, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_d", + "st_func.subtract_src_alpha_saturate_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011572, + "dEQP-GLES2.functional.fragment_ops.blend.equati", + "on_src_func_dst_func.reverse_subtract_zero_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011573, + "dEQP-GLES2.functional.fragment_ops.blend.equat", + "ion_src_func_dst_func.reverse_subtract_zero_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011574, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_zero_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011575, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_zero_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011576, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_zero_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011577, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_zero_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011578, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_zero_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011579, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_zero_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011580, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_zero_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011581, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_zero_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011582, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_zero_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011583, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_zero_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011584, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_zero_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011585, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_zero_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011586, + "dEQP-GLES2.functional.fragment_ops.blend.equat", + "ion_src_func_dst_func.reverse_subtract_one_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011587, + "dEQP-GLES2.functional.fragment_ops.blend.equat", + "ion_src_func_dst_func.reverse_subtract_one_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011588, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_one_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011589, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011590, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_one_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011591, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011592, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_one_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011593, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011594, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_one_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011595, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011596, + "dEQP-GLES2.functional.fragment_ops.blend.equation_s", + "rc_func_dst_func.reverse_subtract_one_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011597, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_one_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011598, + "dEQP-GLES2.functional.fragment_ops.blend.equation_s", + "rc_func_dst_func.reverse_subtract_one_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011599, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_one_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011600, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011601, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011602, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011603, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011604, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011605, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011606, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011607, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011608, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011609, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011610, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011611, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011612, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011613, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011614, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011615, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011616, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011617, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011618, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011619, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011620, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011621, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011622, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011623, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011624, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011625, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011626, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011627, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011628, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011629, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011630, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011631, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011632, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011633, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011634, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011635, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011636, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011637, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011638, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011639, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011640, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011641, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011642, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011643, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011644, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011645, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011646, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011647, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011648, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011649, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011650, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011651, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011652, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011653, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011654, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011655, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011656, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011657, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011658, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011659, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011660, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011661, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011662, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011663, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011664, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011665, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011666, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011667, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011668, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011669, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011670, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011671, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011672, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011673, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011674, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011675, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011676, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011677, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011678, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011679, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011680, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011681, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011682, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011683, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011684, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011685, + "dEQP-GLES2.functional.fragment_ops.blend.equation", + "_src_func_dst_func.reverse_subtract_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011686, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011687, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011688, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011689, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011690, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011691, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011692, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011693, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011694, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011695, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011696, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011697, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011698, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011699, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_one_minus_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011700, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011701, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011702, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011703, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011704, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011705, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011706, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011707, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011708, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011709, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011710, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011711, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011712, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011713, + "dEQP-GLES2.functional.fragment_ops.blend.equation_s", + "rc_func_dst_func.reverse_subtract_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011714, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011715, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011716, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011717, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011718, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011719, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011720, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011721, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011722, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011723, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011724, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011725, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011726, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011727, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_one_minus_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011728, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011729, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011730, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011731, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011732, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011733, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011734, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011735, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011736, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011737, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_func", + ".reverse_subtract_one_minus_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011738, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011739, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_func", + ".reverse_subtract_one_minus_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011740, + "dEQP-GLES2.functional.fragment_ops.blend.equation_sr", + "c_func_dst_func.reverse_subtract_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011741, + "dEQP-GLES2.functional.fragment_ops.blend.equation_s", + "rc_func_dst_func.reverse_subtract_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011742, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011743, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011744, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011745, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011746, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011747, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011748, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011749, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011750, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011751, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011752, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011753, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011754, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fun", + "c_dst_func.reverse_subtract_one_minus_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011755, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_one_minus_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011756, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011757, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011758, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011759, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011760, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011761, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011762, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_one_minus_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011763, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_one_minus_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011764, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011765, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_func", + ".reverse_subtract_one_minus_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011766, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst", + "_func.reverse_subtract_one_minus_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011767, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_func", + ".reverse_subtract_one_minus_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011768, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_", + "func_dst_func.reverse_subtract_src_alpha_saturate_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011769, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src", + "_func_dst_func.reverse_subtract_src_alpha_saturate_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011770, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_src_alpha_saturate_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011771, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_ds", + "t_func.reverse_subtract_src_alpha_saturate_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011772, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_src_alpha_saturate_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011773, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_ds", + "t_func.reverse_subtract_src_alpha_saturate_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011774, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_src_alpha_saturate_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011775, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_ds", + "t_func.reverse_subtract_src_alpha_saturate_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011776, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_fu", + "nc_dst_func.reverse_subtract_src_alpha_saturate_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011777, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_ds", + "t_func.reverse_subtract_src_alpha_saturate_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011778, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_src_alpha_saturate_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011779, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_src_alpha_saturate_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011780, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_", + "dst_func.reverse_subtract_src_alpha_saturate_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011781, + "dEQP-GLES2.functional.fragment_ops.blend.equation_src_func_dst_f", + "unc.reverse_subtract_src_alpha_saturate_one_minus_constant_alpha"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_rgb_equation_alpha_equationTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_rgb_equation_alpha_equationTestCase.cpp new file mode 100644 index 000000000..3edf3ee05 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2blend_rgb_equation_alpha_equationTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012203, + "dEQP-GLES2.functional.fragment_ops.ble", + "nd.rgb_equation_alpha_equation.add_add"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012204, + "dEQP-GLES2.functional.fragment_ops.blend", + ".rgb_equation_alpha_equation.add_subtract"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012205, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_equation_alpha_equation.add_reverse_subtract"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012206, + "dEQP-GLES2.functional.fragment_ops.blend", + ".rgb_equation_alpha_equation.subtract_add"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012207, + "dEQP-GLES2.functional.fragment_ops.blend.rg", + "b_equation_alpha_equation.subtract_subtract"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012208, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_eq", + "uation_alpha_equation.subtract_reverse_subtract"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012209, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_equation_alpha_equation.reverse_subtract_add"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012210, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_eq", + "uation_alpha_equation.reverse_subtract_subtract"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012211, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_equati", + "on_alpha_equation.reverse_subtract_reverse_subtract"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_allTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_allTestCase.cpp new file mode 100644 index 000000000..43204396b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_allTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006762, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.all.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006763, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.all.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006764, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.all.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006765, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.all.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006766, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.all.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006767, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.all.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_anyTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_anyTestCase.cpp new file mode 100644 index 000000000..4e1a5821c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_anyTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006756, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.any.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006757, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.any.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006758, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.any.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006759, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.any.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006760, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.any.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006761, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.any.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_equalTestCase.cpp new file mode 100644 index 000000000..2deb05f18 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_equalTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006744, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.equal.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006745, + "dEQP-GLES2.functional.shaders.operat", + "or.bool_compare.equal.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006746, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.equal.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006747, + "dEQP-GLES2.functional.shaders.operat", + "or.bool_compare.equal.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006748, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.equal.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006749, + "dEQP-GLES2.functional.shaders.operat", + "or.bool_compare.equal.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notEqualTestCase.cpp new file mode 100644 index 000000000..a2ae0992a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notEqualTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006750, + "dEQP-GLES2.functional.shaders.operat", + "or.bool_compare.notEqual.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006751, + "dEQP-GLES2.functional.shaders.operato", + "r.bool_compare.notEqual.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006752, + "dEQP-GLES2.functional.shaders.operat", + "or.bool_compare.notEqual.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006753, + "dEQP-GLES2.functional.shaders.operato", + "r.bool_compare.notEqual.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006754, + "dEQP-GLES2.functional.shaders.operat", + "or.bool_compare.notEqual.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006755, + "dEQP-GLES2.functional.shaders.operato", + "r.bool_compare.notEqual.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notTestCase.cpp new file mode 100644 index 000000000..8c7fdab44 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2bool_compare_notTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006768, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.not.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006769, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.not.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006770, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.not.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006771, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.not.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006772, + "dEQP-GLES2.functional.shaders.oper", + "ator.bool_compare.not.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006773, + "dEQP-GLES2.functional.shaders.opera", + "tor.bool_compare.not.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.cpp new file mode 100644 index 000000000..8c7ef1f8f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_commonTestCase.cpp @@ -0,0 +1,576 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008030, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.abs_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008031, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.abs_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008032, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.abs_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008033, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.abs_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008034, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.abs_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008035, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.abs_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008036, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.abs_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008037, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.abs_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008038, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.sign_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008039, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.sign_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008040, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.sign_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008041, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.sign_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008042, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.sign_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008043, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.sign_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008044, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.sign_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008045, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.sign_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008046, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.floor_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008047, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.floor_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008048, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.floor_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008049, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.floor_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008050, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.floor_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008051, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.floor_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008052, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.floor_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008053, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.floor_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008054, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.ceil_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008055, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.ceil_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008056, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.ceil_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008057, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.ceil_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008058, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.ceil_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008059, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.ceil_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008060, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.ceil_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008061, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.ceil_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008062, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.fract_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008063, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.fract_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008064, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.fract_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008065, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.fract_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008066, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.fract_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008067, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.fract_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008068, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.fract_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008069, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.fract_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008070, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mod_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008071, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.mod_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008072, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.mod_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008073, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mod_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008074, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.mod_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008075, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.mod_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008076, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.mod_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008077, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mod_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008078, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.mod_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008079, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.mod_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008080, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.mod_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008081, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mod_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008082, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.mod_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008083, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.mod_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008084, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.min_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008085, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.min_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008086, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.min_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008087, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.min_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008088, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.min_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008089, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.min_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008090, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.min_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008091, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.min_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008092, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.min_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008093, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.min_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008094, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.min_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008095, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.min_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008096, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.min_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008097, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.min_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008098, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.max_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008099, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.max_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008100, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.max_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008101, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.max_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008102, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.max_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008103, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.max_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008104, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.max_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008105, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.max_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008106, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.max_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008107, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.max_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008108, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.max_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008109, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.max_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008110, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.max_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008111, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.max_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008112, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.clamp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008113, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.clamp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008114, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.clamp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008115, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.clamp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008116, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.clamp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008117, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.clamp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008118, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.clamp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008119, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.clamp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008120, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.clamp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008121, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.clamp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008122, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.clamp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008123, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.clamp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008124, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.clamp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008125, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.clamp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008126, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mix_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008127, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.mix_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008128, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.mix_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008129, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mix_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008130, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.mix_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008131, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.mix_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008132, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.mix_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008133, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mix_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008134, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.mix_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008135, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.mix_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008136, + "dEQP-GLES2.functional.shaders.constant_expres", + "sions.builtin_functions.common.mix_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008137, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.mix_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008138, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.common.mix_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008139, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.mix_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008140, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.step_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008141, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.step_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008142, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.step_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008143, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.step_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008144, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.step_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008145, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.step_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008146, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.step_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008147, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.step_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008148, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.step_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008149, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.step_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008150, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.builtin_functions.common.step_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008151, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.common.step_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008152, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.step_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008153, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.step_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008154, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.smoothstep_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008155, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.smoothstep_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008156, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.smoothstep_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008157, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.smoothstep_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008158, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.common.smoothstep_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008159, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.common.smoothstep_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008160, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.smoothstep_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008161, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.smoothstep_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008162, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.common.smoothstep_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008163, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.common.smoothstep_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008164, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.common.smoothstep_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008165, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.common.smoothstep_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008166, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.common.smoothstep_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008167, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.common.smoothstep_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_exponentialTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_exponentialTestCase.cpp new file mode 100644 index 000000000..49d8728c6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_exponentialTestCase.cpp @@ -0,0 +1,248 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007974, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.pow_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007975, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.pow_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007976, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.pow_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007977, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.pow_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007978, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.pow_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007979, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.pow_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007980, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.pow_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007981, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.pow_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007982, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007983, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007984, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007985, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007986, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007987, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007988, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007989, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007990, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007991, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007992, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007993, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007994, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007995, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007996, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007997, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007998, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007999, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.exponential.exp2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008000, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008001, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008002, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008003, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008004, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.exp2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008005, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.exp2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008006, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008007, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.exponential.log2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008008, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008009, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008010, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008011, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008012, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.log2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008013, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.log2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008014, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.sqrt_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008015, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.exponential.sqrt_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008016, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.sqrt_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008017, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.sqrt_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008018, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.sqrt_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008019, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.sqrt_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008020, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.exponential.sqrt_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008021, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.exponential.sqrt_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008022, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.exponential.inversesqrt_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008023, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.exponential.inversesqrt_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008024, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.exponential.inversesqrt_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008025, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.exponential.inversesqrt_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008026, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.exponential.inversesqrt_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008027, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.exponential.inversesqrt_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008028, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.exponential.inversesqrt_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_008029, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.exponential.inversesqrt_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_geometricTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_geometricTestCase.cpp new file mode 100644 index 000000000..50ad6cac3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_geometricTestCase.cpp @@ -0,0 +1,248 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008168, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.length_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008169, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.length_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008170, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.length_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008171, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.length_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008172, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.length_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008173, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.length_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008174, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.length_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008175, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.length_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008176, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.distance_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008177, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.distance_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008178, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.distance_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008179, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.distance_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008180, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.distance_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008181, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.distance_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008182, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.distance_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008183, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.distance_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008184, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.geometric.dot_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008185, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.dot_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008186, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.geometric.dot_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008187, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.dot_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008188, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.geometric.dot_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008189, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.dot_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008190, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.builtin_functions.geometric.dot_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008191, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.geometric.dot_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008192, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.normalize_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008193, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.normalize_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008194, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.normalize_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008195, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.normalize_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008196, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.normalize_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008197, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.normalize_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008198, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.normalize_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008199, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.normalize_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008200, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.faceforward_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008201, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.geometric.faceforward_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008202, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.faceforward_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008203, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.geometric.faceforward_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008204, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.faceforward_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008205, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.geometric.faceforward_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008206, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.geometric.faceforward_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008207, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.geometric.faceforward_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008208, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.reflect_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008209, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.reflect_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008210, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.reflect_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008211, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.reflect_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008212, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.reflect_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008213, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.reflect_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008214, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.reflect_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008215, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.reflect_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008216, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.refract_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008217, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.refract_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008218, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.refract_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008219, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.refract_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008220, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.refract_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008221, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.refract_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008222, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.geometric.refract_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008223, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.geometric.refract_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_matrixTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_matrixTestCase.cpp new file mode 100644 index 000000000..08a116f4b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_matrixTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008224, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.matrix.compMult_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008225, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.matrix.compMult_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008226, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.matrix.compMult_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008227, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.matrix.compMult_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008228, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.matrix.compMult_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008229, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.matrix.compMult_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp new file mode 100644 index 000000000..1242aaa6b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp @@ -0,0 +1,312 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007902, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.radians_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007903, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.trigonometry.radians_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007904, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.radians_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007905, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.radians_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007906, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.radians_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007907, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.radians_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007908, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.radians_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007909, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.radians_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007910, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.degrees_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007911, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.trigonometry.degrees_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007912, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.degrees_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007913, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.degrees_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007914, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.degrees_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007915, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.degrees_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007916, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.degrees_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007917, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.trigonometry.degrees_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007918, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.sin_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007919, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.sin_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007920, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.sin_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007921, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.sin_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007922, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.sin_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007923, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.sin_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007924, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.sin_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007925, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.sin_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007926, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.cos_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007927, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.cos_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007928, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.cos_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007929, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.cos_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007930, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.cos_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007931, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.cos_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007932, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.cos_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007933, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.cos_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007934, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.tan_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007935, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.tan_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007936, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.tan_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007937, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.tan_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007938, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.tan_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007939, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.tan_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007940, + "dEQP-GLES2.functional.shaders.constant_expressio", + "ns.builtin_functions.trigonometry.tan_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007941, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.tan_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007942, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.asin_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007943, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.asin_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007944, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.asin_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007945, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.asin_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007946, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.asin_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007947, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.asin_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007948, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.asin_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007949, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.asin_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007950, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.acos_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007951, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.acos_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007952, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.acos_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007953, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.acos_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007954, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.acos_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007955, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.acos_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007956, + "dEQP-GLES2.functional.shaders.constant_expression", + "s.builtin_functions.trigonometry.acos_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007957, + "dEQP-GLES2.functional.shaders.constant_expressions", + ".builtin_functions.trigonometry.acos_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007958, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_separate_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007959, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.trigonometry.atan_separate_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007960, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.trigonometry.atan_separate_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007961, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_separate_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007962, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.trigonometry.atan_separate_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007963, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_separate_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007964, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.trigonometry.atan_separate_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007965, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_separate_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007966, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_combined_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007967, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.trigonometry.atan_combined_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007968, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.trigonometry.atan_combined_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007969, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_combined_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007970, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.trigonometry.atan_combined_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007971, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_combined_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007972, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.trigonometry.atan_combined_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007973, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.trigonometry.atan_combined_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_vector_relationalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_vector_relationalTestCase.cpp new file mode 100644 index 000000000..1f3c7a026 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2builtin_functions_vector_relationalTestCase.cpp @@ -0,0 +1,432 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008230, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.lessThan_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008231, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.lessThan_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008232, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.lessThan_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008233, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.lessThan_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008234, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.lessThan_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008235, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.lessThan_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008236, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.lessThan_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008237, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.lessThan_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008238, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.lessThan_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008239, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.lessThan_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008240, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.lessThan_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008241, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.lessThan_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008242, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.lessThanEqual_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008243, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.lessThanEqual_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008244, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.lessThanEqual_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008245, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.lessThanEqual_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008246, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.lessThanEqual_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008247, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.lessThanEqual_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008248, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.lessThanEqual_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008249, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.lessThanEqual_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008250, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.lessThanEqual_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008251, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.lessThanEqual_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008252, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.lessThanEqual_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008253, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.lessThanEqual_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008254, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.greaterThan_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008255, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.greaterThan_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008256, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.greaterThan_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008257, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.greaterThan_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008258, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.greaterThan_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008259, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.greaterThan_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008260, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.greaterThan_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008261, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.greaterThan_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008262, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.greaterThan_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008263, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.greaterThan_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008264, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.greaterThan_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008265, + "dEQP-GLES2.functional.shaders.constant_expressions.built", + "in_functions.vector_relational.greaterThan_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008266, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.greaterThanEqual_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008267, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin", + "_functions.vector_relational.greaterThanEqual_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008268, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.greaterThanEqual_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008269, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin", + "_functions.vector_relational.greaterThanEqual_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008270, + "dEQP-GLES2.functional.shaders.constant_expressions.builti", + "n_functions.vector_relational.greaterThanEqual_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008271, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin", + "_functions.vector_relational.greaterThanEqual_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008272, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin", + "_functions.vector_relational.greaterThanEqual_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008273, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin_", + "functions.vector_relational.greaterThanEqual_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008274, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin", + "_functions.vector_relational.greaterThanEqual_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008275, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin_", + "functions.vector_relational.greaterThanEqual_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008276, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin", + "_functions.vector_relational.greaterThanEqual_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008277, + "dEQP-GLES2.functional.shaders.constant_expressions.builtin_", + "functions.vector_relational.greaterThanEqual_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008278, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008279, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008280, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008281, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008282, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008283, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008284, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008285, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008286, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008287, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008288, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008289, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008290, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008291, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008292, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008293, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008294, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.equal_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008295, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.equal_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008296, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.notEqual_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008297, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008298, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.notEqual_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008299, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008300, + "dEQP-GLES2.functional.shaders.constant_expressions.bu", + "iltin_functions.vector_relational.notEqual_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008301, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008302, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008303, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.notEqual_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008304, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008305, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.notEqual_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008306, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008307, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.notEqual_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008308, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008309, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.notEqual_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008310, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008311, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.notEqual_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008312, + "dEQP-GLES2.functional.shaders.constant_expressions.bui", + "ltin_functions.vector_relational.notEqual_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008313, + "dEQP-GLES2.functional.shaders.constant_expressions.buil", + "tin_functions.vector_relational.notEqual_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008314, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.any_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008315, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.any_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008316, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.any_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008317, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.any_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008318, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.any_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008319, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.any_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008320, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.all_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008321, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.all_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008322, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.all_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008323, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.all_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008324, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.all_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008325, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.all_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008326, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.not_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008327, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.not_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008328, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.not_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008329, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.not_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008330, + "dEQP-GLES2.functional.shaders.constant_expressions.", + "builtin_functions.vector_relational.not_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008331, + "dEQP-GLES2.functional.shaders.constant_expressions.b", + "uiltin_functions.vector_relational.not_bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_lineTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_lineTestCase.cpp new file mode 100644 index 000000000..6aeccb85b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_lineTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015712, + "dEQP-GLES2.functional.c", + "lipping.line.line_z_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015713, + "dEQP-GLES2.functional.clipping.", + "line.line_z_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015714, + "dEQP-GLES2.functional.clipping.", + "line.line_z_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015715, + "dEQP-GLES2.functional.clipping", + ".line.line_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015716, + "dEQP-GLES2.functional.clipping", + ".line.line_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015717, + "dEQP-GLES2.functional.clip", + "ping.line.wide_line_z_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015718, + "dEQP-GLES2.functional.clipping.lin", + "e.wide_line_z_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015719, + "dEQP-GLES2.functional.clipping.lin", + "e.wide_line_z_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015720, + "dEQP-GLES2.functional.cli", + "pping.line.wide_line_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015721, + "dEQP-GLES2.functional.clipping.li", + "ne.wide_line_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015722, + "dEQP-GLES2.functional.clipping.li", + "ne.wide_line_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015723, + "dEQP-GLES2.functional.cli", + "pping.line.long_line_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015724, + "dEQP-GLES2.functional.clipp", + "ing.line.long_wide_line_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015725, + "dEQP-GLES2.functional.clip", + "ping.line.line_attrib_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015726, + "dEQP-GLES2.functional.clippi", + "ng.line.wide_line_attrib_clip"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_pointTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_pointTestCase.cpp new file mode 100644 index 000000000..4b3108267 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_pointTestCase.cpp @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015701, + "dEQP-GLES2.functional.cl", + "ipping.point.point_z_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015702, + "dEQP-GLES2.functional.clipping.p", + "oint.point_z_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015703, + "dEQP-GLES2.functional.clipping.p", + "oint.point_z_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015704, + "dEQP-GLES2.functional.clipping.", + "point.point_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015705, + "dEQP-GLES2.functional.clipping.", + "point.point_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015706, + "dEQP-GLES2.functional.clipp", + "ing.point.wide_point_z_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015707, + "dEQP-GLES2.functional.clipping.poin", + "t.wide_point_z_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015708, + "dEQP-GLES2.functional.clipping.poin", + "t.wide_point_z_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015709, + "dEQP-GLES2.functional.clip", + "ping.point.wide_point_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015710, + "dEQP-GLES2.functional.clipping.poi", + "nt.wide_point_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015711, + "dEQP-GLES2.functional.clipping.poi", + "nt.wide_point_clip_viewport_corner"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp new file mode 100644 index 000000000..4eb6c4eb8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygonTestCase.cpp @@ -0,0 +1,220 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015727, + "dEQP-GLES2.functional.clipping.p", + "olygon.poly_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015728, + "dEQP-GLES2.functional.clipping.p", + "olygon.poly_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015729, + "dEQP-GLES2.functional.cli", + "pping.polygon.poly_z_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015730, + "dEQP-GLES2.functional.clipping.po", + "lygon.poly_z_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015731, + "dEQP-GLES2.functional.clipping.po", + "lygon.poly_z_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015732, + "dEQP-GLES2.functional.clipping.poly", + "gon.large_poly_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015733, + "dEQP-GLES2.functional.clipping.poly", + "gon.large_poly_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015734, + "dEQP-GLES2.functional.clippi", + "ng.polygon.large_poly_z_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015735, + "dEQP-GLES2.functional.clipping.polyg", + "on.large_poly_z_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015736, + "dEQP-GLES2.functional.clipping.polyg", + "on.large_poly_z_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015737, + "dEQP-GLES2.functional.clipp", + "ing.polygon.poly_attrib_clip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015738, + "dEQP-GLES2.functional.clipping.poly", + "gon.poly_attrib_clip_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015739, + "dEQP-GLES2.functional.clipping.poly", + "gon.poly_attrib_clip_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015740, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015741, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_0_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015742, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_0_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015743, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015744, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_1_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015745, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_1_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015746, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015747, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_2_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015748, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_2_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015749, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015750, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_3_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015751, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_3_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015752, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015753, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_4_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015754, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_4_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015755, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015756, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_5_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015757, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_5_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015758, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015759, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_6_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015760, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_6_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015761, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015762, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_7_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015763, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_7_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015764, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015765, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_8_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015766, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_8_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015767, + "dEQP-GLES2.functional.cl", + "ipping.polygon.multiple_9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015768, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_9_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015769, + "dEQP-GLES2.functional.clipping.p", + "olygon.multiple_9_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015770, + "dEQP-GLES2.functional.cli", + "pping.polygon.multiple_10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015771, + "dEQP-GLES2.functional.clipping.po", + "lygon.multiple_10_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015772, + "dEQP-GLES2.functional.clipping.po", + "lygon.multiple_10_viewport_corner"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015773, + "dEQP-GLES2.functional.cli", + "pping.polygon.multiple_11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015774, + "dEQP-GLES2.functional.clipping.po", + "lygon.multiple_11_viewport_center"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015775, + "dEQP-GLES2.functional.clipping.po", + "lygon.multiple_11_viewport_corner"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygon_edgeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygon_edgeTestCase.cpp new file mode 100644 index 000000000..845ebdac9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2clipping_polygon_edgeTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015776, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_at_origin_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015777, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_at_origin_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015778, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_at_origin_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015779, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_at_origin_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015780, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_at_origin_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015781, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_near_edge_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015782, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_near_edge_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015783, + "dEQP-GLES2.functional.clipping", + ".polygon_edge.quad_near_edge_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015784, + "dEQP-GLES2.functional.clip", + "ping.polygon_edge.poly_fan"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_absTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_absTestCase.cpp new file mode 100644 index 000000000..ff34dd63c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_absTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006012, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006013, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006014, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.abs.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006015, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.abs.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006016, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006017, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.abs.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006018, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006019, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006020, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006021, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.abs.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006022, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006023, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006024, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006025, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006026, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006027, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.abs.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006028, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006029, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006030, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006031, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006032, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006033, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.abs.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006034, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.abs.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006035, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.abs.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_ceilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_ceilTestCase.cpp new file mode 100644 index 000000000..b774a5b1a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_ceilTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006084, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006085, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006086, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006087, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.ceil.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006088, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006089, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006090, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.ceil.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006091, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006092, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006093, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.ceil.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006094, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006095, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006096, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.ceil.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006097, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006098, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006099, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.ceil.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006100, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006101, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006102, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.ceil.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006103, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006104, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006105, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.ceil.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006106, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.ceil.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006107, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.ceil.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_clampTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_clampTestCase.cpp new file mode 100644 index 000000000..55f7d9063 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_clampTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006244, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006245, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006246, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.clamp.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006247, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006248, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006249, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.clamp.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006250, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006251, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006252, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006253, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.clamp.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006254, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006255, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006256, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006257, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006258, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006259, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.clamp.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006260, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006261, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006262, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006263, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006264, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006265, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.clamp.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006266, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.clamp.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006267, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.clamp.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006268, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006269, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006270, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006271, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.clamp.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006272, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006273, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006274, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006275, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006276, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006277, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.clamp.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006278, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006279, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006280, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006281, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006282, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006283, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.clamp.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006284, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.clamp.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006285, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.clamp.highp_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_floorTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_floorTestCase.cpp new file mode 100644 index 000000000..d71d0a100 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_floorTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006060, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006061, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006062, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.floor.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006063, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.floor.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006064, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006065, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.floor.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006066, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006067, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006068, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006069, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.floor.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006070, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006071, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006072, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006073, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006074, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006075, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.floor.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006076, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006077, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006078, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006079, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006080, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006081, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.floor.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006082, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.floor.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006083, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.floor.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_fractTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_fractTestCase.cpp new file mode 100644 index 000000000..d65fd9191 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_fractTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006108, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006109, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006110, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.fract.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006111, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.fract.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006112, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006113, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.fract.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006114, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006115, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006116, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006117, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.fract.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006118, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006119, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006120, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006121, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006122, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006123, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.fract.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006124, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006125, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006126, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006127, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006128, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006129, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.fract.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006130, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.fract.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006131, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.fract.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_maxTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_maxTestCase.cpp new file mode 100644 index 000000000..1e0379119 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_maxTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006202, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006203, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006204, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.max.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006205, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006206, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006207, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.max.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006208, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006209, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006210, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006211, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.max.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006212, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006213, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006214, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006215, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006216, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006217, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.max.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006218, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006219, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006220, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006221, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006222, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006223, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.max.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006224, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.max.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006225, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.max.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006226, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006227, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006228, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006229, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.max.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006230, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006231, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006232, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006233, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006234, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006235, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.max.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006236, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006237, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006238, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006239, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006240, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006241, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.max.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006242, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.max.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006243, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.max.highp_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_minTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_minTestCase.cpp new file mode 100644 index 000000000..39d8310c7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_minTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006160, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006161, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006162, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.min.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006163, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006164, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006165, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.min.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006166, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006167, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006168, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006169, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.min.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006170, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006171, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006172, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006173, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006174, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006175, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.min.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006176, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006177, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006178, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006179, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006180, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006181, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.min.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006182, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.min.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006183, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.min.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006184, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006185, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006186, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006187, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.min.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006188, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006189, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006190, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006191, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006192, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006193, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.min.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006194, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006195, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006196, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006197, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006198, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006199, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.min.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006200, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.min.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006201, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.min.highp_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_mixTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_mixTestCase.cpp new file mode 100644 index 000000000..2e9bd2476 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_mixTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006286, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006287, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006288, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mix.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006289, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006290, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006291, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mix.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006292, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006293, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006294, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006295, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mix.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006296, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006297, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006298, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006299, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006300, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006301, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mix.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006302, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006303, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006304, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006305, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006306, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006307, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mix.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006308, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mix.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006309, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mix.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006310, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.lowp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006311, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.lowp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006312, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006313, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.mix.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006314, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006315, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006316, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.lowp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006317, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.lowp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006318, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006319, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.mix.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006320, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006321, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006322, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.lowp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006323, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.lowp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006324, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006325, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.mix.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006326, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mix.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006327, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mix.highp_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_modTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_modTestCase.cpp new file mode 100644 index 000000000..48633df9b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_modTestCase.cpp @@ -0,0 +1,136 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006132, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mod.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006133, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mod.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006134, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006135, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mod.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006136, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006137, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mod.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006138, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mod.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006139, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006140, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006141, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mod.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006142, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mod.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006143, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006144, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006145, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.mod.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006146, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.mod.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006147, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.mod.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006148, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mod.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006149, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.mod.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006150, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mod.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006151, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mod.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006152, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mod.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006153, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.mod.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006154, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mod.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006155, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mod.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006156, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mod.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006157, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.mod.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006158, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.mod.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006159, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.mod.highp_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_signTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_signTestCase.cpp new file mode 100644 index 000000000..0eb1a9d2d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_signTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006036, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006037, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006038, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006039, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.sign.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006040, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006041, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006042, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.sign.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006043, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006044, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006045, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.sign.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006046, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006047, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006048, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.sign.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006049, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006050, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006051, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.sign.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006052, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006053, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006054, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.sign.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006055, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006056, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006057, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.sign.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006058, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.sign.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006059, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.sign.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_smoothstepTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_smoothstepTestCase.cpp new file mode 100644 index 000000000..a6d0eccec --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_smoothstepTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006370, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006371, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006372, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006373, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006374, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006375, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006376, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.smoothstep.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006377, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006378, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006379, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006380, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006381, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006382, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.smoothstep.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006383, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006384, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006385, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006386, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006387, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006388, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.smoothstep.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006389, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006390, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006391, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006392, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.smoothstep.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006393, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.smoothstep.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006394, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.lowp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006395, + "dEQP-GLES2.functional.shaders.operator.common", + "_functions.smoothstep.lowp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006396, + "dEQP-GLES2.functional.shaders.operator.common_", + "functions.smoothstep.mediump_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006397, + "dEQP-GLES2.functional.shaders.operator.common_f", + "unctions.smoothstep.mediump_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006398, + "dEQP-GLES2.functional.shaders.operator.common", + "_functions.smoothstep.highp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006399, + "dEQP-GLES2.functional.shaders.operator.common_", + "functions.smoothstep.highp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006400, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.lowp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006401, + "dEQP-GLES2.functional.shaders.operator.common", + "_functions.smoothstep.lowp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006402, + "dEQP-GLES2.functional.shaders.operator.common_", + "functions.smoothstep.mediump_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006403, + "dEQP-GLES2.functional.shaders.operator.common_f", + "unctions.smoothstep.mediump_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006404, + "dEQP-GLES2.functional.shaders.operator.common", + "_functions.smoothstep.highp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006405, + "dEQP-GLES2.functional.shaders.operator.common_", + "functions.smoothstep.highp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006406, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.smoothstep.lowp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006407, + "dEQP-GLES2.functional.shaders.operator.common", + "_functions.smoothstep.lowp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006408, + "dEQP-GLES2.functional.shaders.operator.common_", + "functions.smoothstep.mediump_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006409, + "dEQP-GLES2.functional.shaders.operator.common_f", + "unctions.smoothstep.mediump_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006410, + "dEQP-GLES2.functional.shaders.operator.common", + "_functions.smoothstep.highp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006411, + "dEQP-GLES2.functional.shaders.operator.common_", + "functions.smoothstep.highp_float_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_stepTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_stepTestCase.cpp new file mode 100644 index 000000000..8900bc1df --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2common_functions_stepTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006328, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006329, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006330, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006331, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006332, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006333, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006334, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.step.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006335, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006336, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006337, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006338, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006339, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006340, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.step.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006341, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006342, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006343, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006344, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006345, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006346, + "dEQP-GLES2.functional.shaders.operator", + ".common_functions.step.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006347, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006348, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006349, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006350, + "dEQP-GLES2.functional.shaders.operator.", + "common_functions.step.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006351, + "dEQP-GLES2.functional.shaders.operator.c", + "ommon_functions.step.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006352, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.lowp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006353, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.step.lowp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006354, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.step.mediump_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006355, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.step.mediump_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006356, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.step.highp_float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006357, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.step.highp_float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006358, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.lowp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006359, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.step.lowp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006360, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.step.mediump_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006361, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.step.mediump_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006362, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.step.highp_float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006363, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.step.highp_float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006364, + "dEQP-GLES2.functional.shaders.operator.co", + "mmon_functions.step.lowp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006365, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.step.lowp_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006366, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.step.mediump_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006367, + "dEQP-GLES2.functional.shaders.operator.commo", + "n_functions.step.mediump_float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006368, + "dEQP-GLES2.functional.shaders.operator.com", + "mon_functions.step.highp_float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006369, + "dEQP-GLES2.functional.shaders.operator.comm", + "on_functions.step.highp_float_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_fragmentTestCase.cpp new file mode 100644 index 000000000..f97d5d129 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_fragmentTestCase.cpp @@ -0,0 +1,224 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009082, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009083, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009084, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009085, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009086, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009087, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009088, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009089, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009090, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009091, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009092, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009093, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009094, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009095, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009096, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009097, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009098, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009099, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009100, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009101, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009102, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009103, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009104, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009105, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009106, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009107, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009108, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009109, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009110, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009111, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009112, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009113, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009114, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009115, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009116, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009117, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009118, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009119, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009120, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009121, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009122, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009123, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009124, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009125, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009126, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009127, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009128, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009129, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009130, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009131, + "dEQP-GLES2.functional.shaders.r", + "andom.comparison_ops.fragment.49"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_vertexTestCase.cpp new file mode 100644 index 000000000..4c9dfb001 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2comparison_ops_vertexTestCase.cpp @@ -0,0 +1,224 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009032, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009033, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009034, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009035, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009036, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009037, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009038, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009039, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009040, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009041, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009042, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009043, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009044, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009045, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009046, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009047, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009048, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009049, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009050, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009051, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009052, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009053, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009054, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009055, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009056, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009057, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009058, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009059, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009060, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009061, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009062, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009063, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009064, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009065, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009066, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009067, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009068, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009069, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009070, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009071, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009072, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009073, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009074, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009075, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009076, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009077, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009078, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009079, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009080, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009081, + "dEQP-GLES2.functional.shaders.", + "random.comparison_ops.vertex.49"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_2dTestCase.cpp new file mode 100644 index 000000000..7382e9a55 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_2dTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010871, + "dEQP-GLES2.functional.textu", + "re.completeness.2d.npot_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010872, + "dEQP-GLES2.functional.texture.c", + "ompleteness.2d.npot_size_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010873, + "dEQP-GLES2.functional.texture.c", + "ompleteness.2d.npot_size_level_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010874, + "dEQP-GLES2.functional.texture.com", + "pleteness.2d.not_positive_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010875, + "dEQP-GLES2.functional.texture.compl", + "eteness.2d.format_mismatch_rgb_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010876, + "dEQP-GLES2.functional.texture.compl", + "eteness.2d.format_mismatch_rgba_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010877, + "dEQP-GLES2.functional.texture.completeness.", + "2d.format_mismatch_luminance_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010878, + "dEQP-GLES2.functional.texture.completeness.", + "2d.format_mismatch_luminance_alpha_luminance"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010879, + "dEQP-GLES2.functional.texture.", + "completeness.2d.missing_level_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010880, + "dEQP-GLES2.functional.texture.", + "completeness.2d.missing_level_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010881, + "dEQP-GLES2.functional.texture.co", + "mpleteness.2d.last_level_missing"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010882, + "dEQP-GLES2.functional.texture", + ".completeness.2d.npot_t_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010883, + "dEQP-GLES2.functional.texture", + ".completeness.2d.npot_s_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010884, + "dEQP-GLES2.functional.texture.", + "completeness.2d.npot_all_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010885, + "dEQP-GLES2.functional.texture.com", + "pleteness.2d.npot_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010886, + "dEQP-GLES2.functional.texture.c", + "ompleteness.2d.repeat_width_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010887, + "dEQP-GLES2.functional.texture.co", + "mpleteness.2d.repeat_height_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010888, + "dEQP-GLES2.functional.textur", + "e.completeness.2d.extra_level"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010889, + "dEQP-GLES2.functional.texture", + ".completeness.2d.empty_object"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_attachment_combinationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_attachment_combinationsTestCase.cpp new file mode 100644 index 000000000..293184d44 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_attachment_combinationsTestCase.cpp @@ -0,0 +1,352 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012935, + "dEQP-GLES2.functional.fbo.completeness.at", + "tachment_combinations.none_none_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012936, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012937, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012938, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012939, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012940, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012941, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012942, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012943, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_none_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012944, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_rbo_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012945, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_rbo_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012946, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_rbo_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012947, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_rbo_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012948, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_rbo_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012949, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_rbo_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012950, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_rbo_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012951, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_rbo_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012952, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_rbo_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012953, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_tex_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012954, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_tex_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012955, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_tex_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012956, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_tex_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012957, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_tex_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012958, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_tex_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012959, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.none_tex_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012960, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_tex_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012961, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.none_tex_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012962, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_none_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012963, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_none_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012964, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_none_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012965, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_none_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012966, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_none_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012967, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_none_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012968, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_none_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012969, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_none_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012970, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_none_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012971, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_rbo_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012972, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012973, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012974, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012975, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012976, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012977, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012978, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012979, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_rbo_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012980, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.rbo_tex_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012981, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012982, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012983, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012984, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012985, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012986, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012987, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012988, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.rbo_tex_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012989, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_none_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012990, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_none_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012991, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_none_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012992, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_none_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012993, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_none_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012994, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_none_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012995, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_none_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012996, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_none_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012997, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_none_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012998, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_rbo_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012999, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013000, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013001, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013002, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013003, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013004, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013005, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013006, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_rbo_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013007, + "dEQP-GLES2.functional.fbo.completeness.a", + "ttachment_combinations.tex_tex_none_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013008, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_none_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013009, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_none_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013010, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_rbo_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013011, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_rbo_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013012, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_rbo_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013013, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_tex_none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013014, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_tex_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013015, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.tex_tex_tex_tex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_013016, + "dEQP-GLES2.functional.fbo.completeness.", + "attachment_combinations.exists_supported"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_cubeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_cubeTestCase.cpp new file mode 100644 index 000000000..bce2f4683 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_cubeTestCase.cpp @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010890, + "dEQP-GLES2.functional.texture.co", + "mpleteness.cube.npot_size_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010891, + "dEQP-GLES2.functional.texture.co", + "mpleteness.cube.npot_size_level_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010892, + "dEQP-GLES2.functional.texture.compl", + "eteness.cube.npot_size_level_0_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010893, + "dEQP-GLES2.functional.texture.compl", + "eteness.cube.npot_size_level_1_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010894, + "dEQP-GLES2.functional.texture.comp", + "leteness.cube.not_positive_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010895, + "dEQP-GLES2.functional.texture.completene", + "ss.cube.format_mismatch_rgb_rgba_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010896, + "dEQP-GLES2.functional.texture.completene", + "ss.cube.format_mismatch_rgba_rgb_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010897, + "dEQP-GLES2.functional.texture.completeness.cube.", + "format_mismatch_luminance_luminance_alpha_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010898, + "dEQP-GLES2.functional.texture.completeness.cube.", + "format_mismatch_luminance_alpha_luminance_level_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010899, + "dEQP-GLES2.functional.texture.completeness.", + "cube.format_mismatch_rgb_rgba_level_0_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010900, + "dEQP-GLES2.functional.texture.completeness.", + "cube.format_mismatch_rgba_rgb_level_0_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010901, + "dEQP-GLES2.functional.texture.c", + "ompleteness.cube.missing_level_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010902, + "dEQP-GLES2.functional.texture.c", + "ompleteness.cube.missing_level_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010903, + "dEQP-GLES2.functional.texture.comp", + "leteness.cube.missing_level_1_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010904, + "dEQP-GLES2.functional.texture.comp", + "leteness.cube.missing_level_3_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010905, + "dEQP-GLES2.functional.texture.", + "completeness.cube.npot_t_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010906, + "dEQP-GLES2.functional.texture.", + "completeness.cube.npot_s_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010907, + "dEQP-GLES2.functional.texture.c", + "ompleteness.cube.npot_all_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010908, + "dEQP-GLES2.functional.texture.comp", + "leteness.cube.npot_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010909, + "dEQP-GLES2.functional.texture", + ".completeness.cube.extra_level"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010910, + "dEQP-GLES2.functional.texture.", + "completeness.cube.empty_object"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_sizeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_sizeTestCase.cpp new file mode 100644 index 000000000..22e724da1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2completeness_sizeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013017, + "dEQP-GLES2.functional.fb", + "o.completeness.size.zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013018, + "dEQP-GLES2.functional.fbo.", + "completeness.size.distinct"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_combinedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_combinedTestCase.cpp new file mode 100644 index 000000000..1136bd268 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_combinedTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009332, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009333, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009334, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009335, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009336, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009337, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009338, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009339, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009340, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009341, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009342, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009343, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009344, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009345, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009346, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009347, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009348, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009349, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009350, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009351, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009352, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009353, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009354, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009355, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009356, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009357, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009358, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009359, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009360, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009361, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009362, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009363, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009364, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009365, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009366, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009367, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009368, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009369, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009370, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009371, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009372, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009373, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009374, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009375, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009376, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009377, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009378, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009379, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009380, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009381, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009382, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009383, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009384, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009385, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009386, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009387, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009388, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009389, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009390, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009391, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009392, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009393, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009394, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009395, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009396, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009397, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009398, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009399, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009400, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009401, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009402, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009403, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009404, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009405, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009406, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009407, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009408, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009409, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009410, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009411, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009412, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009413, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009414, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009415, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009416, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009417, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009418, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009419, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009420, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009421, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009422, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009423, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009424, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009425, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009426, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009427, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009428, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009429, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009430, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009431, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.combined.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_fragmentTestCase.cpp new file mode 100644 index 000000000..8e952cfe5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_fragmentTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009232, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009233, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009234, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009235, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009236, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009237, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009238, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009239, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009240, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009241, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009242, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009243, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009244, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009245, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009246, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009247, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009248, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009249, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009250, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009251, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009252, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009253, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009254, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009255, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009256, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009257, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009258, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009259, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009260, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009261, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009262, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009263, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009264, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009265, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009266, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009267, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009268, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009269, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009270, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009271, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009272, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009273, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009274, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009275, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009276, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009277, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009278, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009279, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009280, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009281, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009282, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009283, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009284, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009285, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009286, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009287, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009288, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009289, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009290, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009291, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009292, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009293, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009294, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009295, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009296, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009297, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009298, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009299, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009300, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009301, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009302, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009303, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009304, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009305, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009306, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009307, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009308, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009309, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009310, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009311, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009312, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009313, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009314, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009315, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009316, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009317, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009318, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009319, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009320, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009321, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009322, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009323, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009324, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009325, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009326, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009327, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009328, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009329, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009330, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009331, + "dEQP-GLES2.functional.shaders.", + "random.conditionals.fragment.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_ifTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_ifTestCase.cpp new file mode 100644 index 000000000..2102a3e1b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_ifTestCase.cpp @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001301, + "dEQP-GLES2.functional.shaders.cond", + "itionals.if.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001302, + "dEQP-GLES2.functional.shaders.condi", + "tionals.if.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001303, + "dEQP-GLES2.functional.shaders.condi", + "tionals.if.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001304, + "dEQP-GLES2.functional.shaders.condit", + "ionals.if.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001305, + "dEQP-GLES2.functional.shaders.condit", + "ionals.if.sequence_statements_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001306, + "dEQP-GLES2.functional.shaders.conditi", + "onals.if.sequence_statements_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001307, + "dEQP-GLES2.functional.shaders.condi", + "tionals.if.sequence_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001308, + "dEQP-GLES2.functional.shaders.condit", + "ionals.if.sequence_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001309, + "dEQP-GLES2.functional.shaders.condi", + "tionals.if.complex_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001310, + "dEQP-GLES2.functional.shaders.condit", + "ionals.if.complex_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001311, + "dEQP-GLES2.functional.shaders.", + "conditionals.if.if_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001312, + "dEQP-GLES2.functional.shaders.c", + "onditionals.if.if_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001313, + "dEQP-GLES2.functional.shaders.c", + "onditionals.if.if_elseif_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001314, + "dEQP-GLES2.functional.shaders.co", + "nditionals.if.if_elseif_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001315, + "dEQP-GLES2.functional.shaders.con", + "ditionals.if.if_elseif_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001316, + "dEQP-GLES2.functional.shaders.cond", + "itionals.if.if_elseif_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001317, + "dEQP-GLES2.functional.shaders.condit", + "ionals.if.mixed_if_elseif_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001318, + "dEQP-GLES2.functional.shaders.conditi", + "onals.if.mixed_if_elseif_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001319, + "dEQP-GLES2.functional.shaders.conditionals.", + "if.constant_conditional_assignment_to_matrix"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001320, + "dEQP-GLES2.functional.shaders.conditionals", + ".if.input_conditional_assignment_to_matrix"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001321, + "dEQP-GLES2.functional.shaders.conditionals.", + "if.uniform_conditional_assignment_to_matrix"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_invalid_ifTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_invalid_ifTestCase.cpp new file mode 100644 index 000000000..29c4a70b5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_invalid_ifTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001322, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.missing_parenthesis_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001323, + "dEQP-GLES2.functional.shaders.conditional", + "s.invalid_if.missing_parenthesis_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001324, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.unclosed_parenthesis_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001325, + "dEQP-GLES2.functional.shaders.conditional", + "s.invalid_if.unclosed_parenthesis_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001326, + "dEQP-GLES2.functional.shaders.conditi", + "onals.invalid_if.int_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001327, + "dEQP-GLES2.functional.shaders.conditio", + "nals.invalid_if.int_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001328, + "dEQP-GLES2.functional.shaders.condition", + "als.invalid_if.int_zero_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001329, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.int_zero_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001330, + "dEQP-GLES2.functional.shaders.condition", + "als.invalid_if.int_one_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001331, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.int_one_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001332, + "dEQP-GLES2.functional.shaders.conditional", + "s.invalid_if.int_uniform_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001333, + "dEQP-GLES2.functional.shaders.conditionals", + ".invalid_if.int_uniform_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001334, + "dEQP-GLES2.functional.shaders.conditio", + "nals.invalid_if.float_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001335, + "dEQP-GLES2.functional.shaders.condition", + "als.invalid_if.float_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001336, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.float_zero_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001337, + "dEQP-GLES2.functional.shaders.conditional", + "s.invalid_if.float_zero_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001338, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.float_one_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001339, + "dEQP-GLES2.functional.shaders.conditional", + "s.invalid_if.float_one_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001340, + "dEQP-GLES2.functional.shaders.condition", + "als.invalid_if.sampler_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001341, + "dEQP-GLES2.functional.shaders.conditiona", + "ls.invalid_if.sampler_condition_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_vertexTestCase.cpp new file mode 100644 index 000000000..9e048881d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conditionals_vertexTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009132, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009133, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009134, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009135, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009136, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009137, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009138, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009139, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009140, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009141, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009142, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009143, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009144, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009145, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009146, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009147, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009148, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009149, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009150, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009151, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009152, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009153, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009154, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009155, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009156, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009157, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009158, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009159, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009160, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009161, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009162, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009163, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009164, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009165, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009166, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009167, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009168, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009169, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009170, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009171, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009172, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009173, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009174, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009175, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009176, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009177, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009178, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009179, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009180, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009181, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009182, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009183, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009184, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009185, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009186, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009187, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009188, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009189, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009190, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009191, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009192, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009193, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009194, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009195, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009196, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009197, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009198, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009199, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009200, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009201, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009202, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009203, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009204, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009205, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009206, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009207, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009208, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009209, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009210, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009211, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009212, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009213, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009214, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009215, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009216, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009217, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009218, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009219, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009220, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009221, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009222, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009223, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009224, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009225, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009226, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009227, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009228, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009229, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009230, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009231, + "dEQP-GLES2.functional.shaders", + ".random.conditionals.vertex.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp new file mode 100644 index 000000000..7478bca7f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007894, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.complex_types.struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007895, + "dEQP-GLES2.functional.shaders.constant_e", + "xpressions.complex_types.struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007896, + "dEQP-GLES2.functional.shaders.constant_exp", + "ressions.complex_types.nested_struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007897, + "dEQP-GLES2.functional.shaders.constant_expr", + "essions.complex_types.nested_struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007898, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.complex_types.array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007899, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.complex_types.array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007900, + "dEQP-GLES2.functional.shaders.constant_express", + "ions.complex_types.nested_builtin_funcs_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007901, + "dEQP-GLES2.functional.shaders.constant_expressi", + "ons.complex_types.nested_builtin_funcs_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_operatorsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_operatorsTestCase.cpp new file mode 100644 index 000000000..4189e83ef --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_operatorsTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007878, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.operators.math_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007879, + "dEQP-GLES2.functional.shaders.constant_e", + "xpressions.operators.math_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007880, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.math_vec_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007881, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.operators.math_vec_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007882, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.math_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007883, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.operators.math_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007884, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.math_ivec_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007885, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.operators.math_ivec_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007886, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.math_mat_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007887, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.operators.math_mat_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007888, + "dEQP-GLES2.functional.shaders.constan", + "t_expressions.operators.logical_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007889, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.logical_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007890, + "dEQP-GLES2.functional.shaders.constan", + "t_expressions.operators.compare_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007891, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.compare_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007892, + "dEQP-GLES2.functional.shaders.constant", + "_expressions.operators.selection_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007893, + "dEQP-GLES2.functional.shaders.constant_", + "expressions.operators.selection_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_trivialTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_trivialTestCase.cpp new file mode 100644 index 000000000..4c6ba6cbb --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2constant_expressions_trivialTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007870, + "dEQP-GLES2.functional.shaders.const", + "ant_expressions.trivial.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007871, + "dEQP-GLES2.functional.shaders.consta", + "nt_expressions.trivial.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007872, + "dEQP-GLES2.functional.shaders.cons", + "tant_expressions.trivial.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007873, + "dEQP-GLES2.functional.shaders.const", + "ant_expressions.trivial.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007874, + "dEQP-GLES2.functional.shaders.const", + "ant_expressions.trivial.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007875, + "dEQP-GLES2.functional.shaders.consta", + "nt_expressions.trivial.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007876, + "dEQP-GLES2.functional.shaders.const", + "ant_expressions.trivial.cast_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007877, + "dEQP-GLES2.functional.shaders.consta", + "nt_expressions.trivial.cast_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_combineTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_combineTestCase.cpp new file mode 100644 index 000000000..6c403dcb8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_combineTestCase.cpp @@ -0,0 +1,200 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001257, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_combine.vec2_vec2_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001258, + "dEQP-GLES2.functional.shaders.conversions", + ".matrix_combine.vec2_vec2_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001259, + "dEQP-GLES2.functional.shaders.conversions", + ".matrix_combine.bvec2_bvec2_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001260, + "dEQP-GLES2.functional.shaders.conversions.", + "matrix_combine.bvec2_bvec2_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001261, + "dEQP-GLES2.functional.shaders.conversions.matri", + "x_combine.float_float_float_float_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001262, + "dEQP-GLES2.functional.shaders.conversions.matrix", + "_combine.float_float_float_float_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001263, + "dEQP-GLES2.functional.shaders.conversions.m", + "atrix_combine.int_int_int_int_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001264, + "dEQP-GLES2.functional.shaders.conversions.ma", + "trix_combine.int_int_int_int_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001265, + "dEQP-GLES2.functional.shaders.conversions.mat", + "rix_combine.bool_bool_bool_bool_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001266, + "dEQP-GLES2.functional.shaders.conversions.matr", + "ix_combine.bool_bool_bool_bool_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001267, + "dEQP-GLES2.functional.shaders.conversions.mat", + "rix_combine.bool_float_int_bool_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001268, + "dEQP-GLES2.functional.shaders.conversions.matr", + "ix_combine.bool_float_int_bool_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001269, + "dEQP-GLES2.functional.shaders.conversions", + ".matrix_combine.vec2_ivec2_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001270, + "dEQP-GLES2.functional.shaders.conversions.", + "matrix_combine.vec2_ivec2_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001271, + "dEQP-GLES2.functional.shaders.conversions", + ".matrix_combine.vec2_bvec2_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001272, + "dEQP-GLES2.functional.shaders.conversions.", + "matrix_combine.vec2_bvec2_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001273, + "dEQP-GLES2.functional.shaders.conversions", + ".matrix_combine.bvec3_float_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001274, + "dEQP-GLES2.functional.shaders.conversions.", + "matrix_combine.bvec3_float_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001275, + "dEQP-GLES2.functional.shaders.conversions", + ".matrix_combine.vec3_float_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001276, + "dEQP-GLES2.functional.shaders.conversions.", + "matrix_combine.vec3_float_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001277, + "dEQP-GLES2.functional.shaders.conversions.", + "matrix_combine.int_ivec2_int_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001278, + "dEQP-GLES2.functional.shaders.conversions.m", + "atrix_combine.int_ivec2_int_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001279, + "dEQP-GLES2.functional.shaders.conversions.ma", + "trix_combine.bool_float_ivec2_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001280, + "dEQP-GLES2.functional.shaders.conversions.mat", + "rix_combine.bool_float_ivec2_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001281, + "dEQP-GLES2.functional.shaders.conversions.m", + "atrix_combine.vec3_vec3_vec3_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001282, + "dEQP-GLES2.functional.shaders.conversions.ma", + "trix_combine.vec3_vec3_vec3_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001283, + "dEQP-GLES2.functional.shaders.conversions.ma", + "trix_combine.ivec3_ivec3_ivec3_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001284, + "dEQP-GLES2.functional.shaders.conversions.mat", + "rix_combine.ivec3_ivec3_ivec3_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001285, + "dEQP-GLES2.functional.shaders.conversions.matrix_combi", + "ne.vec2_ivec2_float_float_int_bool_bool_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001286, + "dEQP-GLES2.functional.shaders.conversions.matrix_combin", + "e.vec2_ivec2_float_float_int_bool_bool_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001287, + "dEQP-GLES2.functional.shaders.conversions.matrix_combi", + "ne.bool_float_int_vec2_bool_bvec2_float_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001288, + "dEQP-GLES2.functional.shaders.conversions.matrix_combin", + "e.bool_float_int_vec2_bool_bvec2_float_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001289, + "dEQP-GLES2.functional.shaders.conversions.matrix", + "_combine.bool_bvec2_int_vec4_bool_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001290, + "dEQP-GLES2.functional.shaders.conversions.matrix_", + "combine.bool_bvec2_int_vec4_bool_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001291, + "dEQP-GLES2.functional.shaders.conversions.matrix_", + "combine.float_bvec4_ivec2_bool_bool_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001292, + "dEQP-GLES2.functional.shaders.conversions.matrix_c", + "ombine.float_bvec4_ivec2_bool_bool_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001293, + "dEQP-GLES2.functional.shaders.conversions.mat", + "rix_combine.vec4_vec4_vec4_vec4_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001294, + "dEQP-GLES2.functional.shaders.conversions.matr", + "ix_combine.vec4_vec4_vec4_vec4_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001295, + "dEQP-GLES2.functional.shaders.conversions.matri", + "x_combine.ivec4_ivec4_ivec4_ivec4_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001296, + "dEQP-GLES2.functional.shaders.conversions.matrix", + "_combine.ivec4_ivec4_ivec4_ivec4_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001297, + "dEQP-GLES2.functional.shaders.conversions.matri", + "x_combine.bvec4_bvec4_bvec4_bvec4_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001298, + "dEQP-GLES2.functional.shaders.conversions.matrix", + "_combine.bvec4_bvec4_bvec4_bvec4_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001299, + "dEQP-GLES2.functional.shaders.conversions.matrix_combin", + "e.float_ivec3_bvec3_vec4_ivec2_float_vec2_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001300, + "dEQP-GLES2.functional.shaders.conversions.matrix_combine", + ".float_ivec3_bvec3_vec4_ivec2_float_vec2_to_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_to_matrixTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_to_matrixTestCase.cpp new file mode 100644 index 000000000..466de3ffb --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_matrix_to_matrixTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001083, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat4_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001084, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat4_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001085, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat4_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001086, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat4_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001087, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat4_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001088, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat4_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001089, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat3_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001090, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat3_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001091, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat3_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001092, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat3_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001093, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat3_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001094, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat3_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001095, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat2_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001096, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat2_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001097, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat2_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001098, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat2_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001099, + "dEQP-GLES2.functional.shaders.conversio", + "ns.matrix_to_matrix.mat2_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001100, + "dEQP-GLES2.functional.shaders.conversion", + "s.matrix_to_matrix.mat2_to_mat2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_matrixTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_matrixTestCase.cpp new file mode 100644 index 000000000..52e9eeae3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_matrixTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001065, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.float_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001066, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_matrix.float_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001067, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.float_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001068, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_matrix.float_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001069, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.float_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001070, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_matrix.float_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001071, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_matrix.int_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001072, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.int_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001073, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_matrix.int_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001074, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.int_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001075, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_matrix.int_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001076, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.int_to_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001077, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.bool_to_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001078, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_matrix.bool_to_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001079, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.bool_to_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001080, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_matrix.bool_to_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001081, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_matrix.bool_to_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001082, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_matrix.bool_to_mat2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp new file mode 100644 index 000000000..068845dd0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000777, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_scalar.float_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000778, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_scalar.float_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000779, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.float_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000780, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_scalar.float_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000781, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.float_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000782, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_scalar.float_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000783, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.int_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000784, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_scalar.int_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000785, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_scalar.int_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000786, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.int_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000787, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_scalar.int_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000788, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.int_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000789, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.bool_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000790, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_scalar.bool_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000791, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_scalar.bool_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000792, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.bool_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000793, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_scalar.bool_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000794, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_scalar.bool_to_bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp new file mode 100644 index 000000000..1df2c69a1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp @@ -0,0 +1,240 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000795, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.float_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000796, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000797, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.float_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000798, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000799, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.float_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000800, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000801, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000802, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_vector.float_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000803, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000804, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_vector.float_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000805, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000806, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_vector.float_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000807, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000808, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_vector.float_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000809, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000810, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_vector.float_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000811, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.float_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000812, + "dEQP-GLES2.functional.shaders.conversions", + ".scalar_to_vector.float_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000813, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_vector.int_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000814, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000815, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_vector.int_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000816, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000817, + "dEQP-GLES2.functional.shaders.conversi", + "ons.scalar_to_vector.int_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000818, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000819, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000820, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.int_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000821, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000822, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.int_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000823, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000824, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.int_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000825, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000826, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.int_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000827, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000828, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.int_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000829, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.int_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000830, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.int_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000831, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000832, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000833, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000834, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000835, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000836, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000837, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000838, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000839, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000840, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000841, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000842, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000843, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000844, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000845, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000846, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000847, + "dEQP-GLES2.functional.shaders.conversio", + "ns.scalar_to_vector.bool_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000848, + "dEQP-GLES2.functional.shaders.conversion", + "s.scalar_to_vector.bool_to_bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_combineTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_combineTestCase.cpp new file mode 100644 index 000000000..1e489a32e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_combineTestCase.cpp @@ -0,0 +1,648 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001101, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.vec2_vec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001102, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_vec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001103, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_vec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001104, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_vec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001105, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_vec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001106, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_vec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001107, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bvec2_bvec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001108, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_bvec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001109, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_bvec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001110, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bvec2_bvec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001111, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_bvec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001112, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bvec2_bvec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001113, + "dEQP-GLES2.functional.shaders.conversions.vecto", + "r_combine.float_float_float_float_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001114, + "dEQP-GLES2.functional.shaders.conversions.vector", + "_combine.float_float_float_float_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001115, + "dEQP-GLES2.functional.shaders.conversions.vector", + "_combine.float_float_float_float_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001116, + "dEQP-GLES2.functional.shaders.conversions.vector_", + "combine.float_float_float_float_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001117, + "dEQP-GLES2.functional.shaders.conversions.vector", + "_combine.float_float_float_float_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001118, + "dEQP-GLES2.functional.shaders.conversions.vector_", + "combine.float_float_float_float_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001119, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.int_int_int_int_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001120, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.int_int_int_int_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001121, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.int_int_int_int_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001122, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.int_int_int_int_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001123, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.int_int_int_int_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001124, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.int_int_int_int_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001125, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.bool_bool_bool_bool_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001126, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.bool_bool_bool_bool_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001127, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.bool_bool_bool_bool_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001128, + "dEQP-GLES2.functional.shaders.conversions.vecto", + "r_combine.bool_bool_bool_bool_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001129, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.bool_bool_bool_bool_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001130, + "dEQP-GLES2.functional.shaders.conversions.vecto", + "r_combine.bool_bool_bool_bool_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001131, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.bool_float_int_bool_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001132, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.bool_float_int_bool_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001133, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.bool_float_int_bool_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001134, + "dEQP-GLES2.functional.shaders.conversions.vecto", + "r_combine.bool_float_int_bool_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001135, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.bool_float_int_bool_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001136, + "dEQP-GLES2.functional.shaders.conversions.vecto", + "r_combine.bool_float_int_bool_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001137, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_ivec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001138, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_ivec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001139, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_ivec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001140, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_ivec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001141, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_ivec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001142, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_ivec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001143, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_bvec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001144, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_bvec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001145, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_bvec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001146, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_bvec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001147, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_bvec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001148, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_bvec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001149, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bvec3_float_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001150, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec3_float_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001151, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec3_float_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001152, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bvec3_float_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001153, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec3_float_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001154, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bvec3_float_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001155, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec3_float_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001156, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec3_float_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001157, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec3_float_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001158, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec3_float_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001159, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec3_float_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001160, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec3_float_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001161, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.int_ivec2_int_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001162, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.int_ivec2_int_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001163, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.int_ivec2_int_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001164, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.int_ivec2_int_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001165, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.int_ivec2_int_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001166, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.int_ivec2_int_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001167, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_float_ivec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001168, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.bool_float_ivec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001169, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_float_ivec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001170, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.bool_float_ivec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001171, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_float_ivec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001172, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.bool_float_ivec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001173, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.float_float_float_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001174, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.float_float_float_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001175, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.float_float_float_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001176, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.float_float_float_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001177, + "dEQP-GLES2.functional.shaders.conversions.vec", + "tor_combine.float_float_float_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001178, + "dEQP-GLES2.functional.shaders.conversions.vect", + "or_combine.float_float_float_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001179, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.int_int_int_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001180, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.int_int_int_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001181, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.int_int_int_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001182, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.int_int_int_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001183, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.int_int_int_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001184, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.int_int_int_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001185, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bool_bool_bool_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001186, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_bool_bool_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001187, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bool_bool_bool_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001188, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_bool_bool_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001189, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bool_bool_bool_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001190, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_bool_bool_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001191, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bool_float_int_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001192, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_float_int_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001193, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bool_float_int_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001194, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_float_int_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001195, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bool_float_int_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001196, + "dEQP-GLES2.functional.shaders.conversions.ve", + "ctor_combine.bool_float_int_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001197, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.vec2_bool_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001198, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_bool_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001199, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_bool_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001200, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_bool_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001201, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.vec2_bool_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001202, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.vec2_bool_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001203, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bvec2_float_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001204, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_float_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001205, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_float_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001206, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bvec2_float_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001207, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_float_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001208, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.bvec2_float_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001209, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.bvec2_int_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001210, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bvec2_int_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001211, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bvec2_int_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001212, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_int_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001213, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bvec2_int_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001214, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bvec2_int_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001215, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bool_ivec2_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001216, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bool_ivec2_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001217, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bool_ivec2_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001218, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bool_ivec2_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001219, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bool_ivec2_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001220, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bool_ivec2_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001221, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_float_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001222, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_float_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001223, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_float_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001224, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.float_float_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001225, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_float_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001226, + "dEQP-GLES2.functional.shaders.conversions.v", + "ector_combine.float_float_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001227, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_combine.int_int_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001228, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.int_int_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001229, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.int_int_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001230, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.int_int_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001231, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.int_int_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001232, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.int_int_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001233, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.bool_bool_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001234, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bool_bool_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001235, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bool_bool_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001236, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bool_bool_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001237, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.bool_bool_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001238, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.bool_bool_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001239, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.float_int_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001240, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_int_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001241, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_int_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001242, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_int_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001243, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_int_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001244, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_int_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001245, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_bool_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001246, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_bool_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001247, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_bool_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001248, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_bool_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001249, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.float_bool_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001250, + "dEQP-GLES2.functional.shaders.conversions.", + "vector_combine.float_bool_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001251, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.int_bool_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001252, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.int_bool_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001253, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.int_bool_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001254, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.int_bool_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001255, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_combine.int_bool_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001256, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_combine.int_bool_to_bvec2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_illegalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_illegalTestCase.cpp new file mode 100644 index 000000000..13c7b0b91 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_illegalTestCase.cpp @@ -0,0 +1,240 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000903, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec2_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000904, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec2_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000905, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec2_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000906, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec2_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000907, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec2_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000908, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec2_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000909, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000910, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000911, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000912, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000913, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000914, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000915, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.ivec2_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000916, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec2_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000917, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec2_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000918, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.ivec2_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000919, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec2_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000920, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.ivec2_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000921, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.ivec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000922, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000923, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000924, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.ivec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000925, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000926, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.ivec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000927, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.bvec2_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000928, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec2_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000929, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec2_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000930, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.bvec2_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000931, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec2_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000932, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.bvec2_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000933, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.bvec2_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000934, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec2_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000935, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec2_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000936, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.bvec2_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000937, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec2_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000938, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.bvec2_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000939, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec3_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000940, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec3_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000941, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec3_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000942, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec3_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000943, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.vec3_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000944, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.vec3_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000945, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.ivec3_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000946, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec3_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000947, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec3_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000948, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.ivec3_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000949, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.ivec3_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000950, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.ivec3_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000951, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_illegal.bvec3_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000952, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec3_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000953, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec3_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000954, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.bvec3_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000955, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_illegal.bvec3_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000956, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_illegal.bvec3_to_bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp new file mode 100644 index 000000000..2c95f429c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp @@ -0,0 +1,240 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000849, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec2_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000850, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.vec2_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000851, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_to_scalar.vec2_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000852, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec2_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000853, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec2_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000854, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.vec2_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000855, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec3_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000856, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.vec3_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000857, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_to_scalar.vec3_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000858, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec3_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000859, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec3_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000860, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.vec3_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000861, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec4_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000862, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.vec4_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000863, + "dEQP-GLES2.functional.shaders.conversi", + "ons.vector_to_scalar.vec4_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000864, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec4_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000865, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.vec4_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000866, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.vec4_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000867, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec2_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000868, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_scalar.ivec2_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000869, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.ivec2_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000870, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec2_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000871, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.ivec2_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000872, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec2_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000873, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec3_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000874, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_scalar.ivec3_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000875, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.ivec3_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000876, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec3_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000877, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.ivec3_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000878, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec3_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000879, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec4_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000880, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_scalar.ivec4_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000881, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.ivec4_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000882, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec4_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000883, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.ivec4_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000884, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.ivec4_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000885, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec2_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000886, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_scalar.bvec2_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000887, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.bvec2_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000888, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec2_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000889, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.bvec2_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000890, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec2_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000891, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec3_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000892, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_scalar.bvec3_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000893, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.bvec3_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000894, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec3_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000895, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.bvec3_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000896, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec3_to_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000897, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec4_to_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000898, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_scalar.bvec4_to_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000899, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.bvec4_to_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000900, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec4_to_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000901, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_scalar.bvec4_to_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000902, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_scalar.bvec4_to_bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp new file mode 100644 index 000000000..fef1c065b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp @@ -0,0 +1,456 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000957, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000958, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000959, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000960, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000961, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000962, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000963, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000964, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000965, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000966, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000967, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000968, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000969, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000970, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000971, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000972, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000973, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec4_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000974, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec4_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000975, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.ivec4_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000976, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000977, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.ivec4_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000978, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000979, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.ivec4_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000980, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000981, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000982, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec4_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000983, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000984, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec4_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000985, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000986, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec4_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000987, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000988, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec4_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000989, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000990, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec4_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000991, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec4_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000992, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec4_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000993, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.bvec4_to_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000994, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000995, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.bvec4_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000996, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000997, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.bvec4_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000998, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000999, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001000, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec4_to_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001001, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001002, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec4_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001003, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001004, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec4_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001005, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001006, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec4_to_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001007, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001008, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec4_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001009, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec4_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001010, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec4_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001011, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec3_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001012, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec3_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001013, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec3_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001014, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec3_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001015, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec3_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001016, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec3_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001017, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec3_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001018, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec3_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001019, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec3_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001020, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec3_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001021, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec3_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001022, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec3_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001023, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.ivec3_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001024, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec3_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001025, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.ivec3_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001026, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec3_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001027, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec3_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001028, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec3_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001029, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec3_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001030, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec3_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001031, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec3_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001032, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec3_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001033, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec3_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001034, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec3_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001035, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.bvec3_to_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001036, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec3_to_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001037, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.bvec3_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001038, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec3_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001039, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec3_to_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001040, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec3_to_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001041, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec3_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001042, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec3_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001043, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec3_to_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001044, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec3_to_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001045, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec3_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001046, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec3_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001047, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec2_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001048, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec2_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001049, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec2_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001050, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec2_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001051, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.vec2_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001052, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.vec2_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001053, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.ivec2_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001054, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec2_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001055, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec2_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001056, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec2_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001057, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.ivec2_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001058, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.ivec2_to_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001059, + "dEQP-GLES2.functional.shaders.conversio", + "ns.vector_to_vector.bvec2_to_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001060, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec2_to_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001061, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec2_to_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001062, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec2_to_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001063, + "dEQP-GLES2.functional.shaders.conversion", + "s.vector_to_vector.bvec2_to_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_001064, + "dEQP-GLES2.functional.shaders.conversions", + ".vector_to_vector.bvec2_to_bvec2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_basicTestCase.cpp new file mode 100644 index 000000000..697687a37 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_basicTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010657, + "dEQP-GLES2.functional.texture.m", + "ipmap.cube.basic.linear_nearest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010658, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.basic.linear_linear"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_biasTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_biasTestCase.cpp new file mode 100644 index 000000000..fa4875fe3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_biasTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010661, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.bias.linear_nearest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010662, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.bias.linear_linear"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_filteringTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_filteringTestCase.cpp new file mode 100644 index 000000000..aeca77c08 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_filteringTestCase.cpp @@ -0,0 +1,168 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010956, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010957, + "dEQP-GLES2.functional.texture.vertex.", + "cube.filtering.nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010958, + "dEQP-GLES2.functional.texture.vertex.", + "cube.filtering.nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010959, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010960, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010961, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010962, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010963, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010964, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010965, + "dEQP-GLES2.functional.texture.verte", + "x.cube.filtering.linear_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010966, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010967, + "dEQP-GLES2.functional.texture.vertex", + ".cube.filtering.linear_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010968, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010969, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010970, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010971, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.nearest_mipmap_nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010972, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010973, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010974, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_nearest_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010975, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.linear_mipmap_nearest_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010976, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.linear_mipmap_nearest_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010977, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_nearest_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010978, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_nearest_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010979, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_nearest_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010980, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.nearest_mipmap_linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010981, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010982, + "dEQP-GLES2.functional.texture.vertex.cube.fi", + "ltering.nearest_mipmap_linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010983, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.nearest_mipmap_linear_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010984, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.nearest_mipmap_linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010985, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.nearest_mipmap_linear_linear_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010986, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_linear_nearest_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010987, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_linear_nearest_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010988, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_linear_nearest_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010989, + "dEQP-GLES2.functional.texture.vertex.cube.", + "filtering.linear_mipmap_linear_linear_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010990, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_linear_linear_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010991, + "dEQP-GLES2.functional.texture.vertex.cube.f", + "iltering.linear_mipmap_linear_linear_mirror"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_generateTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_generateTestCase.cpp new file mode 100644 index 000000000..f545c63ad --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_generateTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010663, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.generate.a8_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010664, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.generate.a8_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010665, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.generate.l8_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010666, + "dEQP-GLES2.functional.texture.", + "mipmap.cube.generate.l8_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010667, + "dEQP-GLES2.functional.texture.m", + "ipmap.cube.generate.la88_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010668, + "dEQP-GLES2.functional.texture.m", + "ipmap.cube.generate.la88_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010669, + "dEQP-GLES2.functional.texture.mi", + "pmap.cube.generate.rgb565_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010670, + "dEQP-GLES2.functional.texture.mi", + "pmap.cube.generate.rgb565_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010671, + "dEQP-GLES2.functional.texture.mi", + "pmap.cube.generate.rgb888_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010672, + "dEQP-GLES2.functional.texture.mi", + "pmap.cube.generate.rgb888_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010673, + "dEQP-GLES2.functional.texture.mip", + "map.cube.generate.rgba4444_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010674, + "dEQP-GLES2.functional.texture.mip", + "map.cube.generate.rgba4444_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010675, + "dEQP-GLES2.functional.texture.mip", + "map.cube.generate.rgba5551_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010676, + "dEQP-GLES2.functional.texture.mip", + "map.cube.generate.rgba5551_nicest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010677, + "dEQP-GLES2.functional.texture.mip", + "map.cube.generate.rgba8888_fastest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010678, + "dEQP-GLES2.functional.texture.mip", + "map.cube.generate.rgba8888_nicest"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_projectedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_projectedTestCase.cpp new file mode 100644 index 000000000..08aa5d57c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_projectedTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010659, + "dEQP-GLES2.functional.texture.mip", + "map.cube.projected.linear_nearest"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010660, + "dEQP-GLES2.functional.texture.mi", + "pmap.cube.projected.linear_linear"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_wrapTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_wrapTestCase.cpp new file mode 100644 index 000000000..e222b559e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2cube_wrapTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010992, + "dEQP-GLES2.functional.texture", + ".vertex.cube.wrap.clamp_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010993, + "dEQP-GLES2.functional.texture", + ".vertex.cube.wrap.clamp_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010994, + "dEQP-GLES2.functional.texture", + ".vertex.cube.wrap.clamp_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010995, + "dEQP-GLES2.functional.texture", + ".vertex.cube.wrap.repeat_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010996, + "dEQP-GLES2.functional.texture.", + "vertex.cube.wrap.repeat_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010997, + "dEQP-GLES2.functional.texture.", + "vertex.cube.wrap.repeat_mirror"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010998, + "dEQP-GLES2.functional.texture", + ".vertex.cube.wrap.mirror_clamp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010999, + "dEQP-GLES2.functional.texture.", + "vertex.cube.wrap.mirror_repeat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_011000, + "dEQP-GLES2.functional.texture.", + "vertex.cube.wrap.mirror_mirror"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp new file mode 100644 index 000000000..53ac9c0d8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2declarations_invalid_declarationsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001342, + "dEQP-GLES2.functional.shaders.declarations.i", + "nvalid_declarations.attribute_in_vertex_main"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001343, + "dEQP-GLES2.functional.shaders.declarations", + ".invalid_declarations.attribute_in_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001344, + "dEQP-GLES2.functional.shaders.declarations.", + "invalid_declarations.uniform_in_vertex_main"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001345, + "dEQP-GLES2.functional.shaders.declarations.i", + "nvalid_declarations.uniform_in_fragment_main"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001346, + "dEQP-GLES2.functional.shaders.declarations.", + "invalid_declarations.varying_in_vertex_main"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001347, + "dEQP-GLES2.functional.shaders.declarations.i", + "nvalid_declarations.varying_in_fragment_main"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp new file mode 100644 index 000000000..694d14e71 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_floatTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016417, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016418, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_2f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016419, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_3f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016420, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016421, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016422, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_2fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016423, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_3fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016424, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.float.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat2TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat2TestCase.cpp new file mode 100644 index 000000000..b35ff515a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat2TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016441, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat2.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016442, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat2.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016443, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat2.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016444, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat2.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat3TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat3TestCase.cpp new file mode 100644 index 000000000..a36e0489e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat3TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016445, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat3.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016446, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat3.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016447, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat3.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016448, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat3.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp new file mode 100644 index 000000000..7b0c8c29a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_mat4TestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016449, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat4.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016450, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat4.vertex_attrib_2f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016451, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat4.vertex_attrib_3f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016452, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.mat4.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016453, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat4.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016454, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat4.vertex_attrib_2fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016455, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat4.vertex_attrib_3fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016456, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.mat4.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec2TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec2TestCase.cpp new file mode 100644 index 000000000..5a08888ad --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec2TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016425, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec2.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016426, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec2.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016427, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec2.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016428, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec2.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec3TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec3TestCase.cpp new file mode 100644 index 000000000..0b8109c56 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec3TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016429, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec3.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016430, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec3.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016431, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec3.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016432, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec3.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp new file mode 100644 index 000000000..f725173a8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2default_vertex_attrib_vec4TestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016433, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec4.vertex_attrib_1f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016434, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec4.vertex_attrib_2f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016435, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec4.vertex_attrib_3f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016436, + "dEQP-GLES2.functional.default_ve", + "rtex_attrib.vec4.vertex_attrib_4f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016437, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec4.vertex_attrib_1fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016438, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec4.vertex_attrib_2fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016439, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec4.vertex_attrib_3fv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016440, + "dEQP-GLES2.functional.default_ver", + "tex_attrib.vec4.vertex_attrib_4fv"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_compareTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_compareTestCase.cpp new file mode 100644 index 000000000..2a43d4c64 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_compareTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015271, + "dEQP-GLES2.functional.de", + "pth_range.compare.default"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015272, + "dEQP-GLES2.functional.de", + "pth_range.compare.reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015273, + "dEQP-GLES2.functional.depth", + "_range.compare.zero_to_half"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015274, + "dEQP-GLES2.functional.dept", + "h_range.compare.half_to_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015275, + "dEQP-GLES2.functional.depth", + "_range.compare.half_to_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015276, + "dEQP-GLES2.functional.dept", + "h_range.compare.one_to_half"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015277, + "dEQP-GLES2.functional.depth", + "_range.compare.third_to_0_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015278, + "dEQP-GLES2.functional.depth", + "_range.compare.0_8_to_third"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015279, + "dEQP-GLES2.functional.depth", + "_range.compare.zero_to_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015280, + "dEQP-GLES2.functional.depth", + "_range.compare.half_to_half"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015281, + "dEQP-GLES2.functional.dept", + "h_range.compare.one_to_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015282, + "dEQP-GLES2.functional.dept", + "h_range.compare.clamp_near"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015283, + "dEQP-GLES2.functional.dep", + "th_range.compare.clamp_far"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015284, + "dEQP-GLES2.functional.dept", + "h_range.compare.clamp_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_writeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_writeTestCase.cpp new file mode 100644 index 000000000..54cbdb51c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_range_writeTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015257, + "dEQP-GLES2.functional.d", + "epth_range.write.default"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015258, + "dEQP-GLES2.functional.d", + "epth_range.write.reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015259, + "dEQP-GLES2.functional.dept", + "h_range.write.zero_to_half"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015260, + "dEQP-GLES2.functional.dep", + "th_range.write.half_to_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015261, + "dEQP-GLES2.functional.dept", + "h_range.write.half_to_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015262, + "dEQP-GLES2.functional.dep", + "th_range.write.one_to_half"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015263, + "dEQP-GLES2.functional.dept", + "h_range.write.third_to_0_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015264, + "dEQP-GLES2.functional.dept", + "h_range.write.0_8_to_third"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015265, + "dEQP-GLES2.functional.dept", + "h_range.write.zero_to_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015266, + "dEQP-GLES2.functional.dept", + "h_range.write.half_to_half"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015267, + "dEQP-GLES2.functional.dep", + "th_range.write.one_to_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015268, + "dEQP-GLES2.functional.dep", + "th_range.write.clamp_near"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015269, + "dEQP-GLES2.functional.de", + "pth_range.write.clamp_far"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015270, + "dEQP-GLES2.functional.dep", + "th_range.write.clamp_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_randomTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_randomTestCase.cpp new file mode 100644 index 000000000..8a37b469d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_randomTestCase.cpp @@ -0,0 +1,124 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011110, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011111, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011112, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011113, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011114, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011115, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011116, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011117, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011118, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011119, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth_stencil.random.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011120, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011121, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011122, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011123, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011124, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011125, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011126, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011127, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011128, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011129, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011130, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011131, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011132, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011133, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011134, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth_stencil.random.24"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_stencil_depth_funcsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_stencil_depth_funcsTestCase.cpp new file mode 100644 index 000000000..2a1bf6be1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_stencil_depth_funcsTestCase.cpp @@ -0,0 +1,348 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011026, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_never_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011027, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_never_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011028, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_never_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011029, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_never_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011030, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_never_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011031, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_never_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011032, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_never_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011033, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_never_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011034, + "dEQP-GLES2.functional.fragment_ops.depth_sten", + "cil.stencil_depth_funcs.stencil_never_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011035, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_always_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011036, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_always_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011037, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_always_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011038, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_always_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011039, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_always_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011040, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_always_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011041, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_always_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011042, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_always_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011043, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_always_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011044, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_less_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011045, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_less_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011046, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_less_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011047, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_less_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011048, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_less_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011049, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_less_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011050, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_less_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011051, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_less_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011052, + "dEQP-GLES2.functional.fragment_ops.depth_sten", + "cil.stencil_depth_funcs.stencil_less_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011053, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_lequal_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011054, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_lequal_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011055, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_lequal_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011056, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_lequal_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011057, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_lequal_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011058, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_lequal_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011059, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_lequal_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011060, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_lequal_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011061, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_lequal_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011062, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_equal_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011063, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_equal_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011064, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_equal_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011065, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_equal_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011066, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_equal_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011067, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_equal_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011068, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_equal_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011069, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_equal_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011070, + "dEQP-GLES2.functional.fragment_ops.depth_sten", + "cil.stencil_depth_funcs.stencil_equal_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011071, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_gequal_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011072, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_gequal_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011073, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_gequal_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011074, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_gequal_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011075, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_gequal_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011076, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_gequal_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011077, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_gequal_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011078, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_gequal_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011079, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_gequal_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011080, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_greater_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011081, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_greater_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011082, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_greater_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011083, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_greater_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011084, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_greater_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011085, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_greater_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011086, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_greater_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011087, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_greater_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011088, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.stencil_greater_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011089, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_notequal_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011090, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_notequal_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011091, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_notequal_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011092, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_notequal_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011093, + "dEQP-GLES2.functional.fragment_ops.depth_stencil", + ".stencil_depth_funcs.stencil_notequal_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011094, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_notequal_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011095, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.", + "stencil_depth_funcs.stencil_notequal_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011096, + "dEQP-GLES2.functional.fragment_ops.depth_stencil.s", + "tencil_depth_funcs.stencil_notequal_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011097, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.stencil_notequal_no_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011098, + "dEQP-GLES2.functional.fragment_ops.depth_sten", + "cil.stencil_depth_funcs.no_stencil_depth_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011099, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.no_stencil_depth_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011100, + "dEQP-GLES2.functional.fragment_ops.depth_sten", + "cil.stencil_depth_funcs.no_stencil_depth_less"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011101, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.no_stencil_depth_lequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011102, + "dEQP-GLES2.functional.fragment_ops.depth_sten", + "cil.stencil_depth_funcs.no_stencil_depth_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011103, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.no_stencil_depth_gequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011104, + "dEQP-GLES2.functional.fragment_ops.depth_stenc", + "il.stencil_depth_funcs.no_stencil_depth_greater"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011105, + "dEQP-GLES2.functional.fragment_ops.depth_stenci", + "l.stencil_depth_funcs.no_stencil_depth_notequal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011106, + "dEQP-GLES2.functional.fragment_ops.depth_ste", + "ncil.stencil_depth_funcs.no_stencil_no_depth"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_write_maskTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_write_maskTestCase.cpp new file mode 100644 index 000000000..9e193dbd5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2depth_stencil_write_maskTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011107, + "dEQP-GLES2.functional.fragment_o", + "ps.depth_stencil.write_mask.depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011108, + "dEQP-GLES2.functional.fragment_op", + "s.depth_stencil.write_mask.stencil"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011109, + "dEQP-GLES2.functional.fragment_o", + "ps.depth_stencil.write_mask.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp new file mode 100644 index 000000000..13cf58a59 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_disabledTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015285, + "dEQP-GLES2.functional.dith", + "er.disabled.gradient_white"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015286, + "dEQP-GLES2.functional.dit", + "her.disabled.gradient_red"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015287, + "dEQP-GLES2.functional.dith", + "er.disabled.gradient_green"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015288, + "dEQP-GLES2.functional.dit", + "her.disabled.gradient_blue"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015289, + "dEQP-GLES2.functional.dith", + "er.disabled.gradient_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015290, + "dEQP-GLES2.functional.dither.", + "disabled.unicolored_quad_white"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015291, + "dEQP-GLES2.functional.dither", + ".disabled.unicolored_quad_red"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015292, + "dEQP-GLES2.functional.dither.", + "disabled.unicolored_quad_green"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015293, + "dEQP-GLES2.functional.dither.", + "disabled.unicolored_quad_blue"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015294, + "dEQP-GLES2.functional.dither.", + "disabled.unicolored_quad_alpha"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp new file mode 100644 index 000000000..7bd0f07ec --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2dither_enabledTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015295, + "dEQP-GLES2.functional.dit", + "her.enabled.gradient_white"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015296, + "dEQP-GLES2.functional.di", + "ther.enabled.gradient_red"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015297, + "dEQP-GLES2.functional.dit", + "her.enabled.gradient_green"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015298, + "dEQP-GLES2.functional.dit", + "her.enabled.gradient_blue"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015299, + "dEQP-GLES2.functional.dit", + "her.enabled.gradient_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015300, + "dEQP-GLES2.functional.dither.", + "enabled.unicolored_quad_white"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015301, + "dEQP-GLES2.functional.dither", + ".enabled.unicolored_quad_red"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015302, + "dEQP-GLES2.functional.dither.", + "enabled.unicolored_quad_green"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015303, + "dEQP-GLES2.functional.dither", + ".enabled.unicolored_quad_blue"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015304, + "dEQP-GLES2.functional.dither.", + "enabled.unicolored_quad_alpha"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_firstTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_firstTestCase.cpp new file mode 100644 index 000000000..d5cbcd751 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_firstTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016311, + "dEQP-GLES2.functional.draw", + ".draw_arrays.first.first_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016312, + "dEQP-GLES2.functional.draw", + ".draw_arrays.first.first_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016313, + "dEQP-GLES2.functional.draw", + ".draw_arrays.first.first_17"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_loopTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_loopTestCase.cpp new file mode 100644 index 000000000..18ea71fe5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_loopTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016332, + "dEQP-GLES2.functional.draw.draw_", + "arrays.line_loop.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016333, + "dEQP-GLES2.functional.draw.draw_ar", + "rays.line_loop.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016334, + "dEQP-GLES2.functional.draw.draw_a", + "rrays.line_loop.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_stripTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_stripTestCase.cpp new file mode 100644 index 000000000..aba3997f7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_line_stripTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016329, + "dEQP-GLES2.functional.draw.draw_a", + "rrays.line_strip.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016330, + "dEQP-GLES2.functional.draw.draw_ar", + "rays.line_strip.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016331, + "dEQP-GLES2.functional.draw.draw_a", + "rrays.line_strip.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_linesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_linesTestCase.cpp new file mode 100644 index 000000000..b4763d15c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_linesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016326, + "dEQP-GLES2.functional.draw.dra", + "w_arrays.lines.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016327, + "dEQP-GLES2.functional.draw.draw_", + "arrays.lines.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016328, + "dEQP-GLES2.functional.draw.draw", + "_arrays.lines.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_pointsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_pointsTestCase.cpp new file mode 100644 index 000000000..93d8dd7d8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_pointsTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016314, + "dEQP-GLES2.functional.draw.draw", + "_arrays.points.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016315, + "dEQP-GLES2.functional.draw.draw_", + "arrays.points.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016316, + "dEQP-GLES2.functional.draw.draw", + "_arrays.points.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_fanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_fanTestCase.cpp new file mode 100644 index 000000000..50a16a32d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_fanTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016320, + "dEQP-GLES2.functional.draw.draw_ar", + "rays.triangle_fan.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016321, + "dEQP-GLES2.functional.draw.draw_arr", + "ays.triangle_fan.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016322, + "dEQP-GLES2.functional.draw.draw_ar", + "rays.triangle_fan.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_stripTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_stripTestCase.cpp new file mode 100644 index 000000000..82f3d9f88 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_triangle_stripTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016323, + "dEQP-GLES2.functional.draw.draw_arr", + "ays.triangle_strip.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016324, + "dEQP-GLES2.functional.draw.draw_arra", + "ys.triangle_strip.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016325, + "dEQP-GLES2.functional.draw.draw_arr", + "ays.triangle_strip.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_trianglesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_trianglesTestCase.cpp new file mode 100644 index 000000000..ac4b9120c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_arrays_trianglesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016317, + "dEQP-GLES2.functional.draw.draw_", + "arrays.triangles.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016318, + "dEQP-GLES2.functional.draw.draw_ar", + "rays.triangles.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016319, + "dEQP-GLES2.functional.draw.draw_a", + "rrays.triangles.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_loopTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_loopTestCase.cpp new file mode 100644 index 000000000..8b9dc8582 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_loopTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016358, + "dEQP-GLES2.functional.draw.draw_e", + "lements.line_loop.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016359, + "dEQP-GLES2.functional.draw.draw_ele", + "ments.line_loop.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016360, + "dEQP-GLES2.functional.draw.draw_el", + "ements.line_loop.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_stripTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_stripTestCase.cpp new file mode 100644 index 000000000..247f18f60 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_line_stripTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016355, + "dEQP-GLES2.functional.draw.draw_el", + "ements.line_strip.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016356, + "dEQP-GLES2.functional.draw.draw_ele", + "ments.line_strip.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016357, + "dEQP-GLES2.functional.draw.draw_el", + "ements.line_strip.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_linesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_linesTestCase.cpp new file mode 100644 index 000000000..078f192e2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_linesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016352, + "dEQP-GLES2.functional.draw.draw", + "_elements.lines.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016353, + "dEQP-GLES2.functional.draw.draw_e", + "lements.lines.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016354, + "dEQP-GLES2.functional.draw.draw_", + "elements.lines.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_pointsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_pointsTestCase.cpp new file mode 100644 index 000000000..01219773f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_pointsTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016340, + "dEQP-GLES2.functional.draw.draw_", + "elements.points.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016341, + "dEQP-GLES2.functional.draw.draw_e", + "lements.points.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016342, + "dEQP-GLES2.functional.draw.draw_", + "elements.points.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_fanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_fanTestCase.cpp new file mode 100644 index 000000000..cbf0fcc32 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_fanTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016346, + "dEQP-GLES2.functional.draw.draw_ele", + "ments.triangle_fan.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016347, + "dEQP-GLES2.functional.draw.draw_elem", + "ents.triangle_fan.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016348, + "dEQP-GLES2.functional.draw.draw_ele", + "ments.triangle_fan.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_stripTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_stripTestCase.cpp new file mode 100644 index 000000000..faef690b8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_triangle_stripTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016349, + "dEQP-GLES2.functional.draw.draw_elem", + "ents.triangle_strip.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016350, + "dEQP-GLES2.functional.draw.draw_eleme", + "nts.triangle_strip.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016351, + "dEQP-GLES2.functional.draw.draw_elem", + "ents.triangle_strip.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_trianglesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_trianglesTestCase.cpp new file mode 100644 index 000000000..4850817e6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_elements_trianglesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016343, + "dEQP-GLES2.functional.draw.draw_e", + "lements.triangles.single_attribute"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016344, + "dEQP-GLES2.functional.draw.draw_ele", + "ments.triangles.multiple_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016345, + "dEQP-GLES2.functional.draw.draw_el", + "ements.triangles.default_attribute"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_randomTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_randomTestCase.cpp new file mode 100644 index 000000000..bf0b58c01 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2draw_randomTestCase.cpp @@ -0,0 +1,228 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016361, + "dEQP-GLES2.functi", + "onal.draw.random.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016362, + "dEQP-GLES2.functi", + "onal.draw.random.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016363, + "dEQP-GLES2.functi", + "onal.draw.random.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016364, + "dEQP-GLES2.functi", + "onal.draw.random.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016365, + "dEQP-GLES2.functi", + "onal.draw.random.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016366, + "dEQP-GLES2.functi", + "onal.draw.random.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016367, + "dEQP-GLES2.functi", + "onal.draw.random.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016368, + "dEQP-GLES2.functio", + "nal.draw.random.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016369, + "dEQP-GLES2.functio", + "nal.draw.random.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016370, + "dEQP-GLES2.functio", + "nal.draw.random.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016371, + "dEQP-GLES2.functio", + "nal.draw.random.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016372, + "dEQP-GLES2.functio", + "nal.draw.random.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016373, + "dEQP-GLES2.functio", + "nal.draw.random.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016374, + "dEQP-GLES2.functio", + "nal.draw.random.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016375, + "dEQP-GLES2.functio", + "nal.draw.random.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016376, + "dEQP-GLES2.functio", + "nal.draw.random.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016377, + "dEQP-GLES2.functio", + "nal.draw.random.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016378, + "dEQP-GLES2.functio", + "nal.draw.random.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016379, + "dEQP-GLES2.functio", + "nal.draw.random.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016380, + "dEQP-GLES2.functio", + "nal.draw.random.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016381, + "dEQP-GLES2.functio", + "nal.draw.random.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016382, + "dEQP-GLES2.functio", + "nal.draw.random.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016383, + "dEQP-GLES2.functio", + "nal.draw.random.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016384, + "dEQP-GLES2.functio", + "nal.draw.random.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016385, + "dEQP-GLES2.functio", + "nal.draw.random.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016386, + "dEQP-GLES2.functio", + "nal.draw.random.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016387, + "dEQP-GLES2.functio", + "nal.draw.random.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016388, + "dEQP-GLES2.functio", + "nal.draw.random.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016389, + "dEQP-GLES2.functio", + "nal.draw.random.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016390, + "dEQP-GLES2.functio", + "nal.draw.random.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016391, + "dEQP-GLES2.functio", + "nal.draw.random.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016392, + "dEQP-GLES2.functio", + "nal.draw.random.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016393, + "dEQP-GLES2.functio", + "nal.draw.random.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016394, + "dEQP-GLES2.functio", + "nal.draw.random.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016395, + "dEQP-GLES2.functio", + "nal.draw.random.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016396, + "dEQP-GLES2.functio", + "nal.draw.random.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016397, + "dEQP-GLES2.functio", + "nal.draw.random.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016398, + "dEQP-GLES2.functio", + "nal.draw.random.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016399, + "dEQP-GLES2.functio", + "nal.draw.random.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016400, + "dEQP-GLES2.functio", + "nal.draw.random.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016401, + "dEQP-GLES2.functio", + "nal.draw.random.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016402, + "dEQP-GLES2.functio", + "nal.draw.random.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016403, + "dEQP-GLES2.functio", + "nal.draw.random.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016404, + "dEQP-GLES2.functio", + "nal.draw.random.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016405, + "dEQP-GLES2.functio", + "nal.draw.random.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016406, + "dEQP-GLES2.functio", + "nal.draw.random.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016407, + "dEQP-GLES2.functio", + "nal.draw.random.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016408, + "dEQP-GLES2.functio", + "nal.draw.random.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016409, + "dEQP-GLES2.functio", + "nal.draw.random.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016410, + "dEQP-GLES2.functio", + "nal.draw.random.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016411, + "dEQP-GLES2.functio", + "nal.draw.random.71"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_exp2TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_exp2TestCase.cpp new file mode 100644 index 000000000..a17df65e2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_exp2TestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005948, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp2.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005949, + "dEQP-GLES2.functional.shaders.operator.", + "exponential.exp2.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005950, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005951, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp2.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005952, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005953, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp2.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005954, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp2.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005955, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005956, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005957, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp2.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005958, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp2.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005959, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005960, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005961, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp2.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005962, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp2.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005963, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp2.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_expTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_expTestCase.cpp new file mode 100644 index 000000000..ab8711a34 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_expTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005916, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005917, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005918, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005919, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005920, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005921, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005922, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005923, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005924, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005925, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005926, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005927, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005928, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005929, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.exp.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005930, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.exp.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005931, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.exp.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_fragmentTestCase.cpp new file mode 100644 index 000000000..c89f10431 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_fragmentTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009732, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009733, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009734, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009735, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009736, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009737, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009738, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009739, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009740, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009741, + "dEQP-GLES2.functional.shaders", + ".random.exponential.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009742, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009743, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009744, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009745, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009746, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009747, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009748, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009749, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009750, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009751, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009752, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009753, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009754, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009755, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009756, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009757, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009758, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009759, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009760, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009761, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009762, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009763, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009764, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009765, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009766, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009767, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009768, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009769, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009770, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009771, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009772, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009773, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009774, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009775, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009776, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009777, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009778, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009779, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009780, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009781, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009782, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009783, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009784, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009785, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009786, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009787, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009788, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009789, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009790, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009791, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009792, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009793, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009794, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009795, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009796, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009797, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009798, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009799, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009800, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009801, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009802, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009803, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009804, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009805, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009806, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009807, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009808, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009809, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009810, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009811, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009812, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009813, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009814, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009815, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009816, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009817, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009818, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009819, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009820, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009821, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009822, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009823, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009824, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009825, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009826, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009827, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009828, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009829, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009830, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009831, + "dEQP-GLES2.functional.shaders.", + "random.exponential.fragment.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_inversesqrtTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_inversesqrtTestCase.cpp new file mode 100644 index 000000000..e6d1c9daf --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_inversesqrtTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005996, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005997, + "dEQP-GLES2.functional.shaders.operator.exp", + "onential.inversesqrt.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005998, + "dEQP-GLES2.functional.shaders.operator.e", + "xponential.inversesqrt.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005999, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006000, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006001, + "dEQP-GLES2.functional.shaders.operator.exp", + "onential.inversesqrt.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006002, + "dEQP-GLES2.functional.shaders.operator.e", + "xponential.inversesqrt.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006003, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006004, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006005, + "dEQP-GLES2.functional.shaders.operator.exp", + "onential.inversesqrt.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006006, + "dEQP-GLES2.functional.shaders.operator.e", + "xponential.inversesqrt.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006007, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006008, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006009, + "dEQP-GLES2.functional.shaders.operator.exp", + "onential.inversesqrt.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006010, + "dEQP-GLES2.functional.shaders.operator.e", + "xponential.inversesqrt.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_006011, + "dEQP-GLES2.functional.shaders.operator.ex", + "ponential.inversesqrt.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_log2TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_log2TestCase.cpp new file mode 100644 index 000000000..9f0746a2d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_log2TestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005964, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log2.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005965, + "dEQP-GLES2.functional.shaders.operator.", + "exponential.log2.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005966, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005967, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log2.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005968, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005969, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log2.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005970, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log2.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005971, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005972, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005973, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log2.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005974, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log2.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005975, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005976, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005977, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log2.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005978, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log2.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005979, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log2.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_logTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_logTestCase.cpp new file mode 100644 index 000000000..50a6c17ea --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_logTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005932, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005933, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005934, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005935, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005936, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005937, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005938, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005939, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005940, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005941, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005942, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005943, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005944, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005945, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.log.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005946, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.log.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005947, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.log.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_powTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_powTestCase.cpp new file mode 100644 index 000000000..b96219f55 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_powTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005900, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005901, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.pow.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005902, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.pow.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005903, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005904, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005905, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.pow.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005906, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.pow.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005907, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005908, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005909, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.pow.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005910, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.pow.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005911, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005912, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005913, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.pow.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005914, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.pow.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005915, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.pow.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_sqrtTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_sqrtTestCase.cpp new file mode 100644 index 000000000..b0ac96367 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_sqrtTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20006TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005980, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.sqrt.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005981, + "dEQP-GLES2.functional.shaders.operator.", + "exponential.sqrt.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005982, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005983, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.sqrt.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005984, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005985, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.sqrt.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005986, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.sqrt.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005987, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005988, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005989, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.sqrt.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005990, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.sqrt.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005991, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005992, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005993, + "dEQP-GLES2.functional.shaders.operator", + ".exponential.sqrt.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005994, + "dEQP-GLES2.functional.shaders.operat", + "or.exponential.sqrt.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005995, + "dEQP-GLES2.functional.shaders.operato", + "r.exponential.sqrt.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_vertexTestCase.cpp new file mode 100644 index 000000000..7a51bb80c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2exponential_vertexTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009632, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009633, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009634, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009635, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009636, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009637, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009638, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009639, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009640, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009641, + "dEQP-GLES2.functional.shader", + "s.random.exponential.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009642, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009643, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009644, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009645, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009646, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009647, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009648, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009649, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009650, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009651, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009652, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009653, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009654, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009655, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009656, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009657, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009658, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009659, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009660, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009661, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009662, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009663, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009664, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009665, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009666, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009667, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009668, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009669, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009670, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009671, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009672, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009673, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009674, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009675, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009676, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009677, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009678, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009679, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009680, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009681, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009682, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009683, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009684, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009685, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009686, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009687, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009688, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009689, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009690, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009691, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009692, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009693, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009694, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009695, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009696, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009697, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009698, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009699, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009700, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009701, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009702, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009703, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009704, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009705, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009706, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009707, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009708, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009709, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009710, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009711, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009712, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009713, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009714, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009715, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009716, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009717, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009718, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009719, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009720, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009721, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009722, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009723, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009724, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009725, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009726, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009727, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009728, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009729, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009730, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009731, + "dEQP-GLES2.functional.shaders", + ".random.exponential.vertex.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fbo_apiTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fbo_apiTestCase.cpp new file mode 100644 index 000000000..6e29ddfcf --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fbo_apiTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012412, + "dEQP-GLES2.functional.fbo.", + "api.valid_tex2d_attachments"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012413, + "dEQP-GLES2.functional.fbo.a", + "pi.valid_texcube_attachments"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012414, + "dEQP-GLES2.functional.fbo", + ".api.valid_rbo_attachments"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012415, + "dEQP-GLES2.functional.fbo", + ".api.attach_to_default_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012416, + "dEQP-GLES2.functional.fbo.a", + "pi.invalid_tex2d_attachments"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012417, + "dEQP-GLES2.functional.fbo.ap", + "i.invalid_texcube_attachments"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012418, + "dEQP-GLES2.functional.fbo.", + "api.invalid_rbo_attachments"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012419, + "dEQP-GLES2.functional", + ".fbo.api.attach_names"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012420, + "dEQP-GLES2.functional.", + "fbo.api.texture_levels"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012421, + "dEQP-GLES2.functional.fbo.api", + ".attachment_query_default_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012422, + "dEQP-GLES2.functional.fbo.ap", + "i.attachment_query_empty_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012423, + "dEQP-GLES2.functional.fbo.", + "api.attachment_query_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012424, + "dEQP-GLES2.functional.fbo.a", + "pi.attachment_query_texcube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012425, + "dEQP-GLES2.functional.fbo", + ".api.attachment_query_rbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012426, + "dEQP-GLES2.functional.fbo.api.de", + "lete_tex_2d_attached_to_bound_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012427, + "dEQP-GLES2.functional.fbo.api.del", + "ete_tex_cube_attached_to_bound_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012428, + "dEQP-GLES2.functional.fbo.api.d", + "elete_rbo_attached_to_bound_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012429, + "dEQP-GLES2.functional.fbo.api.dele", + "te_tex_2d_attached_to_not_bound_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012430, + "dEQP-GLES2.functional.fbo.api.delet", + "e_tex_cube_attached_to_not_bound_fbo"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012431, + "dEQP-GLES2.functional.fbo.api.del", + "ete_rbo_attached_to_not_bound_fbo"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_2dTestCase.cpp new file mode 100644 index 000000000..1f4e7674f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_2dTestCase.cpp @@ -0,0 +1,568 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010355, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_nearest_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010356, + "dEQP-GLES2.functional.texture.filtering", + ".2d.nearest_nearest_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010357, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.nearest_nearest_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010358, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_nearest_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010359, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_nearest_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010360, + "dEQP-GLES2.functional.texture.filtering", + ".2d.nearest_nearest_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010361, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_nearest_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010362, + "dEQP-GLES2.functional.texture.filter", + "ing.2d.nearest_nearest_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010363, + "dEQP-GLES2.functional.texture.filtering", + ".2d.nearest_nearest_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010364, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_nearest_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010365, + "dEQP-GLES2.functional.texture.filtering", + ".2d.nearest_nearest_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010366, + "dEQP-GLES2.functional.texture.filter", + "ing.2d.nearest_nearest_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010367, + "dEQP-GLES2.functional.texture.filtering", + ".2d.nearest_nearest_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010368, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_nearest_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010369, + "dEQP-GLES2.functional.texture.filtering", + ".2d.nearest_nearest_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010370, + "dEQP-GLES2.functional.texture.filter", + "ing.2d.nearest_nearest_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010371, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010372, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010373, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.nearest_linear_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010374, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.nearest_linear_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010375, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010376, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010377, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_linear_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010378, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_linear_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010379, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010380, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.nearest_linear_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010381, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010382, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_linear_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010383, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010384, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.nearest_linear_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010385, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.nearest_linear_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010386, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_linear_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010387, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010388, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010389, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_nearest_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010390, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_nearest_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010391, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010392, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010393, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_nearest_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010394, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_nearest_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010395, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010396, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_nearest_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010397, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010398, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_nearest_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010399, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010400, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_nearest_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010401, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_nearest_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010402, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_nearest_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010403, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_linear_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010404, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_linear_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010405, + "dEQP-GLES2.functional.texture.filter", + "ing.2d.linear_linear_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010406, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_linear_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010407, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_linear_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010408, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_linear_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010409, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.linear_linear_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010410, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_linear_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010411, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_linear_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010412, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_linear_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010413, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_linear_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010414, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_linear_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010415, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_linear_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010416, + "dEQP-GLES2.functional.texture.filteri", + "ng.2d.linear_linear_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010417, + "dEQP-GLES2.functional.texture.filterin", + "g.2d.linear_linear_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010418, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.linear_linear_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010419, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_nearest_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010420, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_nearest_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010421, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_nearest_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010422, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_nearest_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010423, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_nearest_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010424, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_nearest_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010425, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_nearest_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010426, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_nearest_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010427, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_nearest_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010428, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_nearest_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010429, + "dEQP-GLES2.functional.texture.filtering.2d.l", + "inear_mipmap_nearest_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010430, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_nearest_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010431, + "dEQP-GLES2.functional.texture.filtering.2d.l", + "inear_mipmap_nearest_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010432, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_nearest_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010433, + "dEQP-GLES2.functional.texture.filtering.2d.l", + "inear_mipmap_nearest_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010434, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_nearest_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010435, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_nearest_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010436, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_nearest_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010437, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_linear_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010438, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_linear_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010439, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_linear_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010440, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_linear_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010441, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_linear_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010442, + "dEQP-GLES2.functional.texture.filtering.2d.n", + "earest_mipmap_linear_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010443, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_linear_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010444, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_linear_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010445, + "dEQP-GLES2.functional.texture.filtering.2d.", + "nearest_mipmap_linear_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010446, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_linear_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010447, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_linear_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010448, + "dEQP-GLES2.functional.texture.filtering.2d", + ".linear_mipmap_linear_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010449, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_linear_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010450, + "dEQP-GLES2.functional.texture.filtering.", + "2d.linear_mipmap_linear_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010451, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_linear_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010452, + "dEQP-GLES2.functional.texture.filtering.2d", + ".linear_mipmap_linear_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010453, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_linear_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010454, + "dEQP-GLES2.functional.texture.filtering.2d.", + "linear_mipmap_linear_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010455, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.nearest_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010456, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_nearest_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010457, + "dEQP-GLES2.functional.texture.filte", + "ring.2d.nearest_nearest_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010458, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.nearest_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010459, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.nearest_linear_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010460, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.nearest_linear_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010461, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.linear_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010462, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.linear_nearest_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010463, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.linear_nearest_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010464, + "dEQP-GLES2.functional.texture.fil", + "tering.2d.linear_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010465, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.linear_linear_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010466, + "dEQP-GLES2.functional.texture.filt", + "ering.2d.linear_linear_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010467, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_nearest_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010468, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_nearest_nearest_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010469, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_nearest_nearest_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010470, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_nearest_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010471, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_nearest_linear_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010472, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_nearest_linear_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010473, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_nearest_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010474, + "dEQP-GLES2.functional.texture.filtering.2d", + ".linear_mipmap_nearest_nearest_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010475, + "dEQP-GLES2.functional.texture.filtering.2d", + ".linear_mipmap_nearest_nearest_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010476, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_nearest_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010477, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_nearest_linear_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010478, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_nearest_linear_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010479, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_linear_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010480, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_linear_nearest_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010481, + "dEQP-GLES2.functional.texture.filtering.2d", + ".nearest_mipmap_linear_nearest_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010482, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_linear_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010483, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_linear_linear_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010484, + "dEQP-GLES2.functional.texture.filtering.2", + "d.nearest_mipmap_linear_linear_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010485, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_linear_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010486, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_linear_nearest_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010487, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_linear_nearest_mirror_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010488, + "dEQP-GLES2.functional.texture.filtering.", + "2d.linear_mipmap_linear_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010489, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_linear_linear_repeat_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010490, + "dEQP-GLES2.functional.texture.filtering.2", + "d.linear_mipmap_linear_linear_mirror_etc1"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp new file mode 100644 index 000000000..2672a009a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2filtering_cubeTestCase.cpp @@ -0,0 +1,472 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010491, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_nearest_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010492, + "dEQP-GLES2.functional.texture.filtering.", + "cube.nearest_nearest_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010493, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.nearest_nearest_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010494, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_nearest_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010495, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_nearest_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010496, + "dEQP-GLES2.functional.texture.filtering.", + "cube.nearest_nearest_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010497, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.nearest_nearest_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010498, + "dEQP-GLES2.functional.texture.filteri", + "ng.cube.nearest_nearest_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010499, + "dEQP-GLES2.functional.texture.filtering.", + "cube.nearest_nearest_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010500, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_nearest_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010501, + "dEQP-GLES2.functional.texture.filtering.", + "cube.nearest_nearest_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010502, + "dEQP-GLES2.functional.texture.filteri", + "ng.cube.nearest_nearest_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010503, + "dEQP-GLES2.functional.texture.filtering.", + "cube.nearest_nearest_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010504, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_nearest_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010505, + "dEQP-GLES2.functional.texture.filtering.", + "cube.nearest_nearest_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010506, + "dEQP-GLES2.functional.texture.filteri", + "ng.cube.nearest_nearest_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010507, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010508, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010509, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.nearest_linear_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010510, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.nearest_linear_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010511, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010512, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010513, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.nearest_linear_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010514, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.nearest_linear_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010515, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010516, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.nearest_linear_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010517, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010518, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.nearest_linear_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010519, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010520, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.nearest_linear_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010521, + "dEQP-GLES2.functional.texture.filtering", + ".cube.nearest_linear_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010522, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.nearest_linear_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010523, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010524, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010525, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_nearest_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010526, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_nearest_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010527, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010528, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010529, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_nearest_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010530, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_nearest_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010531, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010532, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_nearest_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010533, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010534, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_nearest_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010535, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010536, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_nearest_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010537, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_nearest_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010538, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_nearest_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010539, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_linear_clamp_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010540, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_linear_clamp_rgba8888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010541, + "dEQP-GLES2.functional.texture.filteri", + "ng.cube.linear_linear_clamp_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010542, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_linear_clamp_rgb888_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010543, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_linear_clamp_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010544, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_linear_clamp_rgba4444_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010545, + "dEQP-GLES2.functional.texture.filte", + "ring.cube.linear_linear_clamp_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010546, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_linear_clamp_l8_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010547, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_linear_repeat_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010548, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_linear_repeat_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010549, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_linear_repeat_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010550, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_linear_repeat_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010551, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_linear_mirror_rgba8888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010552, + "dEQP-GLES2.functional.texture.filterin", + "g.cube.linear_linear_mirror_rgb888_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010553, + "dEQP-GLES2.functional.texture.filtering", + ".cube.linear_linear_mirror_rgba4444_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010554, + "dEQP-GLES2.functional.texture.filter", + "ing.cube.linear_linear_mirror_l8_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010555, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_nearest_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010556, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_nearest_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010557, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_nearest_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010558, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_nearest_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010559, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.nearest_mipmap_nearest_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010560, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_nearest_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010561, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_nearest_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010562, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_nearest_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010563, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_nearest_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010564, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_nearest_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010565, + "dEQP-GLES2.functional.texture.filtering.cube.", + "linear_mipmap_nearest_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010566, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_nearest_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010567, + "dEQP-GLES2.functional.texture.filtering.cube.", + "linear_mipmap_nearest_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010568, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.linear_mipmap_nearest_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010569, + "dEQP-GLES2.functional.texture.filtering.cube.", + "linear_mipmap_nearest_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010570, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_nearest_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010571, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_nearest_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010572, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_nearest_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010573, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_linear_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010574, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_linear_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010575, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_linear_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010576, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_linear_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010577, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.nearest_mipmap_linear_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010578, + "dEQP-GLES2.functional.texture.filtering.cube.", + "nearest_mipmap_linear_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010579, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_linear_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010580, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_linear_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010581, + "dEQP-GLES2.functional.texture.filtering.cube", + ".nearest_mipmap_linear_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010582, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_linear_nearest_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010583, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_linear_nearest_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010584, + "dEQP-GLES2.functional.texture.filtering.cub", + "e.linear_mipmap_linear_nearest_repeat_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010585, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_linear_nearest_repeat_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010586, + "dEQP-GLES2.functional.texture.filtering.c", + "ube.linear_mipmap_linear_nearest_repeat_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010587, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_linear_nearest_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010588, + "dEQP-GLES2.functional.texture.filtering.cub", + "e.linear_mipmap_linear_linear_clamp_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010589, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_linear_linear_repeat_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010590, + "dEQP-GLES2.functional.texture.filtering.cube", + ".linear_mipmap_linear_linear_mirror_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010591, + "dEQP-GLES2.functional.texture.filte", + "ring.cube.nearest_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010592, + "dEQP-GLES2.functional.texture.filte", + "ring.cube.nearest_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010593, + "dEQP-GLES2.functional.texture.filte", + "ring.cube.linear_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010594, + "dEQP-GLES2.functional.texture.filt", + "ering.cube.linear_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010595, + "dEQP-GLES2.functional.texture.filtering.cub", + "e.nearest_mipmap_nearest_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010596, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.nearest_mipmap_nearest_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010597, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.linear_mipmap_nearest_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010598, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.linear_mipmap_nearest_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010599, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.nearest_mipmap_linear_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010600, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.nearest_mipmap_linear_linear_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010601, + "dEQP-GLES2.functional.texture.filtering.cu", + "be.linear_mipmap_linear_nearest_clamp_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010602, + "dEQP-GLES2.functional.texture.filtering.c", + "ube.linear_mipmap_linear_linear_clamp_etc1"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_equalTestCase.cpp new file mode 100644 index 000000000..a9f52c588 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_equalTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006600, + "dEQP-GLES2.functional.shaders.operato", + "r.float_compare.equal.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006601, + "dEQP-GLES2.functional.shaders.operator", + ".float_compare.equal.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006602, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.equal.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006603, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.equal.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006604, + "dEQP-GLES2.functional.shaders.operator", + ".float_compare.equal.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006605, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.equal.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006606, + "dEQP-GLES2.functional.shaders.operato", + "r.float_compare.equal.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006607, + "dEQP-GLES2.functional.shaders.operator", + ".float_compare.equal.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006608, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.equal.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006609, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.equal.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006610, + "dEQP-GLES2.functional.shaders.operator", + ".float_compare.equal.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006611, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.equal.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006612, + "dEQP-GLES2.functional.shaders.operato", + "r.float_compare.equal.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006613, + "dEQP-GLES2.functional.shaders.operator", + ".float_compare.equal.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006614, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.equal.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006615, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.equal.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006616, + "dEQP-GLES2.functional.shaders.operator", + ".float_compare.equal.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006617, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.equal.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanEqualTestCase.cpp new file mode 100644 index 000000000..543312933 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanEqualTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006582, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThanEqual.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006583, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006584, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006585, + "dEQP-GLES2.functional.shaders.operator.float_", + "compare.greaterThanEqual.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006586, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThanEqual.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006587, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006588, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThanEqual.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006589, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006590, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006591, + "dEQP-GLES2.functional.shaders.operator.float_", + "compare.greaterThanEqual.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006592, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThanEqual.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006593, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006594, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThanEqual.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006595, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006596, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006597, + "dEQP-GLES2.functional.shaders.operator.float_", + "compare.greaterThanEqual.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006598, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThanEqual.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006599, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.greaterThanEqual.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanTestCase.cpp new file mode 100644 index 000000000..f9d8368d1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_greaterThanTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006564, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.greaterThan.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006565, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.greaterThan.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006566, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.greaterThan.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006567, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThan.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006568, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.greaterThan.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006569, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.greaterThan.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006570, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.greaterThan.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006571, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.greaterThan.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006572, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.greaterThan.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006573, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThan.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006574, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.greaterThan.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006575, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.greaterThan.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006576, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.greaterThan.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006577, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.greaterThan.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006578, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.greaterThan.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006579, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.greaterThan.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006580, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.greaterThan.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006581, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.greaterThan.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanEqualTestCase.cpp new file mode 100644 index 000000000..45dc1d688 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanEqualTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006546, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.lessThanEqual.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006547, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.lessThanEqual.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006548, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.lessThanEqual.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006549, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.lessThanEqual.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006550, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.lessThanEqual.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006551, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.lessThanEqual.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006552, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.lessThanEqual.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006553, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.lessThanEqual.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006554, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.lessThanEqual.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006555, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.lessThanEqual.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006556, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.lessThanEqual.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006557, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.lessThanEqual.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006558, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.lessThanEqual.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006559, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.lessThanEqual.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006560, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.lessThanEqual.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006561, + "dEQP-GLES2.functional.shaders.operator.float", + "_compare.lessThanEqual.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006562, + "dEQP-GLES2.functional.shaders.operator.flo", + "at_compare.lessThanEqual.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006563, + "dEQP-GLES2.functional.shaders.operator.floa", + "t_compare.lessThanEqual.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanTestCase.cpp new file mode 100644 index 000000000..5ae0f8068 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_lessThanTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006528, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.lessThan.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006529, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006530, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006531, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.lessThan.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006532, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.lessThan.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006533, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006534, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.lessThan.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006535, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006536, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006537, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.lessThan.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006538, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.lessThan.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006539, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006540, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.lessThan.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006541, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006542, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006543, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.lessThan.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006544, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.lessThan.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006545, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.lessThan.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_notEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_notEqualTestCase.cpp new file mode 100644 index 000000000..9414d1d29 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2float_compare_notEqualTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006618, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.notEqual.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006619, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006620, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006621, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.notEqual.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006622, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.notEqual.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006623, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006624, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.notEqual.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006625, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006626, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006627, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.notEqual.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006628, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.notEqual.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006629, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006630, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.notEqual.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006631, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006632, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006633, + "dEQP-GLES2.functional.shaders.operator.fl", + "oat_compare.notEqual.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006634, + "dEQP-GLES2.functional.shaders.operator.", + "float_compare.notEqual.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006635, + "dEQP-GLES2.functional.shaders.operator.f", + "loat_compare.notEqual.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_depthTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_depthTestCase.cpp new file mode 100644 index 000000000..c0e2564c5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_depthTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011001, + "dEQP-GLES2.functional.fra", + "gment_ops.depth.cmp_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011002, + "dEQP-GLES2.functional.fra", + "gment_ops.depth.cmp_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011003, + "dEQP-GLES2.functional.fra", + "gment_ops.depth.cmp_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011004, + "dEQP-GLES2.functional.fragm", + "ent_ops.depth.cmp_not_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011005, + "dEQP-GLES2.functional.fragm", + "ent_ops.depth.cmp_less_than"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011006, + "dEQP-GLES2.functional.fragmen", + "t_ops.depth.cmp_less_or_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011007, + "dEQP-GLES2.functional.fragme", + "nt_ops.depth.cmp_greater_than"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011008, + "dEQP-GLES2.functional.fragment", + "_ops.depth.cmp_greater_or_equal"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_randomTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_randomTestCase.cpp new file mode 100644 index 000000000..c72f00f12 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_randomTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012212, + "dEQP-GLES2.functional", + ".fragment_ops.random.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012213, + "dEQP-GLES2.functional", + ".fragment_ops.random.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012214, + "dEQP-GLES2.functional", + ".fragment_ops.random.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012215, + "dEQP-GLES2.functional", + ".fragment_ops.random.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012216, + "dEQP-GLES2.functional", + ".fragment_ops.random.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012217, + "dEQP-GLES2.functional", + ".fragment_ops.random.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012218, + "dEQP-GLES2.functional", + ".fragment_ops.random.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012219, + "dEQP-GLES2.functional", + ".fragment_ops.random.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012220, + "dEQP-GLES2.functional", + ".fragment_ops.random.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012221, + "dEQP-GLES2.functional", + ".fragment_ops.random.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012222, + "dEQP-GLES2.functional.", + "fragment_ops.random.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012223, + "dEQP-GLES2.functional.", + "fragment_ops.random.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012224, + "dEQP-GLES2.functional.", + "fragment_ops.random.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012225, + "dEQP-GLES2.functional.", + "fragment_ops.random.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012226, + "dEQP-GLES2.functional.", + "fragment_ops.random.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012227, + "dEQP-GLES2.functional.", + "fragment_ops.random.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012228, + "dEQP-GLES2.functional.", + "fragment_ops.random.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012229, + "dEQP-GLES2.functional.", + "fragment_ops.random.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012230, + "dEQP-GLES2.functional.", + "fragment_ops.random.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012231, + "dEQP-GLES2.functional.", + "fragment_ops.random.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012232, + "dEQP-GLES2.functional.", + "fragment_ops.random.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012233, + "dEQP-GLES2.functional.", + "fragment_ops.random.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012234, + "dEQP-GLES2.functional.", + "fragment_ops.random.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012235, + "dEQP-GLES2.functional.", + "fragment_ops.random.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012236, + "dEQP-GLES2.functional.", + "fragment_ops.random.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012237, + "dEQP-GLES2.functional.", + "fragment_ops.random.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012238, + "dEQP-GLES2.functional.", + "fragment_ops.random.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012239, + "dEQP-GLES2.functional.", + "fragment_ops.random.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012240, + "dEQP-GLES2.functional.", + "fragment_ops.random.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012241, + "dEQP-GLES2.functional.", + "fragment_ops.random.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012242, + "dEQP-GLES2.functional.", + "fragment_ops.random.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012243, + "dEQP-GLES2.functional.", + "fragment_ops.random.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012244, + "dEQP-GLES2.functional.", + "fragment_ops.random.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012245, + "dEQP-GLES2.functional.", + "fragment_ops.random.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012246, + "dEQP-GLES2.functional.", + "fragment_ops.random.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012247, + "dEQP-GLES2.functional.", + "fragment_ops.random.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012248, + "dEQP-GLES2.functional.", + "fragment_ops.random.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012249, + "dEQP-GLES2.functional.", + "fragment_ops.random.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012250, + "dEQP-GLES2.functional.", + "fragment_ops.random.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012251, + "dEQP-GLES2.functional.", + "fragment_ops.random.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012252, + "dEQP-GLES2.functional.", + "fragment_ops.random.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012253, + "dEQP-GLES2.functional.", + "fragment_ops.random.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012254, + "dEQP-GLES2.functional.", + "fragment_ops.random.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012255, + "dEQP-GLES2.functional.", + "fragment_ops.random.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012256, + "dEQP-GLES2.functional.", + "fragment_ops.random.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012257, + "dEQP-GLES2.functional.", + "fragment_ops.random.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012258, + "dEQP-GLES2.functional.", + "fragment_ops.random.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012259, + "dEQP-GLES2.functional.", + "fragment_ops.random.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012260, + "dEQP-GLES2.functional.", + "fragment_ops.random.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012261, + "dEQP-GLES2.functional.", + "fragment_ops.random.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012262, + "dEQP-GLES2.functional.", + "fragment_ops.random.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012263, + "dEQP-GLES2.functional.", + "fragment_ops.random.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012264, + "dEQP-GLES2.functional.", + "fragment_ops.random.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012265, + "dEQP-GLES2.functional.", + "fragment_ops.random.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012266, + "dEQP-GLES2.functional.", + "fragment_ops.random.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012267, + "dEQP-GLES2.functional.", + "fragment_ops.random.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012268, + "dEQP-GLES2.functional.", + "fragment_ops.random.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012269, + "dEQP-GLES2.functional.", + "fragment_ops.random.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012270, + "dEQP-GLES2.functional.", + "fragment_ops.random.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012271, + "dEQP-GLES2.functional.", + "fragment_ops.random.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012272, + "dEQP-GLES2.functional.", + "fragment_ops.random.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012273, + "dEQP-GLES2.functional.", + "fragment_ops.random.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012274, + "dEQP-GLES2.functional.", + "fragment_ops.random.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012275, + "dEQP-GLES2.functional.", + "fragment_ops.random.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012276, + "dEQP-GLES2.functional.", + "fragment_ops.random.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012277, + "dEQP-GLES2.functional.", + "fragment_ops.random.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012278, + "dEQP-GLES2.functional.", + "fragment_ops.random.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012279, + "dEQP-GLES2.functional.", + "fragment_ops.random.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012280, + "dEQP-GLES2.functional.", + "fragment_ops.random.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012281, + "dEQP-GLES2.functional.", + "fragment_ops.random.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012282, + "dEQP-GLES2.functional.", + "fragment_ops.random.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012283, + "dEQP-GLES2.functional.", + "fragment_ops.random.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012284, + "dEQP-GLES2.functional.", + "fragment_ops.random.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012285, + "dEQP-GLES2.functional.", + "fragment_ops.random.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012286, + "dEQP-GLES2.functional.", + "fragment_ops.random.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012287, + "dEQP-GLES2.functional.", + "fragment_ops.random.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012288, + "dEQP-GLES2.functional.", + "fragment_ops.random.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012289, + "dEQP-GLES2.functional.", + "fragment_ops.random.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012290, + "dEQP-GLES2.functional.", + "fragment_ops.random.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012291, + "dEQP-GLES2.functional.", + "fragment_ops.random.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012292, + "dEQP-GLES2.functional.", + "fragment_ops.random.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012293, + "dEQP-GLES2.functional.", + "fragment_ops.random.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012294, + "dEQP-GLES2.functional.", + "fragment_ops.random.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012295, + "dEQP-GLES2.functional.", + "fragment_ops.random.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012296, + "dEQP-GLES2.functional.", + "fragment_ops.random.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012297, + "dEQP-GLES2.functional.", + "fragment_ops.random.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012298, + "dEQP-GLES2.functional.", + "fragment_ops.random.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012299, + "dEQP-GLES2.functional.", + "fragment_ops.random.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012300, + "dEQP-GLES2.functional.", + "fragment_ops.random.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012301, + "dEQP-GLES2.functional.", + "fragment_ops.random.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012302, + "dEQP-GLES2.functional.", + "fragment_ops.random.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012303, + "dEQP-GLES2.functional.", + "fragment_ops.random.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012304, + "dEQP-GLES2.functional.", + "fragment_ops.random.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012305, + "dEQP-GLES2.functional.", + "fragment_ops.random.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012306, + "dEQP-GLES2.functional.", + "fragment_ops.random.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012307, + "dEQP-GLES2.functional.", + "fragment_ops.random.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012308, + "dEQP-GLES2.functional.", + "fragment_ops.random.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012309, + "dEQP-GLES2.functional.", + "fragment_ops.random.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012310, + "dEQP-GLES2.functional.", + "fragment_ops.random.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012311, + "dEQP-GLES2.functional.", + "fragment_ops.random.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_scissorTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_scissorTestCase.cpp new file mode 100644 index 000000000..5a519b80c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_scissorTestCase.cpp @@ -0,0 +1,92 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011135, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.contained_tris"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011136, + "dEQP-GLES2.functional.fragm", + "ent_ops.scissor.partial_tris"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011137, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.contained_tri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011138, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.enclosing_tri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011139, + "dEQP-GLES2.functional.fragm", + "ent_ops.scissor.partial_tri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011140, + "dEQP-GLES2.functional.fragment", + "_ops.scissor.outside_render_tri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011141, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.partial_lines"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011142, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.contained_line"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011143, + "dEQP-GLES2.functional.fragm", + "ent_ops.scissor.partial_line"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011144, + "dEQP-GLES2.functional.fragment_", + "ops.scissor.outside_render_line"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011145, + "dEQP-GLES2.functional.fragmen", + "t_ops.scissor.contained_point"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011146, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.partial_points"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011147, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.outside_point"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011148, + "dEQP-GLES2.functional.fragment_", + "ops.scissor.outside_render_point"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011149, + "dEQP-GLES2.functional.fragm", + "ent_ops.scissor.clear_depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011150, + "dEQP-GLES2.functional.fragme", + "nt_ops.scissor.clear_stencil"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011151, + "dEQP-GLES2.functional.fragm", + "ent_ops.scissor.clear_color"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_stencilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_stencilTestCase.cpp new file mode 100644 index 000000000..7ff4c925e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2fragment_ops_stencilTestCase.cpp @@ -0,0 +1,92 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011009, + "dEQP-GLES2.functional.fr", + "agment_ops.stencil.clear"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011010, + "dEQP-GLES2.functional.fragment_", + "ops.stencil.stencil_fail_replace"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011011, + "dEQP-GLES2.functional.fragment", + "_ops.stencil.depth_fail_replace"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011012, + "dEQP-GLES2.functional.fragment", + "_ops.stencil.depth_pass_replace"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011013, + "dEQP-GLES2.functional.fragment", + "_ops.stencil.incr_stencil_fail"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011014, + "dEQP-GLES2.functional.fragment", + "_ops.stencil.decr_stencil_fail"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011015, + "dEQP-GLES2.functional.fragment_o", + "ps.stencil.incr_wrap_stencil_fail"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011016, + "dEQP-GLES2.functional.fragment_o", + "ps.stencil.decr_wrap_stencil_fail"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011017, + "dEQP-GLES2.functional.fragment", + "_ops.stencil.zero_stencil_fail"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011018, + "dEQP-GLES2.functional.fragment_", + "ops.stencil.invert_stencil_fail"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011019, + "dEQP-GLES2.functional.frag", + "ment_ops.stencil.cmp_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011020, + "dEQP-GLES2.functional.fragme", + "nt_ops.stencil.cmp_not_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011021, + "dEQP-GLES2.functional.fragme", + "nt_ops.stencil.cmp_less_than"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011022, + "dEQP-GLES2.functional.fragment", + "_ops.stencil.cmp_less_or_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011023, + "dEQP-GLES2.functional.fragmen", + "t_ops.stencil.cmp_greater_than"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011024, + "dEQP-GLES2.functional.fragment_", + "ops.stencil.cmp_greater_or_equal"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011025, + "dEQP-GLES2.functional.fragme", + "nt_ops.stencil.cmp_mask_equal"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_clip_controlTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_clip_controlTestCase.cpp new file mode 100644 index 000000000..ba79a233a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_clip_controlTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000026, + "dEQP-GLES2.functional", + ".clip_control.initial"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000027, + "dEQP-GLES2.functional.", + "clip_control.modify_get"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000028, + "dEQP-GLES2.functiona", + "l.clip_control.errors"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000029, + "dEQP-GLES2.functiona", + "l.clip_control.origin"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000030, + "dEQP-GLES2.functional.clip_c", + "ontrol.depth_mode_zero_to_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000031, + "dEQP-GLES2.functional.clip_c", + "ontrol.depth_mode_one_to_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000032, + "dEQP-GLES2.functional.c", + "lip_control.face_culling"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000033, + "dEQP-GLES2.functional.cli", + "p_control.viewport_bounds"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_color_clearTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_color_clearTestCase.cpp new file mode 100644 index 000000000..47dba730c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_color_clearTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000034, + "dEQP-GLES2.functional.", + "color_clear.single_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000035, + "dEQP-GLES2.functional.", + "color_clear.single_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000036, + "dEQP-GLES2.functional.c", + "olor_clear.multiple_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000037, + "dEQP-GLES2.functional.c", + "olor_clear.multiple_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000038, + "dEQP-GLES2.functional", + ".color_clear.long_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000039, + "dEQP-GLES2.functional", + ".color_clear.long_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000040, + "dEQP-GLES2.functional.c", + "olor_clear.subclears_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000041, + "dEQP-GLES2.functional.co", + "lor_clear.subclears_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000042, + "dEQP-GLES2.functional.colo", + "r_clear.short_scissored_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000043, + "dEQP-GLES2.functional.c", + "olor_clear.scissored_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000044, + "dEQP-GLES2.functional.co", + "lor_clear.scissored_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000045, + "dEQP-GLES2.functional.", + "color_clear.masked_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000046, + "dEQP-GLES2.functional.", + "color_clear.masked_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000047, + "dEQP-GLES2.functional.color", + "_clear.masked_scissored_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000048, + "dEQP-GLES2.functional.color", + "_clear.masked_scissored_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000049, + "dEQP-GLES2.functional.", + "color_clear.complex_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000050, + "dEQP-GLES2.functional.c", + "olor_clear.complex_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000051, + "dEQP-GLES2.functional.co", + "lor_clear.long_masked_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000052, + "dEQP-GLES2.functional.col", + "or_clear.long_masked_rgba"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_debug_markerTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_debug_markerTestCase.cpp new file mode 100644 index 000000000..f1797d320 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_debug_markerTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016490, + "dEQP-GLES2.functional.", + "debug_marker.supported"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016491, + "dEQP-GLES2.functiona", + "l.debug_marker.random"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016492, + "dEQP-GLES2.functional", + ".debug_marker.invalid"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp new file mode 100644 index 000000000..61ed3e59a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000053, + "dEQP-GLES2.functional.d", + "epth_stencil_clear.depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000054, + "dEQP-GLES2.functional.depth_", + "stencil_clear.depth_scissored"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000055, + "dEQP-GLES2.functional.depth_sten", + "cil_clear.depth_scissored_masked"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000056, + "dEQP-GLES2.functional.de", + "pth_stencil_clear.stencil"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000057, + "dEQP-GLES2.functional.depth_", + "stencil_clear.stencil_masked"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000058, + "dEQP-GLES2.functional.depth_s", + "tencil_clear.stencil_scissored"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000059, + "dEQP-GLES2.functional.depth_stenc", + "il_clear.stencil_scissored_masked"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000060, + "dEQP-GLES2.functional.depth", + "_stencil_clear.depth_stencil"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000061, + "dEQP-GLES2.functional.depth_ste", + "ncil_clear.depth_stencil_masked"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000062, + "dEQP-GLES2.functional.depth_sten", + "cil_clear.depth_stencil_scissored"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000063, + "dEQP-GLES2.functional.depth_stencil_", + "clear.depth_stencil_scissored_masked"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_flush_finishTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_flush_finishTestCase.cpp new file mode 100644 index 000000000..e45e4c337 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_flush_finishTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016412, + "dEQP-GLES2.function", + "al.flush_finish.wait"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016413, + "dEQP-GLES2.functiona", + "l.flush_finish.flush"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016414, + "dEQP-GLES2.functional.", + "flush_finish.flush_wait"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016415, + "dEQP-GLES2.functiona", + "l.flush_finish.finish"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016416, + "dEQP-GLES2.functional.f", + "lush_finish.finish_wait"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_implementation_limitsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_implementation_limitsTestCase.cpp new file mode 100644 index 000000000..d7c74a812 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_implementation_limitsTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000010, + "dEQP-GLES2.functional.implem", + "entation_limits.subpixel_bits"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000011, + "dEQP-GLES2.functional.implemen", + "tation_limits.max_texture_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000012, + "dEQP-GLES2.functional.implementati", + "on_limits.max_cube_map_texture_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000013, + "dEQP-GLES2.functional.implementati", + "on_limits.aliased_point_size_range"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000014, + "dEQP-GLES2.functional.implementati", + "on_limits.aliased_line_width_range"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000015, + "dEQP-GLES2.functional.implementation_", + "limits.num_compressed_texture_formats"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000016, + "dEQP-GLES2.functional.implementati", + "on_limits.num_shader_binary_formats"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000017, + "dEQP-GLES2.functional.impleme", + "ntation_limits.shader_compiler"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000018, + "dEQP-GLES2.functional.implement", + "ation_limits.max_vertex_attribs"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000019, + "dEQP-GLES2.functional.implementatio", + "n_limits.max_vertex_uniform_vectors"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000020, + "dEQP-GLES2.functional.implement", + "ation_limits.max_varying_vectors"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000021, + "dEQP-GLES2.functional.implementation_l", + "imits.max_combined_texture_image_units"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000022, + "dEQP-GLES2.functional.implementation_", + "limits.max_vertex_texture_image_units"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000023, + "dEQP-GLES2.functional.implementat", + "ion_limits.max_texture_image_units"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000024, + "dEQP-GLES2.functional.implementation", + "_limits.max_fragment_uniform_vectors"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000025, + "dEQP-GLES2.functional.implementa", + "tion_limits.max_renderbuffer_size"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_light_amountTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_light_amountTestCase.cpp new file mode 100644 index 000000000..a54ee85fa --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_light_amountTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000113, + "dEQP-GLES2.function", + "al.light_amount.none"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000114, + "dEQP-GLES2.function", + "al.light_amount.1dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000115, + "dEQP-GLES2.function", + "al.light_amount.2dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000116, + "dEQP-GLES2.function", + "al.light_amount.4dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000117, + "dEQP-GLES2.function", + "al.light_amount.6dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000118, + "dEQP-GLES2.function", + "al.light_amount.8dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000119, + "dEQP-GLES2.functiona", + "l.light_amount.10dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000120, + "dEQP-GLES2.functiona", + "l.light_amount.12dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000121, + "dEQP-GLES2.functiona", + "l.light_amount.14dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000122, + "dEQP-GLES2.functiona", + "l.light_amount.16dir"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000123, + "dEQP-GLES2.functiona", + "l.light_amount.1omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000124, + "dEQP-GLES2.functiona", + "l.light_amount.2omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000125, + "dEQP-GLES2.functiona", + "l.light_amount.4omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000126, + "dEQP-GLES2.functiona", + "l.light_amount.6omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000127, + "dEQP-GLES2.functiona", + "l.light_amount.8omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000128, + "dEQP-GLES2.functiona", + "l.light_amount.10omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000129, + "dEQP-GLES2.functiona", + "l.light_amount.12omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000130, + "dEQP-GLES2.functiona", + "l.light_amount.14omni"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000131, + "dEQP-GLES2.functiona", + "l.light_amount.16omni"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampleTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampleTestCase.cpp new file mode 100644 index 000000000..b25a8c3f4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampleTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013976, + "dEQP-GLES2.functional.mult", + "isample.num_samples_polygon"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013977, + "dEQP-GLES2.functional.mul", + "tisample.num_samples_line"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013978, + "dEQP-GLES2.functional.multis", + "ample.common_edge_small_quads"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013979, + "dEQP-GLES2.functional.multi", + "sample.common_edge_big_quad"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013980, + "dEQP-GLES2.functional.multisa", + "mple.common_edge_viewport_quad"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013981, + "dEQP-GLES2.function", + "al.multisample.depth"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013982, + "dEQP-GLES2.functiona", + "l.multisample.stencil"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013983, + "dEQP-GLES2.functional.multis", + "ample.sample_coverage_invert"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013984, + "dEQP-GLES2.functional.multisample", + ".proportionality_alpha_to_coverage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013985, + "dEQP-GLES2.functional.multisampl", + "e.proportionality_sample_coverage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013986, + "dEQP-GLES2.functional.multisample.pro", + "portionality_sample_coverage_inverted"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013987, + "dEQP-GLES2.functional.multisam", + "ple.constancy_alpha_to_coverage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013988, + "dEQP-GLES2.functional.multisa", + "mple.constancy_sample_coverage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013989, + "dEQP-GLES2.functional.multisample.", + "constancy_sample_coverage_inverted"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013990, + "dEQP-GLES2.functional.mu", + "ltisample.constancy_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013991, + "dEQP-GLES2.functional.multis", + "ample.constancy_both_inverted"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp new file mode 100644 index 000000000..d4f2a0c8e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000132, + "dEQP-GLES2.functional.multisamp", + "led_render_to_texture.readpixels"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_polygon_offsetTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_polygon_offsetTestCase.cpp new file mode 100644 index 000000000..3f011cc4b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_polygon_offsetTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016303, + "dEQP-GLES2.functional.pol", + "ygon_offset.default_enable"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016304, + "dEQP-GLES2.functional.polygon_offs", + "et.default_displacement_with_units"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016305, + "dEQP-GLES2.functional.polygon_o", + "ffset.default_render_with_factor"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016306, + "dEQP-GLES2.functional.polygon", + "_offset.default_factor_0_slope"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016307, + "dEQP-GLES2.functional.pol", + "ygon_offset.fixed16_enable"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016308, + "dEQP-GLES2.functional.polygon_offs", + "et.fixed16_displacement_with_units"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016309, + "dEQP-GLES2.functional.polygon_o", + "ffset.fixed16_render_with_factor"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016310, + "dEQP-GLES2.functional.polygon", + "_offset.fixed16_factor_0_slope"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_prerequisiteTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_prerequisiteTestCase.cpp new file mode 100644 index 000000000..8418286e0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_prerequisiteTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000007, + "dEQP-GLES2.functional.p", + "rerequisite.state_reset"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000008, + "dEQP-GLES2.functional.p", + "rerequisite.clear_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000009, + "dEQP-GLES2.functional.p", + "rerequisite.read_pixels"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_read_pixelsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_read_pixelsTestCase.cpp new file mode 100644 index 000000000..6d503e93e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functional_read_pixelsTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015249, + "dEQP-GLES2.functional.read", + "_pixels.rgba_ubyte_align_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015250, + "dEQP-GLES2.functional.read", + "_pixels.rgba_ubyte_align_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015251, + "dEQP-GLES2.functional.read", + "_pixels.rgba_ubyte_align_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015252, + "dEQP-GLES2.functional.read", + "_pixels.rgba_ubyte_align_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015253, + "dEQP-GLES2.functional.re", + "ad_pixels.choose_align_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015254, + "dEQP-GLES2.functional.re", + "ad_pixels.choose_align_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015255, + "dEQP-GLES2.functional.re", + "ad_pixels.choose_align_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015256, + "dEQP-GLES2.functional.re", + "ad_pixels.choose_align_8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_array_argumentsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_array_argumentsTestCase.cpp new file mode 100644 index 000000000..90815cca3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_array_argumentsTestCase.cpp @@ -0,0 +1,112 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002115, + "dEQP-GLES2.functional.shaders.function", + "s.array_arguments.local_in_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002116, + "dEQP-GLES2.functional.shaders.functions", + ".array_arguments.local_in_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002117, + "dEQP-GLES2.functional.shaders.functions", + ".array_arguments.global_in_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002118, + "dEQP-GLES2.functional.shaders.functions.", + "array_arguments.global_in_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002119, + "dEQP-GLES2.functional.shaders.functio", + "ns.array_arguments.local_in_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002120, + "dEQP-GLES2.functional.shaders.function", + "s.array_arguments.local_in_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002121, + "dEQP-GLES2.functional.shaders.function", + "s.array_arguments.global_in_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002122, + "dEQP-GLES2.functional.shaders.functions", + ".array_arguments.global_in_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002123, + "dEQP-GLES2.functional.shaders.function", + "s.array_arguments.local_in_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002124, + "dEQP-GLES2.functional.shaders.functions", + ".array_arguments.local_in_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002125, + "dEQP-GLES2.functional.shaders.function", + "s.array_arguments.global_in_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002126, + "dEQP-GLES2.functional.shaders.functions", + ".array_arguments.global_in_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002127, + "dEQP-GLES2.functional.shaders.functio", + "ns.array_arguments.test_helpers_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002128, + "dEQP-GLES2.functional.shaders.function", + "s.array_arguments.test_helpers_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002129, + "dEQP-GLES2.functional.shaders.functions.ar", + "ray_arguments.copy_local_in_on_call_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002130, + "dEQP-GLES2.functional.shaders.functions.arr", + "ay_arguments.copy_local_in_on_call_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002131, + "dEQP-GLES2.functional.shaders.functions.ar", + "ray_arguments.copy_global_in_on_call_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002132, + "dEQP-GLES2.functional.shaders.functions.arr", + "ay_arguments.copy_global_in_on_call_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002133, + "dEQP-GLES2.functional.shaders.functions.arr", + "ay_arguments.copy_local_inout_on_call_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002134, + "dEQP-GLES2.functional.shaders.functions.arra", + "y_arguments.copy_local_inout_on_call_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002135, + "dEQP-GLES2.functional.shaders.functions.arra", + "y_arguments.copy_global_inout_on_call_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002136, + "dEQP-GLES2.functional.shaders.functions.array", + "_arguments.copy_global_inout_on_call_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_control_flowTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_control_flowTestCase.cpp new file mode 100644 index 000000000..445dc9b40 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_control_flowTestCase.cpp @@ -0,0 +1,112 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002137, + "dEQP-GLES2.functional.shaders.functi", + "ons.control_flow.simple_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002138, + "dEQP-GLES2.functional.shaders.functio", + "ns.control_flow.simple_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002139, + "dEQP-GLES2.functional.shaders.functi", + "ons.control_flow.return_in_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002140, + "dEQP-GLES2.functional.shaders.functio", + "ns.control_flow.return_in_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002141, + "dEQP-GLES2.functional.shaders.functio", + "ns.control_flow.return_in_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002142, + "dEQP-GLES2.functional.shaders.function", + "s.control_flow.return_in_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002143, + "dEQP-GLES2.functional.shaders.functio", + "ns.control_flow.return_in_loop_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002144, + "dEQP-GLES2.functional.shaders.function", + "s.control_flow.return_in_loop_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002145, + "dEQP-GLES2.functional.shaders.function", + "s.control_flow.return_in_loop_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002146, + "dEQP-GLES2.functional.shaders.functions", + ".control_flow.return_in_loop_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002147, + "dEQP-GLES2.functional.shaders.function", + "s.control_flow.return_after_loop_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002148, + "dEQP-GLES2.functional.shaders.functions", + ".control_flow.return_after_loop_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002149, + "dEQP-GLES2.functional.shaders.functions", + ".control_flow.return_after_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002150, + "dEQP-GLES2.functional.shaders.functions.", + "control_flow.return_after_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002151, + "dEQP-GLES2.functional.shaders.functions.", + "control_flow.return_after_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002152, + "dEQP-GLES2.functional.shaders.functions.c", + "ontrol_flow.return_after_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002153, + "dEQP-GLES2.functional.shaders.functions.", + "control_flow.return_in_nested_loop_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002154, + "dEQP-GLES2.functional.shaders.functions.c", + "ontrol_flow.return_in_nested_loop_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002155, + "dEQP-GLES2.functional.shaders.functions.con", + "trol_flow.return_after_loop_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002156, + "dEQP-GLES2.functional.shaders.functions.cont", + "rol_flow.return_after_loop_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002157, + "dEQP-GLES2.functional.shaders.functions.con", + "trol_flow.mixed_return_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002158, + "dEQP-GLES2.functional.shaders.functions.cont", + "rol_flow.mixed_return_break_continue_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_datatypesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_datatypesTestCase.cpp new file mode 100644 index 000000000..6523e536f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_datatypesTestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001996, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001997, + "dEQP-GLES2.functional.shaders.funct", + "ions.datatypes.float_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001998, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.float_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001999, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002000, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.float_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002001, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002002, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002003, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002004, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.float_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002005, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002006, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.float_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002007, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002008, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.float_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002009, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002010, + "dEQP-GLES2.functional.shaders.fu", + "nctions.datatypes.int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002011, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002012, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.int_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002013, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.int_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002014, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.int_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002015, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.int_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002016, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002017, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002018, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.bool_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002019, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.bool_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002020, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.bool_bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002021, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.bool_bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002022, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.bool_bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002023, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.bool_bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002024, + "dEQP-GLES2.functional.shaders.fun", + "ctions.datatypes.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002025, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002026, + "dEQP-GLES2.functional.shaders.", + "functions.datatypes.mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002027, + "dEQP-GLES2.functional.shaders.f", + "unctions.datatypes.mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002028, + "dEQP-GLES2.functional.shaders.", + "functions.datatypes.mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002029, + "dEQP-GLES2.functional.shaders.f", + "unctions.datatypes.mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002030, + "dEQP-GLES2.functional.shaders.", + "functions.datatypes.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002031, + "dEQP-GLES2.functional.shaders.f", + "unctions.datatypes.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002032, + "dEQP-GLES2.functional.shaders.func", + "tions.datatypes.float_struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002033, + "dEQP-GLES2.functional.shaders.funct", + "ions.datatypes.float_struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002034, + "dEQP-GLES2.functional.shaders.funct", + "ions.datatypes.struct_struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002035, + "dEQP-GLES2.functional.shaders.functi", + "ons.datatypes.struct_struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002036, + "dEQP-GLES2.functional.shaders.function", + "s.datatypes.struct_nested_struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002037, + "dEQP-GLES2.functional.shaders.functions", + ".datatypes.struct_nested_struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_002038, + "dEQP-GLES2.functional.shaders.functions.dat", + "atypes.struct_constructor_highp_in_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_declarationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_declarationsTestCase.cpp new file mode 100644 index 000000000..0d8eebde5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_declarationsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002089, + "dEQP-GLES2.functional.shaders.functio", + "ns.declarations.void_vs_no_void_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002090, + "dEQP-GLES2.functional.shaders.function", + "s.declarations.void_vs_no_void_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002091, + "dEQP-GLES2.functional.shaders.funct", + "ions.declarations.in_vs_no_in_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002092, + "dEQP-GLES2.functional.shaders.functi", + "ons.declarations.in_vs_no_in_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002093, + "dEQP-GLES2.functional.shaders.functions.decl", + "arations.default_vs_explicit_precision_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002094, + "dEQP-GLES2.functional.shaders.functions.decla", + "rations.default_vs_explicit_precision_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_invalidTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_invalidTestCase.cpp new file mode 100644 index 000000000..b6d9fc0d5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_invalidTestCase.cpp @@ -0,0 +1,356 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002169, + "dEQP-GLES2.functional.shaders.func", + "tions.invalid.break_in_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002170, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.break_in_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002171, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.continue_in_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002172, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.continue_in_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002173, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.return_value_from_void_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002174, + "dEQP-GLES2.functional.shaders.functions.inva", + "lid.return_value_from_void_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002175, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.extra_arguments_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002176, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.extra_arguments_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002177, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.missing_arguments_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002178, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.missing_arguments_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002179, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.missing_argument_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002180, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.missing_argument_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002181, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.argument_basetype_mismatch_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002182, + "dEQP-GLES2.functional.shaders.functions.i", + "nvalid.argument_basetype_mismatch_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002183, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.argument_scalar_vector_mismatch_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002184, + "dEQP-GLES2.functional.shaders.functions.inva", + "lid.argument_scalar_vector_mismatch_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002185, + "dEQP-GLES2.functional.shaders.functions.in", + "valid.argument_vector_size_mismatch_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002186, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.argument_vector_size_mismatch_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002187, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.duplicate_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002188, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.duplicate_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002189, + "dEQP-GLES2.functional.shaders.functions.in", + "valid.prototype_mismatch_return_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002190, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.prototype_mismatch_return_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002191, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.prototype_unspecified_array_size_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002192, + "dEQP-GLES2.functional.shaders.functions.inva", + "lid.prototype_unspecified_array_size_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002193, + "dEQP-GLES2.functional.shaders.functions.inva", + "lid.call_mismatch_argument_array_size_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002194, + "dEQP-GLES2.functional.shaders.functions.inval", + "id.call_mismatch_argument_array_size_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002195, + "dEQP-GLES2.functional.shaders.functions.inva", + "lid.prototype_mismatch_argument_const_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002196, + "dEQP-GLES2.functional.shaders.functions.inval", + "id.prototype_mismatch_argument_const_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002197, + "dEQP-GLES2.functional.shaders.functions.invalid", + ".prototype_mismatch_argument_array_const_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002198, + "dEQP-GLES2.functional.shaders.functions.invalid.", + "prototype_mismatch_argument_array_const_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002199, + "dEQP-GLES2.functional.shaders.functions.in", + "valid.prototype_mismatch_array_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002200, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.prototype_mismatch_array_inout_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002201, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.missing_return_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002202, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.missing_return_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002203, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.call_before_definition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002204, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.call_before_definition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002205, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.return_array_in_struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002206, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.return_array_in_struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002207, + "dEQP-GLES2.functional.shaders.functions.i", + "nvalid.argument_precision_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002208, + "dEQP-GLES2.functional.shaders.functions.in", + "valid.argument_precision_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002209, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.argument_in_out_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002210, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.argument_in_out_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002211, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.argument_in_inout_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002212, + "dEQP-GLES2.functional.shaders.functions.i", + "nvalid.argument_in_inout_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002213, + "dEQP-GLES2.functional.shaders.functions.i", + "nvalid.argument_out_inout_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002214, + "dEQP-GLES2.functional.shaders.functions.in", + "valid.argument_out_inout_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002215, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.return_type_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002216, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.return_type_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002217, + "dEQP-GLES2.functional.shaders.functions.in", + "valid.return_type_precision_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002218, + "dEQP-GLES2.functional.shaders.functions.inv", + "alid.return_type_precision_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002219, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.return_type_const_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002220, + "dEQP-GLES2.functional.shaders.functions.i", + "nvalid.return_type_const_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002221, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.return_without_value_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002222, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.return_without_value_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002223, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.local_function_definition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002224, + "dEQP-GLES2.functional.shaders.functions.i", + "nvalid.local_function_definition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002225, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.name_type_conflict_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002226, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.name_type_conflict_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002227, + "dEQP-GLES2.functional.shaders.func", + "tions.invalid.const_overload_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002228, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.const_overload_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002229, + "dEQP-GLES2.functional.shaders.func", + "tions.invalid.uniform_local_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002230, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.uniform_local_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002231, + "dEQP-GLES2.functional.shaders.func", + "tions.invalid.varying_local_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002232, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.varying_local_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002233, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.attribute_local_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002234, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.attribute_local_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002235, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.uniform_argument_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002236, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.uniform_argument_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002237, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.attribute_argument_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002238, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.attribute_return_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002239, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.attribute_return_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002240, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.main_invalid_return_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002241, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.main_invalid_return_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002242, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.main_has_arguments_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002243, + "dEQP-GLES2.functional.shaders.functio", + "ns.invalid.main_has_arguments_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002244, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.main_missing_return_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002245, + "dEQP-GLES2.functional.shaders.functions.", + "invalid.main_missing_return_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002246, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.write_const_arg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002247, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.write_const_arg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002248, + "dEQP-GLES2.functional.shaders.function", + "s.invalid.write_const_array_arg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002249, + "dEQP-GLES2.functional.shaders.functions", + ".invalid.write_const_array_arg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002250, + "dEQP-GLES2.functional.shaders.funct", + "ions.invalid.modify_const_arg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002251, + "dEQP-GLES2.functional.shaders.functi", + "ons.invalid.modify_const_arg_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_miscTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_miscTestCase.cpp new file mode 100644 index 000000000..8c047e26a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_miscTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002159, + "dEQP-GLES2.functional.shaders.fun", + "ctions.misc.multi_arg_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002160, + "dEQP-GLES2.functional.shaders.func", + "tions.misc.multi_arg_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002161, + "dEQP-GLES2.functional.shaders.fu", + "nctions.misc.multi_arg_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002162, + "dEQP-GLES2.functional.shaders.fun", + "ctions.misc.multi_arg_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002163, + "dEQP-GLES2.functional.shaders.functi", + "ons.misc.argument_eval_order_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002164, + "dEQP-GLES2.functional.shaders.functio", + "ns.misc.argument_eval_order_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002165, + "dEQP-GLES2.functional.shaders.functi", + "ons.misc.argument_eval_order_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002166, + "dEQP-GLES2.functional.shaders.functio", + "ns.misc.argument_eval_order_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002167, + "dEQP-GLES2.functional.shaders.fun", + "ctions.misc.missing_returns_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002168, + "dEQP-GLES2.functional.shaders.func", + "tions.misc.missing_returns_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_overloadingTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_overloadingTestCase.cpp new file mode 100644 index 000000000..5e8f37f62 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_overloadingTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002095, + "dEQP-GLES2.functional.shaders.functions.ov", + "erloading.user_func_arg_type_simple_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002096, + "dEQP-GLES2.functional.shaders.functions.ove", + "rloading.user_func_arg_type_simple_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002097, + "dEQP-GLES2.functional.shaders.functions.ov", + "erloading.user_func_arg_float_types_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002098, + "dEQP-GLES2.functional.shaders.functions.ove", + "rloading.user_func_arg_float_types_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002099, + "dEQP-GLES2.functional.shaders.functions.o", + "verloading.user_func_arg_int_types_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002100, + "dEQP-GLES2.functional.shaders.functions.ov", + "erloading.user_func_arg_int_types_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002101, + "dEQP-GLES2.functional.shaders.functions.o", + "verloading.user_func_arg_bool_types_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002102, + "dEQP-GLES2.functional.shaders.functions.ov", + "erloading.user_func_arg_bool_types_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002103, + "dEQP-GLES2.functional.shaders.functions.ov", + "erloading.user_func_arg_basic_types_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002104, + "dEQP-GLES2.functional.shaders.functions.ove", + "rloading.user_func_arg_basic_types_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002105, + "dEQP-GLES2.functional.shaders.functions.ove", + "rloading.user_func_arg_complex_types_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002106, + "dEQP-GLES2.functional.shaders.functions.over", + "loading.user_func_arg_complex_types_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002107, + "dEQP-GLES2.functional.shaders.functions", + ".overloading.user_func_arguments_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002108, + "dEQP-GLES2.functional.shaders.functions.", + "overloading.user_func_arguments_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002109, + "dEQP-GLES2.functional.shaders.funct", + "ions.overloading.builtin_sin_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002110, + "dEQP-GLES2.functional.shaders.functi", + "ons.overloading.builtin_sin_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002111, + "dEQP-GLES2.functional.shaders.funct", + "ions.overloading.builtin_step_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002112, + "dEQP-GLES2.functional.shaders.functi", + "ons.overloading.builtin_step_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002113, + "dEQP-GLES2.functional.shaders.func", + "tions.overloading.array_size_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002114, + "dEQP-GLES2.functional.shaders.funct", + "ions.overloading.array_size_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_qualifiersTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_qualifiersTestCase.cpp new file mode 100644 index 000000000..4be53c629 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2functions_qualifiersTestCase.cpp @@ -0,0 +1,224 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002039, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.in_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002040, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.in_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002041, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.out_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002042, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.out_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002043, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.inout_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002044, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.inout_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002045, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.in_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002046, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.in_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002047, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.out_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002048, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.out_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002049, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.inout_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002050, + "dEQP-GLES2.functional.shaders.function", + "s.qualifiers.inout_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002051, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.in_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002052, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.in_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002053, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.out_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002054, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.out_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002055, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.inout_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002056, + "dEQP-GLES2.functional.shaders.function", + "s.qualifiers.inout_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002057, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.const_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002058, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.const_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002059, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.const_in_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002060, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.const_in_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002061, + "dEQP-GLES2.functional.shaders.fu", + "nctions.qualifiers.in_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002062, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.in_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002063, + "dEQP-GLES2.functional.shaders.fu", + "nctions.qualifiers.out_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002064, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.out_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002065, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.inout_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002066, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.inout_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002067, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.in_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002068, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.in_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002069, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.out_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002070, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.out_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002071, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.inout_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002072, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.inout_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002073, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.in_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002074, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.in_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002075, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.out_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002076, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.out_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002077, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.inout_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002078, + "dEQP-GLES2.functional.shaders.functio", + "ns.qualifiers.inout_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002079, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.const_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002080, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.const_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002081, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.const_in_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002082, + "dEQP-GLES2.functional.shaders.functi", + "ons.qualifiers.const_in_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002083, + "dEQP-GLES2.functional.shaders.fu", + "nctions.qualifiers.in_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002084, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.in_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002085, + "dEQP-GLES2.functional.shaders.fun", + "ctions.qualifiers.out_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002086, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.out_bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002087, + "dEQP-GLES2.functional.shaders.func", + "tions.qualifiers.inout_bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002088, + "dEQP-GLES2.functional.shaders.funct", + "ions.qualifiers.inout_bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_crossTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_crossTestCase.cpp new file mode 100644 index 000000000..078e4427d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_crossTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006460, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.cross.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006461, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.cross.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006462, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.cross.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006463, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.cross.highp_vec3_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_distanceTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_distanceTestCase.cpp new file mode 100644 index 000000000..68ae93301 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_distanceTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006428, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.distance.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006429, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.distance.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006430, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006431, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.distance.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006432, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006433, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.distance.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006434, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.distance.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006435, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006436, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006437, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.distance.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006438, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.distance.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006439, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006440, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006441, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.distance.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006442, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.distance.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006443, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.distance.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_dotTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_dotTestCase.cpp new file mode 100644 index 000000000..62aa56374 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_dotTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006444, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006445, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.dot.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006446, + "dEQP-GLES2.functional.shaders.opera", + "tor.geometric.dot.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006447, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006448, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006449, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.dot.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006450, + "dEQP-GLES2.functional.shaders.opera", + "tor.geometric.dot.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006451, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006452, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006453, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.dot.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006454, + "dEQP-GLES2.functional.shaders.opera", + "tor.geometric.dot.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006455, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006456, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006457, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.dot.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006458, + "dEQP-GLES2.functional.shaders.opera", + "tor.geometric.dot.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006459, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.dot.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_faceforwardTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_faceforwardTestCase.cpp new file mode 100644 index 000000000..6cf73c89b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_faceforwardTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006480, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006481, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.faceforward.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006482, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.faceforward.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006483, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006484, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006485, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.faceforward.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006486, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.faceforward.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006487, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006488, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006489, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.faceforward.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006490, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.faceforward.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006491, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006492, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006493, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.faceforward.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006494, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.faceforward.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006495, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.faceforward.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_lengthTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_lengthTestCase.cpp new file mode 100644 index 000000000..e817f466e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_lengthTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006412, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.length.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006413, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.length.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006414, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006415, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.length.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006416, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006417, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.length.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006418, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.length.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006419, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006420, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006421, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.length.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006422, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.length.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006423, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006424, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006425, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.length.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006426, + "dEQP-GLES2.functional.shaders.operat", + "or.geometric.length.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006427, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.length.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_normalizeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_normalizeTestCase.cpp new file mode 100644 index 000000000..61d2390c1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_normalizeTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006464, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006465, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.normalize.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006466, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.normalize.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006467, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006468, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006469, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.normalize.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006470, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.normalize.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006471, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006472, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006473, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.normalize.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006474, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.normalize.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006475, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006476, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006477, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.normalize.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006478, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.normalize.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006479, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.normalize.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_reflectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_reflectTestCase.cpp new file mode 100644 index 000000000..ccce89849 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_reflectTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006496, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006497, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.reflect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006498, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.reflect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006499, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006500, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006501, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.reflect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006502, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.reflect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006503, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006504, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006505, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.reflect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006506, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.reflect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006507, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006508, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006509, + "dEQP-GLES2.functional.shaders.operator.", + "geometric.reflect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006510, + "dEQP-GLES2.functional.shaders.operato", + "r.geometric.reflect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006511, + "dEQP-GLES2.functional.shaders.operator", + ".geometric.reflect.highp_vec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_refractTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_refractTestCase.cpp new file mode 100644 index 000000000..3acc066f2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2geometric_refractTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006512, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.mediump_float_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006513, + "dEQP-GLES2.functional.shaders.operator.geo", + "metric.refract.mediump_float_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006514, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.refract.highp_float_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006515, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.highp_float_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006516, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.mediump_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006517, + "dEQP-GLES2.functional.shaders.operator.geo", + "metric.refract.mediump_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006518, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.refract.highp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006519, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.highp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006520, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.mediump_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006521, + "dEQP-GLES2.functional.shaders.operator.geo", + "metric.refract.mediump_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006522, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.refract.highp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006523, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.highp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006524, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.mediump_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006525, + "dEQP-GLES2.functional.shaders.operator.geo", + "metric.refract.mediump_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006526, + "dEQP-GLES2.functional.shaders.operator.g", + "eometric.refract.highp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006527, + "dEQP-GLES2.functional.shaders.operator.ge", + "ometric.refract.highp_vec4_float_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_array_in_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_array_in_structTestCase.cpp new file mode 100644 index 000000000..a4355f040 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_array_in_structTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014272, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014273, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014274, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014275, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014276, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014277, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014278, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014279, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014280, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014281, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014282, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014283, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014284, + "dEQP-GLES2.functional.uniform_api.value.initial.get_", + "uniform.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014285, + "dEQP-GLES2.functional.uniform_api.value.initial.get_u", + "niform.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014286, + "dEQP-GLES2.functional.uniform_api.value.initial.get", + "_uniform.array_in_struct.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014592, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014593, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014594, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014595, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014596, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014597, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014598, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014599, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014600, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014601, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014602, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014603, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014604, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointe", + "r.get_uniform.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014605, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer", + ".get_uniform.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014606, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_point", + "er.get_uniform.array_in_struct.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014903, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014904, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014905, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014906, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014907, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014908, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014909, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014910, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014911, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014912, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value", + ".get_uniform.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014913, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.", + "get_uniform.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014914, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_valu", + "e.get_uniform.array_in_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basicTestCase.cpp new file mode 100644 index 000000000..d993061aa --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basicTestCase.cpp @@ -0,0 +1,744 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014149, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014150, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014151, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014152, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014153, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014154, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014155, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014156, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014157, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014158, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014159, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014160, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014161, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014162, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014163, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014164, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014165, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014166, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.mat3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014167, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014168, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014169, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014170, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014171, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014172, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.get_uniform.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014173, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014174, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014175, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014176, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014177, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014178, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014179, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014180, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014181, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.get_uniform.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014182, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014183, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014184, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014185, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014186, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014187, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014188, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bvec2_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014189, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic.bvec2_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014190, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bvec2_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014191, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bvec2_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014192, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bvec2_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014193, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.bvec2_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014194, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bvec3_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014195, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic.bvec3_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014196, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bvec3_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014197, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bvec3_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014198, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bvec3_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014199, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.bvec3_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014200, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014201, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014202, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014203, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014204, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014205, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014206, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014207, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014208, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014209, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014210, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014211, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic.samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014439, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014440, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014441, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014442, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014443, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014444, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014445, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014446, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014447, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014448, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014449, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014450, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014451, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014452, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014453, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014454, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014455, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014456, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.mat3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014457, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014458, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014459, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014460, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014461, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014462, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.get_uniform.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014463, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014464, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014465, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014466, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014467, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014468, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014469, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014470, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014471, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.get_uniform.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014472, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014473, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014474, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014475, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014476, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014477, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014478, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bvec2_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014479, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic.bvec2_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014480, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bvec2_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014481, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bvec2_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014482, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bvec2_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014483, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.bvec2_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014484, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bvec3_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014485, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic.bvec3_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014486, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bvec3_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014487, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bvec3_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014488, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bvec3_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014489, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.bvec3_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014490, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014491, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014492, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014493, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014494, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014495, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014496, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014497, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014498, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014499, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014500, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014501, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic.samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014771, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014772, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014773, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014774, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014775, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014776, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.get_uniform.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014777, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014778, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014779, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.get_uniform.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014780, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014781, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014782, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.get_uniform.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014783, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014784, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014785, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.get_uniform.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014786, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014787, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014788, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014789, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014790, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014791, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014792, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.get_uniform.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014793, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014794, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.get_uniform.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014795, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014796, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014797, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014798, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014799, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014800, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014801, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bvec2_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014802, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic.bvec2_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014803, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bvec2_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014804, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bvec2_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014805, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bvec2_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014806, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.bvec2_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014807, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bvec3_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014808, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic.bvec3_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014809, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bvec3_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014810, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bvec3_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014811, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bvec3_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014812, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.bvec3_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014813, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014814, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014815, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014816, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014817, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014818, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014819, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014820, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014821, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014822, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014823, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014824, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic.samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_arrayTestCase.cpp new file mode 100644 index 000000000..67492b7ce --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_arrayTestCase.cpp @@ -0,0 +1,372 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014212, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014213, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014214, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014215, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014216, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014217, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014218, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014219, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014220, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014221, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014222, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014223, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014224, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014225, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014226, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014227, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.basic_array.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014228, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.basic_array.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014229, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_array.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014230, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_array.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014231, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.basic_array.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014232, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic_array.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014233, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.basic_array.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014234, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "get_uniform.basic_array.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014235, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.basic_array.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014236, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.basic_array.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014237, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.basic_array.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014238, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_array.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014239, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014240, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014241, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic_array.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014502, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014503, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014504, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014505, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014506, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014507, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014508, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014509, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014510, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014511, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014512, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014513, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014514, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014515, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014516, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014517, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.basic_array.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014518, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.basic_array.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014519, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_array.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014520, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_array.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014521, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.basic_array.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014522, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic_array.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014523, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.basic_array.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014524, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.get_uniform.basic_array.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014525, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.basic_array.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014526, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.basic_array.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014527, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.basic_array.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014528, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_array.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014529, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014530, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014531, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic_array.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014825, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014826, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014827, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014828, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014829, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014830, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014831, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014832, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014833, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.get_uniform.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014834, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014835, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014836, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.get_uniform.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014837, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.basic_array.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014838, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.basic_array.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014839, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_array.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014840, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_array.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014841, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.basic_array.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014842, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic_array.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014843, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.basic_array.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014844, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.get_uniform.basic_array.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014845, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.basic_array.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014846, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.basic_array.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014847, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.basic_array.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014848, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_array.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014849, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014850, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014851, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic_array.sampler2D_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp new file mode 100644 index 000000000..8c159ca5e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp @@ -0,0 +1,252 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014532, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.ge", + "t_uniform.basic_array_first_elem_without_brackets.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014533, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get", + "_uniform.basic_array_first_elem_without_brackets.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014534, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.g", + "et_uniform.basic_array_first_elem_without_brackets.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014535, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.g", + "et_uniform.basic_array_first_elem_without_brackets.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014536, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.ge", + "t_uniform.basic_array_first_elem_without_brackets.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014537, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.", + "get_uniform.basic_array_first_elem_without_brackets.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014538, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.g", + "et_uniform.basic_array_first_elem_without_brackets.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014539, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.ge", + "t_uniform.basic_array_first_elem_without_brackets.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014540, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.", + "get_uniform.basic_array_first_elem_without_brackets.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014541, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.g", + "et_uniform.basic_array_first_elem_without_brackets.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014542, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.ge", + "t_uniform.basic_array_first_elem_without_brackets.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014543, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.", + "get_uniform.basic_array_first_elem_without_brackets.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014544, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.ge", + "t_uniform.basic_array_first_elem_without_brackets.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014545, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get", + "_uniform.basic_array_first_elem_without_brackets.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014546, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.g", + "et_uniform.basic_array_first_elem_without_brackets.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014547, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_un", + "iform.basic_array_first_elem_without_brackets.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014548, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_uni", + "form.basic_array_first_elem_without_brackets.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014549, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_u", + "niform.basic_array_first_elem_without_brackets.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014550, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_u", + "niform.basic_array_first_elem_without_brackets.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014551, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_un", + "iform.basic_array_first_elem_without_brackets.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014552, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_", + "uniform.basic_array_first_elem_without_brackets.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014553, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_uni", + "form.basic_array_first_elem_without_brackets.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014554, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_unif", + "orm.basic_array_first_elem_without_brackets.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014555, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_un", + "iform.basic_array_first_elem_without_brackets.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014556, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_un", + "iform.basic_array_first_elem_without_brackets.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014557, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_uni", + "form.basic_array_first_elem_without_brackets.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014558, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_u", + "niform.basic_array_first_elem_without_brackets.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014559, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_", + "uniform.basic_array_first_elem_without_brackets.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014560, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_u", + "niform.basic_array_first_elem_without_brackets.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014561, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get", + "_uniform.basic_array_first_elem_without_brackets.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014852, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get", + "_uniform.basic_array_first_elem_without_brackets.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014853, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_", + "uniform.basic_array_first_elem_without_brackets.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014854, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.ge", + "t_uniform.basic_array_first_elem_without_brackets.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014855, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.ge", + "t_uniform.basic_array_first_elem_without_brackets.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014856, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get", + "_uniform.basic_array_first_elem_without_brackets.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014857, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.g", + "et_uniform.basic_array_first_elem_without_brackets.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014858, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.ge", + "t_uniform.basic_array_first_elem_without_brackets.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014859, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get", + "_uniform.basic_array_first_elem_without_brackets.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014860, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.g", + "et_uniform.basic_array_first_elem_without_brackets.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014861, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get", + "_uniform.basic_array_first_elem_without_brackets.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014862, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_", + "uniform.basic_array_first_elem_without_brackets.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014863, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.ge", + "t_uniform.basic_array_first_elem_without_brackets.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014864, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_uni", + "form.basic_array_first_elem_without_brackets.bool_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014865, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_unif", + "orm.basic_array_first_elem_without_brackets.bool_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014866, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_un", + "iform.basic_array_first_elem_without_brackets.bool_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014867, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_un", + "iform.basic_array_first_elem_without_brackets.bool_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014868, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_uni", + "form.basic_array_first_elem_without_brackets.bool_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014869, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_u", + "niform.basic_array_first_elem_without_brackets.bool_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014870, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_unif", + "orm.basic_array_first_elem_without_brackets.bvec4_api_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014871, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_unifo", + "rm.basic_array_first_elem_without_brackets.bvec4_api_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014872, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_uni", + "form.basic_array_first_elem_without_brackets.bvec4_api_float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014873, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_uni", + "form.basic_array_first_elem_without_brackets.bvec4_api_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014874, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_unif", + "orm.basic_array_first_elem_without_brackets.bvec4_api_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014875, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_un", + "iform.basic_array_first_elem_without_brackets.bvec4_api_int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014876, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_u", + "niform.basic_array_first_elem_without_brackets.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014877, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_un", + "iform.basic_array_first_elem_without_brackets.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014878, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get_", + "uniform.basic_array_first_elem_without_brackets.sampler2D_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_structTestCase.cpp new file mode 100644 index 000000000..677f21b93 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_basic_structTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014242, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014243, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014244, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014245, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014246, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014247, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014248, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014249, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014250, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014251, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014252, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014253, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014254, + "dEQP-GLES2.functional.uniform_api.value.initial.ge", + "t_uniform.basic_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014255, + "dEQP-GLES2.functional.uniform_api.value.initial.get", + "_uniform.basic_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014256, + "dEQP-GLES2.functional.uniform_api.value.initial.g", + "et_uniform.basic_struct.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014562, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014563, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014564, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014565, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014566, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014567, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014568, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014569, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014570, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014571, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014572, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014573, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014574, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.get_uniform.basic_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014575, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_point", + "er.get_uniform.basic_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014576, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.get_uniform.basic_struct.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014879, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014880, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014881, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014882, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014883, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014884, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014885, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014886, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014887, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014888, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", + "ue.get_uniform.basic_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014889, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_valu", + "e.get_uniform.basic_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014890, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.get_uniform.basic_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basicTestCase.cpp new file mode 100644 index 000000000..83c1fe188 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basicTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014300, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.get_uniform.multiple_basic.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014301, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.get_uniform.multiple_basic.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014302, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.get_uniform.multiple_basic.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014620, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.get_uniform.multiple_basic.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014621, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.get_uniform.multiple_basic.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014622, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.get_uniform.multiple_basic.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basic_arrayTestCase.cpp new file mode 100644 index 000000000..2b2926649 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_basic_arrayTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014303, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.get_uniform.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014304, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.get_uniform.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014305, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.get_uniform.multiple_basic_array.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014623, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.get_uniform.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014624, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.get_uniform.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014625, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.get_uniform.multiple_basic_array.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014927, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.get_uniform.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014928, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.get_uniform.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014929, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.get_uniform.multiple_basic_array.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..7f18dd76d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_multiple_nested_structs_arraysTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014306, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "get_uniform.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014307, + "dEQP-GLES2.functional.uniform_api.value.initial.g", + "et_uniform.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014308, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.multiple_nested_structs_arrays.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014626, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.get_uniform.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014627, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.get_uniform.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014628, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.multiple_nested_structs_arrays.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014930, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.get_uniform.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014931, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.get_uniform.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014932, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.multiple_nested_structs_arrays.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..0f7390b46 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_nested_structs_arraysTestCase.cpp @@ -0,0 +1,176 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014287, + "dEQP-GLES2.functional.uniform_api.value.initial.g", + "et_uniform.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014288, + "dEQP-GLES2.functional.uniform_api.value.initial.ge", + "t_uniform.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014289, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "get_uniform.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014290, + "dEQP-GLES2.functional.uniform_api.value.initial.ge", + "t_uniform.nested_structs_arrays.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014291, + "dEQP-GLES2.functional.uniform_api.value.initial.g", + "et_uniform.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014292, + "dEQP-GLES2.functional.uniform_api.value.initial.ge", + "t_uniform.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014293, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "get_uniform.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014294, + "dEQP-GLES2.functional.uniform_api.value.initial.g", + "et_uniform.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014295, + "dEQP-GLES2.functional.uniform_api.value.initial.ge", + "t_uniform.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014296, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "get_uniform.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014297, + "dEQP-GLES2.functional.uniform_api.value.initial.get_uni", + "form.nested_structs_arrays.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014298, + "dEQP-GLES2.functional.uniform_api.value.initial.get_unif", + "orm.nested_structs_arrays.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014299, + "dEQP-GLES2.functional.uniform_api.value.initial.get_un", + "iform.nested_structs_arrays.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014607, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.get_uniform.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014608, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.get_uniform.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014609, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.get_uniform.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014610, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.get_uniform.nested_structs_arrays.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014611, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.get_uniform.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014612, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.get_uniform.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014613, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.get_uniform.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014614, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.get_uniform.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014615, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.get_uniform.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014616, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.get_uniform.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014617, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.g", + "et_uniform.nested_structs_arrays.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014618, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.ge", + "t_uniform.nested_structs_arrays.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014619, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.", + "get_uniform.nested_structs_arrays.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014915, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.get_uniform.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014916, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", + "ue.get_uniform.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014917, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.get_uniform.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014918, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.get_uniform.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014919, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", + "ue.get_uniform.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014920, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.get_uniform.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014921, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.get_uniform.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014922, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", + "ue.get_uniform.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014923, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.get_uniform.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014924, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.ge", + "t_uniform.nested_structs_arrays.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014925, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.get", + "_uniform.nested_structs_arrays.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014926, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.g", + "et_uniform.nested_structs_arrays.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp new file mode 100644 index 000000000..922639ff7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2get_uniform_struct_in_arrayTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014257, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014258, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014259, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014260, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.struct_in_array.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014261, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.struct_in_array.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014262, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.struct_in_array.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014263, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014264, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014265, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014266, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.get_uniform.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014267, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".get_uniform.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014268, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.get_uniform.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014269, + "dEQP-GLES2.functional.uniform_api.value.initial.get_", + "uniform.struct_in_array.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014270, + "dEQP-GLES2.functional.uniform_api.value.initial.get_u", + "niform.struct_in_array.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014271, + "dEQP-GLES2.functional.uniform_api.value.initial.get", + "_uniform.struct_in_array.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014577, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014578, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014579, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014580, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.struct_in_array.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014581, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.struct_in_array.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014582, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.struct_in_array.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014583, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014584, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014585, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014586, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.get_uniform.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014587, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.get_uniform.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014588, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.get_uniform.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014589, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointe", + "r.get_uniform.struct_in_array.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014590, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer", + ".get_uniform.struct_in_array.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014591, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_point", + "er.get_uniform.struct_in_array.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014891, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014892, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014893, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014894, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014895, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014896, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014897, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.get_uniform.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014898, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.get_uniform.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014899, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.get_uniform.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014900, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value", + ".get_uniform.struct_in_array.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014901, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.", + "get_uniform.struct_in_array.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014902, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_valu", + "e.get_uniform.struct_in_array.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_matrix_subscriptTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_matrix_subscriptTestCase.cpp new file mode 100644 index 000000000..642904464 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_matrix_subscriptTestCase.cpp @@ -0,0 +1,408 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003211, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat2_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003212, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat2_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003213, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat2_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003214, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat2_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003215, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat2_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003216, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003217, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003218, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat2_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003219, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat2_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003220, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat2_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003221, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat2_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003222, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat2_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003223, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003224, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat2_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003225, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003226, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat2_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003227, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat2_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003228, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003229, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003230, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat2_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003231, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat2_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003232, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat2_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003233, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat2_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003234, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat2_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003235, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003236, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat2_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003237, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat2_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003238, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat2_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003239, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat2_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003240, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat2_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003241, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat2_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003242, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscri", + "pt.mat2_dynamic_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003243, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat3_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003244, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat3_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003245, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat3_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003246, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat3_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003247, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat3_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003248, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003249, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003250, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat3_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003251, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat3_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003252, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat3_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003253, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat3_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003254, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat3_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003255, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003256, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat3_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003257, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003258, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat3_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003259, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat3_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003260, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003261, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003262, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat3_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003263, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat3_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003264, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat3_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003265, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat3_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003266, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat3_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003267, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003268, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat3_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003269, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat3_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003270, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat3_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003271, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat3_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003272, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat3_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003273, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat3_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003274, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscri", + "pt.mat3_dynamic_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003275, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat4_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003276, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat4_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003277, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat4_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003278, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat4_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003279, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat4_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003280, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003281, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003282, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat4_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003283, + "dEQP-GLES2.functional.shaders.indexing.matrix_", + "subscript.mat4_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003284, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat4_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003285, + "dEQP-GLES2.functional.shaders.indexing.matrix_s", + "ubscript.mat4_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003286, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat4_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003287, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003288, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat4_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003289, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003290, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat4_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003291, + "dEQP-GLES2.functional.shaders.indexing.matrix_su", + "bscript.mat4_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003292, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003293, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003294, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat4_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003295, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat4_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003296, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat4_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003297, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat4_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003298, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat4_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003299, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003300, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat4_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003301, + "dEQP-GLES2.functional.shaders.indexing.matrix_sub", + "script.mat4_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003302, + "dEQP-GLES2.functional.shaders.indexing.matrix_subs", + "cript.mat4_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003303, + "dEQP-GLES2.functional.shaders.indexing.matrix_subsc", + "ript.mat4_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003304, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat4_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003305, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscr", + "ipt.mat4_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003306, + "dEQP-GLES2.functional.shaders.indexing.matrix_subscri", + "pt.mat4_dynamic_loop_write_dynamic_loop_read_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase.cpp new file mode 100644 index 000000000..e715d8942 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_tmp_arrayTestCase.cpp @@ -0,0 +1,664 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002835, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.float_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002836, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.float_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002837, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.float_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002838, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.float_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002839, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.float_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002840, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002841, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002842, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.float_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002843, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.float_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002844, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.float_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002845, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.float_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002846, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.float_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002847, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002848, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.float_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002849, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002850, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.float_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002851, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.float_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002852, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002853, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002854, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.float_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002855, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".float_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002856, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "float_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002857, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".float_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002858, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "float_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002859, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002860, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.float_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002861, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002862, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.float_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002863, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".float_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002864, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "float_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002865, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "float_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002866, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.f", + "loat_dynamic_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002867, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.float_const_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002868, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.float_const_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002869, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.float_const_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002870, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.float_const_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002871, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.float_const_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002872, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_const_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002873, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.float_const_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002874, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.float_const_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002875, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec2_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002876, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec2_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002877, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec2_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002878, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec2_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002879, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002880, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002881, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002882, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002883, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec2_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002884, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec2_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002885, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec2_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002886, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec2_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002887, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002888, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002889, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002890, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec2_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002891, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002892, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002893, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002894, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002895, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec2_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002896, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec2_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002897, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec2_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002898, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec2_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002899, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002900, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002901, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002902, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec2_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002903, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec2_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002904, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec2_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002905, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec2_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002906, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec2_dynamic_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002907, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec2_const_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002908, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec2_const_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002909, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec2_const_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002910, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec2_const_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002911, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec2_const_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002912, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_const_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002913, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec2_const_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002914, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec2_const_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002915, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec3_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002916, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec3_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002917, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec3_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002918, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec3_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002919, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002920, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002921, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002922, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002923, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec3_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002924, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec3_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002925, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec3_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002926, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec3_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002927, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002928, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002929, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002930, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec3_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002931, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002932, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002933, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002934, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002935, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec3_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002936, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec3_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002937, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec3_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002938, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec3_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002939, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002940, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002941, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002942, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec3_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002943, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec3_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002944, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec3_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002945, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec3_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002946, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec3_dynamic_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002947, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec3_const_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002948, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec3_const_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002949, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec3_const_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002950, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec3_const_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002951, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec3_const_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002952, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_const_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002953, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec3_const_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002954, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec3_const_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002955, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec4_static_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002956, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec4_static_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002957, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec4_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002958, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec4_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002959, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002960, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002961, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002962, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002963, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec4_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002964, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec4_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002965, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec4_dynamic_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002966, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec4_dynamic_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002967, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_dynamic_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002968, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_dynamic_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002969, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_dynamic_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002970, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec4_dynamic_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002971, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002972, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002973, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_static_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002974, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_static_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002975, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec4_static_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002976, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec4_static_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002977, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec4_static_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002978, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec4_static_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002979, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002980, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002981, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_dynamic_loop_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002982, + "dEQP-GLES2.functional.shaders.indexing.tmp_arra", + "y.vec4_dynamic_loop_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002983, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec4_dynamic_loop_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002984, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec4_dynamic_loop_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002985, + "dEQP-GLES2.functional.shaders.indexing.tmp_array", + ".vec4_dynamic_loop_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002986, + "dEQP-GLES2.functional.shaders.indexing.tmp_array.", + "vec4_dynamic_loop_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002987, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec4_const_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002988, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec4_const_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002989, + "dEQP-GLES2.functional.shaders.indexing.tmp", + "_array.vec4_const_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002990, + "dEQP-GLES2.functional.shaders.indexing.tmp_", + "array.vec4_const_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002991, + "dEQP-GLES2.functional.shaders.indexing.tmp_a", + "rray.vec4_const_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002992, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_const_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002993, + "dEQP-GLES2.functional.shaders.indexing.tmp_ar", + "ray.vec4_const_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002994, + "dEQP-GLES2.functional.shaders.indexing.tmp_arr", + "ay.vec4_const_write_dynamic_loop_read_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_uniform_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_uniform_arrayTestCase.cpp new file mode 100644 index 000000000..0bc43694a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_uniform_arrayTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002803, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.float_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002804, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.float_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002805, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.float_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002806, + "dEQP-GLES2.functional.shaders.indexing.u", + "niform_array.float_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002807, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.float_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002808, + "dEQP-GLES2.functional.shaders.indexing.uni", + "form_array.float_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002809, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.float_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002810, + "dEQP-GLES2.functional.shaders.indexing.uni", + "form_array.float_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002811, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.vec2_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002812, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.vec2_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002813, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.vec2_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002814, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.vec2_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002815, + "dEQP-GLES2.functional.shaders.indexing.u", + "niform_array.vec2_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002816, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.vec2_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002817, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.vec2_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002818, + "dEQP-GLES2.functional.shaders.indexing.uni", + "form_array.vec2_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002819, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.vec3_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002820, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.vec3_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002821, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.vec3_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002822, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.vec3_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002823, + "dEQP-GLES2.functional.shaders.indexing.u", + "niform_array.vec3_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002824, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.vec3_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002825, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.vec3_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002826, + "dEQP-GLES2.functional.shaders.indexing.uni", + "form_array.vec3_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002827, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.vec4_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002828, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.vec4_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002829, + "dEQP-GLES2.functional.shaders.indexing", + ".uniform_array.vec4_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002830, + "dEQP-GLES2.functional.shaders.indexing.", + "uniform_array.vec4_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002831, + "dEQP-GLES2.functional.shaders.indexing.u", + "niform_array.vec4_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002832, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.vec4_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002833, + "dEQP-GLES2.functional.shaders.indexing.un", + "iform_array.vec4_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002834, + "dEQP-GLES2.functional.shaders.indexing.uni", + "form_array.vec4_dynamic_loop_read_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_varying_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_varying_arrayTestCase.cpp new file mode 100644 index 000000000..c56026582 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_varying_arrayTestCase.cpp @@ -0,0 +1,280 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002739, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.float_static_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002740, + "dEQP-GLES2.functional.shaders.indexing.var", + "ying_array.float_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002741, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.float_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002742, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.float_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002743, + "dEQP-GLES2.functional.shaders.indexing.var", + "ying_array.float_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002744, + "dEQP-GLES2.functional.shaders.indexing.var", + "ying_array.float_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002745, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.float_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002746, + "dEQP-GLES2.functional.shaders.indexing.varyin", + "g_array.float_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002747, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.float_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002748, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.float_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002749, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.float_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002750, + "dEQP-GLES2.functional.shaders.indexing.varying_", + "array.float_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002751, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.float_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002752, + "dEQP-GLES2.functional.shaders.indexing.varyin", + "g_array.float_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002753, + "dEQP-GLES2.functional.shaders.indexing.varying_", + "array.float_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002754, + "dEQP-GLES2.functional.shaders.indexing.varying_", + "array.float_dynamic_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002755, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec2_static_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002756, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec2_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002757, + "dEQP-GLES2.functional.shaders.indexing.vary", + "ing_array.vec2_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002758, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec2_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002759, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec2_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002760, + "dEQP-GLES2.functional.shaders.indexing.var", + "ying_array.vec2_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002761, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec2_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002762, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec2_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002763, + "dEQP-GLES2.functional.shaders.indexing.vary", + "ing_array.vec2_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002764, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec2_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002765, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec2_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002766, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec2_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002767, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec2_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002768, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec2_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002769, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec2_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002770, + "dEQP-GLES2.functional.shaders.indexing.varying_", + "array.vec2_dynamic_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002771, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec3_static_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002772, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec3_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002773, + "dEQP-GLES2.functional.shaders.indexing.vary", + "ing_array.vec3_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002774, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec3_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002775, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec3_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002776, + "dEQP-GLES2.functional.shaders.indexing.var", + "ying_array.vec3_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002777, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec3_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002778, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec3_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002779, + "dEQP-GLES2.functional.shaders.indexing.vary", + "ing_array.vec3_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002780, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec3_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002781, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec3_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002782, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec3_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002783, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec3_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002784, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec3_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002785, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec3_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002786, + "dEQP-GLES2.functional.shaders.indexing.varying_", + "array.vec3_dynamic_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002787, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec4_static_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002788, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec4_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002789, + "dEQP-GLES2.functional.shaders.indexing.vary", + "ing_array.vec4_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002790, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec4_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002791, + "dEQP-GLES2.functional.shaders.indexing.va", + "rying_array.vec4_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002792, + "dEQP-GLES2.functional.shaders.indexing.var", + "ying_array.vec4_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002793, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec4_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002794, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec4_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002795, + "dEQP-GLES2.functional.shaders.indexing.vary", + "ing_array.vec4_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002796, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec4_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002797, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec4_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002798, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec4_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002799, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec4_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002800, + "dEQP-GLES2.functional.shaders.indexing.varyi", + "ng_array.vec4_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002801, + "dEQP-GLES2.functional.shaders.indexing.varying", + "_array.vec4_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002802, + "dEQP-GLES2.functional.shaders.indexing.varying_", + "array.vec4_dynamic_loop_write_dynamic_loop_read"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase.cpp new file mode 100644 index 000000000..c1335d72b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indexing_vector_subscriptTestCase.cpp @@ -0,0 +1,888 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002995, + "dEQP-GLES2.functional.shaders.indexing.vector_", + "subscript.vec2_direct_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002996, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec2_direct_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002997, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec2_direct_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002998, + "dEQP-GLES2.functional.shaders.indexing.vector_su", + "bscript.vec2_direct_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002999, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec2_direct_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003000, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec2_direct_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003001, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec2_direct_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003002, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec2_direct_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003003, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec2_direct_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003004, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec2_direct_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003005, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec2_direct_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003006, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec2_direct_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003007, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec2_component_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003008, + "dEQP-GLES2.functional.shaders.indexing.vector_su", + "bscript.vec2_component_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003009, + "dEQP-GLES2.functional.shaders.indexing.vector_sub", + "script.vec2_component_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003010, + "dEQP-GLES2.functional.shaders.indexing.vector_subs", + "cript.vec2_component_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003011, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec2_component_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003012, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec2_component_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003013, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec2_component_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003014, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec2_component_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003015, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec2_component_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003016, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_component_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003017, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec2_component_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003018, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_component_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003019, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec2_static_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003020, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec2_static_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003021, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec2_static_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003022, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec2_static_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003023, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_static_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003024, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec2_static_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003025, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_static_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003026, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec2_static_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003027, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c2_static_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003028, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_static_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003029, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_static_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003030, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2", + "_static_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003031, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec2_dynamic_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003032, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec2_dynamic_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003033, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec2_dynamic_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003034, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec2_dynamic_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003035, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_dynamic_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003036, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec2_dynamic_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003037, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec2_dynamic_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003038, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c2_dynamic_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003039, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_dynamic_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003040, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2", + "_dynamic_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003041, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_dynamic_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003042, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2", + "_dynamic_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003043, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec2_static_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003044, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec2_static_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003045, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec2_static_loop_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003046, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_static_loop_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003047, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c2_static_loop_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003048, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_static_loop_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003049, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_static_loop_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003050, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2", + "_static_loop_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003051, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_", + "static_loop_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003052, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_s", + "tatic_loop_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003053, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_", + "static_loop_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003054, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_s", + "tatic_loop_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003055, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec2_dynamic_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003056, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec2_dynamic_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003057, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec2_dynamic_loop_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003058, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec2_dynamic_loop_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003059, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_dynamic_loop_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003060, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2", + "_dynamic_loop_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003061, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "2_dynamic_loop_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003062, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2", + "_dynamic_loop_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003063, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_", + "dynamic_loop_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003064, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_d", + "ynamic_loop_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003065, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_d", + "ynamic_loop_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003066, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec2_dy", + "namic_loop_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003067, + "dEQP-GLES2.functional.shaders.indexing.vector_", + "subscript.vec3_direct_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003068, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec3_direct_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003069, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec3_direct_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003070, + "dEQP-GLES2.functional.shaders.indexing.vector_su", + "bscript.vec3_direct_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003071, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec3_direct_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003072, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec3_direct_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003073, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec3_direct_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003074, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec3_direct_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003075, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec3_direct_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003076, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec3_direct_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003077, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec3_direct_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003078, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec3_direct_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003079, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec3_component_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003080, + "dEQP-GLES2.functional.shaders.indexing.vector_su", + "bscript.vec3_component_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003081, + "dEQP-GLES2.functional.shaders.indexing.vector_sub", + "script.vec3_component_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003082, + "dEQP-GLES2.functional.shaders.indexing.vector_subs", + "cript.vec3_component_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003083, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec3_component_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003084, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec3_component_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003085, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec3_component_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003086, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec3_component_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003087, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec3_component_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003088, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_component_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003089, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec3_component_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003090, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_component_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003091, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec3_static_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003092, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec3_static_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003093, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec3_static_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003094, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec3_static_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003095, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_static_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003096, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec3_static_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003097, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_static_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003098, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec3_static_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003099, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c3_static_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003100, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_static_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003101, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_static_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003102, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3", + "_static_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003103, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec3_dynamic_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003104, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec3_dynamic_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003105, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec3_dynamic_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003106, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec3_dynamic_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003107, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_dynamic_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003108, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec3_dynamic_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003109, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec3_dynamic_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003110, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c3_dynamic_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003111, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_dynamic_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003112, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3", + "_dynamic_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003113, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_dynamic_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003114, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3", + "_dynamic_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003115, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec3_static_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003116, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec3_static_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003117, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec3_static_loop_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003118, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_static_loop_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003119, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c3_static_loop_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003120, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_static_loop_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003121, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_static_loop_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003122, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3", + "_static_loop_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003123, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_", + "static_loop_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003124, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_s", + "tatic_loop_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003125, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_", + "static_loop_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003126, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_s", + "tatic_loop_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003127, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec3_dynamic_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003128, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec3_dynamic_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003129, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec3_dynamic_loop_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003130, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec3_dynamic_loop_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003131, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_dynamic_loop_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003132, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3", + "_dynamic_loop_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003133, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "3_dynamic_loop_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003134, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3", + "_dynamic_loop_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003135, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_", + "dynamic_loop_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003136, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_d", + "ynamic_loop_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003137, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_d", + "ynamic_loop_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003138, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec3_dy", + "namic_loop_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003139, + "dEQP-GLES2.functional.shaders.indexing.vector_", + "subscript.vec4_direct_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003140, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec4_direct_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003141, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec4_direct_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003142, + "dEQP-GLES2.functional.shaders.indexing.vector_su", + "bscript.vec4_direct_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003143, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec4_direct_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003144, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec4_direct_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003145, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec4_direct_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003146, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec4_direct_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003147, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec4_direct_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003148, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec4_direct_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003149, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec4_direct_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003150, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec4_direct_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003151, + "dEQP-GLES2.functional.shaders.indexing.vector_s", + "ubscript.vec4_component_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003152, + "dEQP-GLES2.functional.shaders.indexing.vector_su", + "bscript.vec4_component_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003153, + "dEQP-GLES2.functional.shaders.indexing.vector_sub", + "script.vec4_component_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003154, + "dEQP-GLES2.functional.shaders.indexing.vector_subs", + "cript.vec4_component_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003155, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec4_component_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003156, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec4_component_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003157, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec4_component_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003158, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec4_component_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003159, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec4_component_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003160, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_component_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003161, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec4_component_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003162, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_component_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003163, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec4_static_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003164, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec4_static_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003165, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec4_static_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003166, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec4_static_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003167, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_static_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003168, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec4_static_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003169, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_static_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003170, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec4_static_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003171, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c4_static_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003172, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_static_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003173, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_static_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003174, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4", + "_static_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003175, + "dEQP-GLES2.functional.shaders.indexing.vector_subsc", + "ript.vec4_dynamic_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003176, + "dEQP-GLES2.functional.shaders.indexing.vector_subscr", + "ipt.vec4_dynamic_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003177, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec4_dynamic_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003178, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec4_dynamic_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003179, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_dynamic_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003180, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec4_dynamic_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003181, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.v", + "ec4_dynamic_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003182, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c4_dynamic_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003183, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_dynamic_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003184, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4", + "_dynamic_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003185, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_dynamic_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003186, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4", + "_dynamic_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003187, + "dEQP-GLES2.functional.shaders.indexing.vector_subscri", + "pt.vec4_static_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003188, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec4_static_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003189, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec4_static_loop_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003190, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_static_loop_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003191, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.ve", + "c4_static_loop_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003192, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_static_loop_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003193, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_static_loop_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003194, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4", + "_static_loop_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003195, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_", + "static_loop_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003196, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_s", + "tatic_loop_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003197, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_", + "static_loop_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003198, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_s", + "tatic_loop_subscript_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003199, + "dEQP-GLES2.functional.shaders.indexing.vector_subscrip", + "t.vec4_dynamic_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003200, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec4_dynamic_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003201, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript", + ".vec4_dynamic_loop_subscript_write_component_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003202, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.", + "vec4_dynamic_loop_subscript_write_component_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003203, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_dynamic_loop_subscript_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003204, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4", + "_dynamic_loop_subscript_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003205, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec", + "4_dynamic_loop_subscript_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003206, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4", + "_dynamic_loop_subscript_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003207, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_", + "dynamic_loop_subscript_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003208, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_d", + "ynamic_loop_subscript_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003209, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_d", + "ynamic_loop_subscript_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_003210, + "dEQP-GLES2.functional.shaders.indexing.vector_subscript.vec4_dy", + "namic_loop_subscript_write_dynamic_loop_subscript_read_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp new file mode 100644 index 000000000..755f3a7f6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_bufferTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016338, + "dEQP-GLES2.functional.draw.draw_e", + "lements.indices.buffer.index_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016339, + "dEQP-GLES2.functional.draw.draw_e", + "lements.indices.buffer.index_short"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp new file mode 100644 index 000000000..b721ff827 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_unaligned_user_ptrTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016337, + "dEQP-GLES2.functional.draw.draw_element", + "s.indices.unaligned_user_ptr.index_short"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp new file mode 100644 index 000000000..943f04d38 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2indices_user_ptrTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016335, + "dEQP-GLES2.functional.draw.draw_el", + "ements.indices.user_ptr.index_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016336, + "dEQP-GLES2.functional.draw.draw_el", + "ements.indices.user_ptr.index_short"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_array_in_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_array_in_structTestCase.cpp new file mode 100644 index 000000000..33b51c47d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_array_in_structTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014097, + "dEQP-GLES2.functional.uniform_api.info_", + "query.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014098, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014099, + "dEQP-GLES2.functional.uniform_api.info", + "_query.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014100, + "dEQP-GLES2.functional.uniform_api.info", + "_query.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014101, + "dEQP-GLES2.functional.uniform_api.info_", + "query.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014102, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014103, + "dEQP-GLES2.functional.uniform_api.info", + "_query.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014104, + "dEQP-GLES2.functional.uniform_api.info_", + "query.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014105, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014106, + "dEQP-GLES2.functional.uniform_api.info_", + "query.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014107, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014108, + "dEQP-GLES2.functional.uniform_api.info", + "_query.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014109, + "dEQP-GLES2.functional.uniform_api.info_query", + ".array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014110, + "dEQP-GLES2.functional.uniform_api.info_query.", + "array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014111, + "dEQP-GLES2.functional.uniform_api.info_quer", + "y.array_in_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basicTestCase.cpp new file mode 100644 index 000000000..5117e798f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basicTestCase.cpp @@ -0,0 +1,228 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013992, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013993, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013994, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013995, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013996, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013997, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013998, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013999, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014000, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014001, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014002, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014003, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014004, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014005, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014006, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014007, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014008, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014009, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.mat3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014010, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014011, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014012, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014013, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014014, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014015, + "dEQP-GLES2.functional.uniform", + "_api.info_query.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014016, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014017, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014018, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014019, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014020, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014021, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014022, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014023, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014024, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014025, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014026, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014027, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014028, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014029, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014030, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.bvec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014031, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014032, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014033, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.bvec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014034, + "dEQP-GLES2.functional.uniform_a", + "pi.info_query.basic.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014035, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014036, + "dEQP-GLES2.functional.uniform_", + "api.info_query.basic.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014037, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014038, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014039, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014040, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014041, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_014042, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic.samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_arrayTestCase.cpp new file mode 100644 index 000000000..c2cf8783d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_arrayTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014043, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014044, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014045, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014046, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014047, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014048, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014049, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014050, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014051, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014052, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014053, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014054, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014055, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014056, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014057, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014058, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014059, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014060, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014061, + "dEQP-GLES2.functional.uniform_api.", + "info_query.basic_array.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014062, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014063, + "dEQP-GLES2.functional.uniform_api", + ".info_query.basic_array.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014064, + "dEQP-GLES2.functional.uniform_api.in", + "fo_query.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014065, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014066, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.basic_array.sampler2D_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_structTestCase.cpp new file mode 100644 index 000000000..68e5a2565 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_basic_structTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014067, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014068, + "dEQP-GLES2.functional.uniform_api.info", + "_query.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014069, + "dEQP-GLES2.functional.uniform_api.in", + "fo_query.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014070, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.basic_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014071, + "dEQP-GLES2.functional.uniform_api.info", + "_query.basic_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014072, + "dEQP-GLES2.functional.uniform_api.in", + "fo_query.basic_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014073, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014074, + "dEQP-GLES2.functional.uniform_api.info", + "_query.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014075, + "dEQP-GLES2.functional.uniform_api.in", + "fo_query.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014076, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014077, + "dEQP-GLES2.functional.uniform_api.info", + "_query.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014078, + "dEQP-GLES2.functional.uniform_api.in", + "fo_query.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014079, + "dEQP-GLES2.functional.uniform_api.info_quer", + "y.basic_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014080, + "dEQP-GLES2.functional.uniform_api.info_query", + ".basic_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014081, + "dEQP-GLES2.functional.uniform_api.info_que", + "ry.basic_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basicTestCase.cpp new file mode 100644 index 000000000..0336e28bc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basicTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014125, + "dEQP-GLES2.functional.uniform_api", + ".info_query.multiple_basic.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014126, + "dEQP-GLES2.functional.uniform_api.", + "info_query.multiple_basic.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014127, + "dEQP-GLES2.functional.uniform_ap", + "i.info_query.multiple_basic.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp new file mode 100644 index 000000000..d2bce1958 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_basic_arrayTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014128, + "dEQP-GLES2.functional.uniform_api.in", + "fo_query.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014129, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014130, + "dEQP-GLES2.functional.uniform_api.i", + "nfo_query.multiple_basic_array.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..94cd7fa8c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_multiple_nested_structs_arraysTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014131, + "dEQP-GLES2.functional.uniform_api.info_qu", + "ery.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014132, + "dEQP-GLES2.functional.uniform_api.info_que", + "ry.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014133, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.multiple_nested_structs_arrays.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..026e76b5a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_nested_structs_arraysTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014112, + "dEQP-GLES2.functional.uniform_api.info_que", + "ry.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014113, + "dEQP-GLES2.functional.uniform_api.info_quer", + "y.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014114, + "dEQP-GLES2.functional.uniform_api.info_qu", + "ery.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014115, + "dEQP-GLES2.functional.uniform_api.info_que", + "ry.nested_structs_arrays.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014116, + "dEQP-GLES2.functional.uniform_api.info_qu", + "ery.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014117, + "dEQP-GLES2.functional.uniform_api.info_que", + "ry.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014118, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014119, + "dEQP-GLES2.functional.uniform_api.info_que", + "ry.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014120, + "dEQP-GLES2.functional.uniform_api.info_quer", + "y.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014121, + "dEQP-GLES2.functional.uniform_api.info_qu", + "ery.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014122, + "dEQP-GLES2.functional.uniform_api.info_query.ne", + "sted_structs_arrays.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014123, + "dEQP-GLES2.functional.uniform_api.info_query.nes", + "ted_structs_arrays.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014124, + "dEQP-GLES2.functional.uniform_api.info_query.n", + "ested_structs_arrays.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_struct_in_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_struct_in_arrayTestCase.cpp new file mode 100644 index 000000000..209743820 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_struct_in_arrayTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014082, + "dEQP-GLES2.functional.uniform_api.info_", + "query.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014083, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014084, + "dEQP-GLES2.functional.uniform_api.info", + "_query.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014085, + "dEQP-GLES2.functional.uniform_api.info", + "_query.struct_in_array.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014086, + "dEQP-GLES2.functional.uniform_api.info_", + "query.struct_in_array.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014087, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.struct_in_array.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014088, + "dEQP-GLES2.functional.uniform_api.info", + "_query.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014089, + "dEQP-GLES2.functional.uniform_api.info_", + "query.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014090, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014091, + "dEQP-GLES2.functional.uniform_api.info_", + "query.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014092, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014093, + "dEQP-GLES2.functional.uniform_api.info", + "_query.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014094, + "dEQP-GLES2.functional.uniform_api.info_query", + ".struct_in_array.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014095, + "dEQP-GLES2.functional.uniform_api.info_query.", + "struct_in_array.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014096, + "dEQP-GLES2.functional.uniform_api.info_quer", + "y.struct_in_array.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_unused_uniformsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_unused_uniformsTestCase.cpp new file mode 100644 index 000000000..aa6b4ab1e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2info_query_unused_uniformsTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014134, + "dEQP-GLES2.functional.uniform_api.info_", + "query.unused_uniforms.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014135, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.unused_uniforms.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014136, + "dEQP-GLES2.functional.uniform_api.info", + "_query.unused_uniforms.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014137, + "dEQP-GLES2.functional.uniform_api.info", + "_query.unused_uniforms.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014138, + "dEQP-GLES2.functional.uniform_api.info_", + "query.unused_uniforms.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014139, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.unused_uniforms.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014140, + "dEQP-GLES2.functional.uniform_api.info", + "_query.unused_uniforms.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014141, + "dEQP-GLES2.functional.uniform_api.info_", + "query.unused_uniforms.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014142, + "dEQP-GLES2.functional.uniform_api.inf", + "o_query.unused_uniforms.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014143, + "dEQP-GLES2.functional.uniform_api.info_", + "query.unused_uniforms.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014144, + "dEQP-GLES2.functional.uniform_api.info_q", + "uery.unused_uniforms.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014145, + "dEQP-GLES2.functional.uniform_api.info", + "_query.unused_uniforms.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014146, + "dEQP-GLES2.functional.uniform_api.info_query", + ".unused_uniforms.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014147, + "dEQP-GLES2.functional.uniform_api.info_query.", + "unused_uniforms.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014148, + "dEQP-GLES2.functional.uniform_api.info_quer", + "y.unused_uniforms.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_equalTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_equalTestCase.cpp new file mode 100644 index 000000000..80476edc2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_equalTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006708, + "dEQP-GLES2.functional.shaders.operato", + "r.int_compare.equal.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006709, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006710, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006711, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.equal.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006712, + "dEQP-GLES2.functional.shaders.operato", + "r.int_compare.equal.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006713, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006714, + "dEQP-GLES2.functional.shaders.operato", + "r.int_compare.equal.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006715, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006716, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006717, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.equal.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006718, + "dEQP-GLES2.functional.shaders.operato", + "r.int_compare.equal.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006719, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006720, + "dEQP-GLES2.functional.shaders.operato", + "r.int_compare.equal.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006721, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006722, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006723, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.equal.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006724, + "dEQP-GLES2.functional.shaders.operato", + "r.int_compare.equal.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006725, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.equal.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanEqualTestCase.cpp new file mode 100644 index 000000000..ea5e730ea --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanEqualTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006690, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.greaterThanEqual.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006691, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.greaterThanEqual.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006692, + "dEQP-GLES2.functional.shaders.operator.int_c", + "ompare.greaterThanEqual.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006693, + "dEQP-GLES2.functional.shaders.operator.int_co", + "mpare.greaterThanEqual.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006694, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.greaterThanEqual.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006695, + "dEQP-GLES2.functional.shaders.operator.int_c", + "ompare.greaterThanEqual.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006696, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.greaterThanEqual.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006697, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.greaterThanEqual.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006698, + "dEQP-GLES2.functional.shaders.operator.int_c", + "ompare.greaterThanEqual.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006699, + "dEQP-GLES2.functional.shaders.operator.int_co", + "mpare.greaterThanEqual.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006700, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.greaterThanEqual.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006701, + "dEQP-GLES2.functional.shaders.operator.int_c", + "ompare.greaterThanEqual.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006702, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.greaterThanEqual.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006703, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.greaterThanEqual.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006704, + "dEQP-GLES2.functional.shaders.operator.int_c", + "ompare.greaterThanEqual.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006705, + "dEQP-GLES2.functional.shaders.operator.int_co", + "mpare.greaterThanEqual.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006706, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.greaterThanEqual.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006707, + "dEQP-GLES2.functional.shaders.operator.int_c", + "ompare.greaterThanEqual.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanTestCase.cpp new file mode 100644 index 000000000..8e632be35 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_greaterThanTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006672, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.greaterThan.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006673, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006674, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006675, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.greaterThan.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006676, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.greaterThan.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006677, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006678, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.greaterThan.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006679, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006680, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006681, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.greaterThan.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006682, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.greaterThan.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006683, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006684, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.greaterThan.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006685, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006686, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006687, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.greaterThan.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006688, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.greaterThan.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006689, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.greaterThan.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanEqualTestCase.cpp new file mode 100644 index 000000000..8c25d5521 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanEqualTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006654, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThanEqual.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006655, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006656, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006657, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.lessThanEqual.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006658, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThanEqual.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006659, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006660, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThanEqual.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006661, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006662, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006663, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.lessThanEqual.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006664, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThanEqual.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006665, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006666, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThanEqual.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006667, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006668, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006669, + "dEQP-GLES2.functional.shaders.operator.int_", + "compare.lessThanEqual.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006670, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThanEqual.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006671, + "dEQP-GLES2.functional.shaders.operator.int", + "_compare.lessThanEqual.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanTestCase.cpp new file mode 100644 index 000000000..e2fdd08ba --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_lessThanTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006636, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.lessThan.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006637, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.lessThan.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006638, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.lessThan.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006639, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThan.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006640, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.lessThan.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006641, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.lessThan.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006642, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.lessThan.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006643, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.lessThan.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006644, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.lessThan.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006645, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThan.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006646, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.lessThan.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006647, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.lessThan.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006648, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.lessThan.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006649, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.lessThan.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006650, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.lessThan.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006651, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.lessThan.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006652, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.lessThan.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006653, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.lessThan.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_notEqualTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_notEqualTestCase.cpp new file mode 100644 index 000000000..001b136f1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2int_compare_notEqualTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006726, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.notEqual.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006727, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.notEqual.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006728, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.notEqual.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006729, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.notEqual.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006730, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.notEqual.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006731, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.notEqual.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006732, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.notEqual.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006733, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.notEqual.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006734, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.notEqual.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006735, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.notEqual.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006736, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.notEqual.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006737, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.notEqual.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006738, + "dEQP-GLES2.functional.shaders.operator", + ".int_compare.notEqual.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006739, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.notEqual.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006740, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.notEqual.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006741, + "dEQP-GLES2.functional.shaders.operator.in", + "t_compare.notEqual.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006742, + "dEQP-GLES2.functional.shaders.operator.", + "int_compare.notEqual.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006743, + "dEQP-GLES2.functional.shaders.operator.i", + "nt_compare.notEqual.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interaction_basic_shaderTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interaction_basic_shaderTestCase.cpp new file mode 100644 index 000000000..7927b3456 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interaction_basic_shaderTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012312, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012313, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012314, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012315, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012316, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012317, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012318, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012319, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012320, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012321, + "dEQP-GLES2.functional.fragment", + "_ops.interaction.basic_shader.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012322, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012323, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012324, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012325, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012326, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012327, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012328, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012329, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012330, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012331, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012332, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012333, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012334, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012335, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012336, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012337, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012338, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012339, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012340, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012341, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012342, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012343, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012344, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012345, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012346, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012347, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012348, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012349, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012350, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012351, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012352, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012353, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012354, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012355, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012356, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012357, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012358, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012359, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012360, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012361, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012362, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012363, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012364, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012365, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012366, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012367, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012368, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012369, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012370, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012371, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012372, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012373, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012374, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012375, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012376, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012377, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012378, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012379, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012380, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012381, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012382, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012383, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012384, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012385, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012386, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012387, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012388, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012389, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012390, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012391, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012392, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012393, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012394, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012395, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012396, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012397, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012398, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012399, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012400, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012401, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012402, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012403, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012404, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012405, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012406, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012407, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012408, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012409, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012410, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012411, + "dEQP-GLES2.functional.fragment_", + "ops.interaction.basic_shader.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_basicTestCase.cpp new file mode 100644 index 000000000..5aa331791 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_basicTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013908, + "dEQP-GLES2.functional.rasterizat", + "ion.interpolation.basic.triangles"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013909, + "dEQP-GLES2.functional.rasterization", + ".interpolation.basic.triangle_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013910, + "dEQP-GLES2.functional.rasterizatio", + "n.interpolation.basic.triangle_fan"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013911, + "dEQP-GLES2.functional.rasteriz", + "ation.interpolation.basic.lines"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013912, + "dEQP-GLES2.functional.rasterizati", + "on.interpolation.basic.line_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013913, + "dEQP-GLES2.functional.rasterizat", + "ion.interpolation.basic.line_loop"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013914, + "dEQP-GLES2.functional.rasterizati", + "on.interpolation.basic.lines_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013915, + "dEQP-GLES2.functional.rasterization", + ".interpolation.basic.line_strip_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013916, + "dEQP-GLES2.functional.rasterization", + ".interpolation.basic.line_loop_wide"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_projectedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_projectedTestCase.cpp new file mode 100644 index 000000000..6ada835c1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2interpolation_projectedTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013917, + "dEQP-GLES2.functional.rasterizatio", + "n.interpolation.projected.triangles"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013918, + "dEQP-GLES2.functional.rasterization.i", + "nterpolation.projected.triangle_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013919, + "dEQP-GLES2.functional.rasterization.", + "interpolation.projected.triangle_fan"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013920, + "dEQP-GLES2.functional.rasterizat", + "ion.interpolation.projected.lines"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013921, + "dEQP-GLES2.functional.rasterization", + ".interpolation.projected.line_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013922, + "dEQP-GLES2.functional.rasterizatio", + "n.interpolation.projected.line_loop"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013923, + "dEQP-GLES2.functional.rasterization", + ".interpolation.projected.lines_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013924, + "dEQP-GLES2.functional.rasterization.i", + "nterpolation.projected.line_strip_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013925, + "dEQP-GLES2.functional.rasterization.i", + "nterpolation.projected.line_loop_wide"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp new file mode 100644 index 000000000..6f3f01ebd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invalid_implicit_conversions_invalid_implicit_conversionsTestCase.cpp @@ -0,0 +1,1048 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002481, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_float_int_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002482, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_int_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002483, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_float_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002484, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_float_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002485, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_ivec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002486, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.add_float_ivec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002487, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002488, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.add_float_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002489, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_ivec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002490, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.add_float_ivec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002491, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002492, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.add_float_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002493, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_ivec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002494, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.add_float_ivec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002495, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_float_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002496, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.add_float_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002497, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_vec2_int_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002498, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_int_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002499, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.add_vec2_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002500, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_vec2_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002501, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_ivec2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002502, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec2_ivec2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002503, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002504, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec2_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002505, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_ivec3_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002506, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec2_ivec3_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002507, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002508, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec2_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002509, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_ivec4_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002510, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec2_ivec4_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002511, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec2_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002512, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec2_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002513, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_vec3_int_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002514, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_int_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002515, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.add_vec3_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002516, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_vec3_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002517, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_ivec2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002518, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec3_ivec2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002519, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002520, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec3_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002521, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_ivec3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002522, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec3_ivec3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002523, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002524, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec3_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002525, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_ivec4_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002526, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec3_ivec4_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002527, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec3_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002528, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec3_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002529, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_vec4_int_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002530, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_int_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002531, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.add_vec4_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002532, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.add_vec4_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002533, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_ivec2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002534, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec4_ivec2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002535, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002536, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec4_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002537, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_ivec3_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002538, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec4_ivec3_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002539, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002540, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec4_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002541, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_ivec4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002542, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec4_ivec4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002543, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.add_vec4_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002544, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.add_vec4_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002545, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_float_int_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002546, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_int_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002547, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_float_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002548, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_float_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002549, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_ivec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002550, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.mul_float_ivec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002551, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002552, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.mul_float_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002553, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_ivec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002554, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.mul_float_ivec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002555, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002556, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.mul_float_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002557, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_ivec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002558, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.mul_float_ivec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002559, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_float_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002560, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.mul_float_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002561, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_vec2_int_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002562, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_int_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002563, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.mul_vec2_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002564, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_vec2_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002565, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_ivec2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002566, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec2_ivec2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002567, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002568, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec2_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002569, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_ivec3_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002570, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec2_ivec3_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002571, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002572, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec2_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002573, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_ivec4_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002574, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec2_ivec4_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002575, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec2_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002576, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec2_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002577, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_vec3_int_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002578, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_int_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002579, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.mul_vec3_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002580, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_vec3_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002581, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_ivec2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002582, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec3_ivec2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002583, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002584, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec3_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002585, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_ivec3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002586, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec3_ivec3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002587, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002588, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec3_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002589, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_ivec4_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002590, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec3_ivec4_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002591, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec3_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002592, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec3_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002593, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_vec4_int_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002594, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_int_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002595, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.mul_vec4_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002596, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.mul_vec4_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002597, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_ivec2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002598, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec4_ivec2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002599, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002600, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec4_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002601, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_ivec3_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002602, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec4_ivec3_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002603, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002604, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec4_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002605, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_ivec4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002606, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec4_ivec4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002607, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.mul_vec4_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002608, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.mul_vec4_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002609, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_float_int_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002610, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_int_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002611, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_float_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002612, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_float_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002613, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_ivec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002614, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.sub_float_ivec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002615, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002616, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.sub_float_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002617, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_ivec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002618, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.sub_float_ivec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002619, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002620, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.sub_float_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002621, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_ivec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002622, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.sub_float_ivec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002623, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_float_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002624, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.sub_float_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002625, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_vec2_int_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002626, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_int_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002627, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.sub_vec2_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002628, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_vec2_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002629, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_ivec2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002630, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec2_ivec2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002631, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002632, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec2_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002633, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_ivec3_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002634, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec2_ivec3_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002635, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002636, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec2_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002637, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_ivec4_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002638, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec2_ivec4_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002639, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec2_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002640, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec2_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002641, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_vec3_int_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002642, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_int_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002643, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.sub_vec3_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002644, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_vec3_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002645, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_ivec2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002646, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec3_ivec2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002647, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002648, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec3_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002649, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_ivec3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002650, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec3_ivec3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002651, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002652, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec3_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002653, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_ivec4_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002654, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec3_ivec4_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002655, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec3_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002656, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec3_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002657, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_vec4_int_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002658, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_int_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002659, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.sub_vec4_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002660, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.sub_vec4_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002661, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_ivec2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002662, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec4_ivec2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002663, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002664, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec4_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002665, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_ivec3_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002666, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec4_ivec3_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002667, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002668, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec4_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002669, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_ivec4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002670, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec4_ivec4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002671, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.sub_vec4_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002672, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.sub_vec4_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002673, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_float_int_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002674, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_int_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002675, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_float_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002676, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_float_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002677, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_ivec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002678, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.div_float_ivec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002679, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002680, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.div_float_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002681, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_ivec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002682, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.div_float_ivec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002683, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002684, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.div_float_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002685, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_ivec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002686, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.div_float_ivec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002687, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_float_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002688, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions.", + "invalid_implicit_conversions.div_float_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002689, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_vec2_int_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002690, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_int_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002691, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.div_vec2_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002692, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_vec2_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002693, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_ivec2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002694, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec2_ivec2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002695, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002696, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec2_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002697, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_ivec3_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002698, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec2_ivec3_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002699, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002700, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec2_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002701, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_ivec4_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002702, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec2_ivec4_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002703, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec2_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002704, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec2_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002705, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_vec3_int_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002706, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_int_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002707, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.div_vec3_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002708, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_vec3_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002709, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_ivec2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002710, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec3_ivec2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002711, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002712, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec3_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002713, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_ivec3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002714, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec3_ivec3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002715, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002716, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec3_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002717, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_ivec4_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002718, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec3_ivec4_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002719, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec3_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002720, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec3_ivec4_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002721, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_vec4_int_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002722, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_int_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002723, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversi", + "ons.invalid_implicit_conversions.div_vec4_int_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002724, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversio", + "ns.invalid_implicit_conversions.div_vec4_int_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002725, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_ivec2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002726, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec4_ivec2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002727, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_ivec2_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002728, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec4_ivec2_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002729, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_ivec3_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002730, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec4_ivec3_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002731, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_ivec3_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002732, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec4_ivec3_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002733, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_ivec4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002734, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec4_ivec4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002735, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversion", + "s.invalid_implicit_conversions.div_vec4_ivec4_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002736, + "dEQP-GLES2.functional.shaders.invalid_implicit_conversions", + ".invalid_implicit_conversions.div_vec4_ivec4_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_highpTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_highpTestCase.cpp new file mode 100644 index 000000000..3a8a1283d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_highpTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007823, + "dEQP-GLES2.functional.shaders.inva", + "riance.highp.common_subexpression_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007824, + "dEQP-GLES2.functional.shaders.inva", + "riance.highp.common_subexpression_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007825, + "dEQP-GLES2.functional.shaders.inva", + "riance.highp.common_subexpression_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007826, + "dEQP-GLES2.functional.shaders.inva", + "riance.highp.common_subexpression_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007827, + "dEQP-GLES2.functional.shaders.invaria", + "nce.highp.subexpression_precision_lowp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007828, + "dEQP-GLES2.functional.shaders.invarianc", + "e.highp.subexpression_precision_mediump"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007829, + "dEQP-GLES2.functional.shaders.invarian", + "ce.highp.subexpression_precision_highp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007830, + "dEQP-GLES2.functional.shad", + "ers.invariance.highp.loop_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007831, + "dEQP-GLES2.functional.shad", + "ers.invariance.highp.loop_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007832, + "dEQP-GLES2.functional.shad", + "ers.invariance.highp.loop_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007833, + "dEQP-GLES2.functional.shad", + "ers.invariance.highp.loop_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007834, + "dEQP-GLES2.functional.shad", + "ers.invariance.highp.loop_4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_lowpTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_lowpTestCase.cpp new file mode 100644 index 000000000..cda95c4a9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_lowpTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007847, + "dEQP-GLES2.functional.shaders.inva", + "riance.lowp.common_subexpression_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007848, + "dEQP-GLES2.functional.shaders.inva", + "riance.lowp.common_subexpression_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007849, + "dEQP-GLES2.functional.shaders.inva", + "riance.lowp.common_subexpression_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007850, + "dEQP-GLES2.functional.shaders.inva", + "riance.lowp.common_subexpression_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007851, + "dEQP-GLES2.functional.shaders.invaria", + "nce.lowp.subexpression_precision_lowp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007852, + "dEQP-GLES2.functional.shaders.invarian", + "ce.lowp.subexpression_precision_mediump"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007853, + "dEQP-GLES2.functional.shaders.invaria", + "nce.lowp.subexpression_precision_highp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007854, + "dEQP-GLES2.functional.shad", + "ers.invariance.lowp.loop_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007855, + "dEQP-GLES2.functional.shad", + "ers.invariance.lowp.loop_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007856, + "dEQP-GLES2.functional.shad", + "ers.invariance.lowp.loop_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007857, + "dEQP-GLES2.functional.shad", + "ers.invariance.lowp.loop_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007858, + "dEQP-GLES2.functional.shad", + "ers.invariance.lowp.loop_4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_mediumpTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_mediumpTestCase.cpp new file mode 100644 index 000000000..637d46f00 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2invariance_mediumpTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007835, + "dEQP-GLES2.functional.shaders.invar", + "iance.mediump.common_subexpression_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007836, + "dEQP-GLES2.functional.shaders.invar", + "iance.mediump.common_subexpression_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007837, + "dEQP-GLES2.functional.shaders.invar", + "iance.mediump.common_subexpression_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007838, + "dEQP-GLES2.functional.shaders.invar", + "iance.mediump.common_subexpression_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007839, + "dEQP-GLES2.functional.shaders.invarian", + "ce.mediump.subexpression_precision_lowp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007840, + "dEQP-GLES2.functional.shaders.invariance", + ".mediump.subexpression_precision_mediump"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007841, + "dEQP-GLES2.functional.shaders.invarianc", + "e.mediump.subexpression_precision_highp"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007842, + "dEQP-GLES2.functional.shade", + "rs.invariance.mediump.loop_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007843, + "dEQP-GLES2.functional.shade", + "rs.invariance.mediump.loop_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007844, + "dEQP-GLES2.functional.shade", + "rs.invariance.mediump.loop_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007845, + "dEQP-GLES2.functional.shade", + "rs.invariance.mediump.loop_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007846, + "dEQP-GLES2.functional.shade", + "rs.invariance.mediump.loop_4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_invalid_identifiersTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_invalid_identifiersTestCase.cpp new file mode 100644 index 000000000..dba70d309 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_invalid_identifiersTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002341, + "dEQP-GLES2.functional.shaders.keyword", + "s.invalid_identifiers.gl_begin_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002342, + "dEQP-GLES2.functional.shaders.keywords", + ".invalid_identifiers.gl_begin_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002343, + "dEQP-GLES2.functional.shaders.keywo", + "rds.invalid_identifiers.digit_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002344, + "dEQP-GLES2.functional.shaders.keywor", + "ds.invalid_identifiers.digit_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002345, + "dEQP-GLES2.functional.shaders.keywords", + ".invalid_identifiers.digit_begin_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002346, + "dEQP-GLES2.functional.shaders.keywords.", + "invalid_identifiers.digit_begin_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_keywordsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_keywordsTestCase.cpp new file mode 100644 index 000000000..d3aada74d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_keywordsTestCase.cpp @@ -0,0 +1,236 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002252, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.attribute_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002253, + "dEQP-GLES2.functional.shaders.key", + "words.keywords.attribute_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002254, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.const_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002255, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.const_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002256, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.uniform_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002257, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.uniform_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002258, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.varying_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002259, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.varying_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002260, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002261, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002262, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002263, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002264, + "dEQP-GLES2.functional.shader", + "s.keywords.keywords.do_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002265, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.do_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002266, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.for_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002267, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.for_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002268, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.while_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002269, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.while_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002270, + "dEQP-GLES2.functional.shader", + "s.keywords.keywords.if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002271, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002272, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002273, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002274, + "dEQP-GLES2.functional.shader", + "s.keywords.keywords.in_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002275, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.in_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002276, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.out_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002277, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.out_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002278, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002279, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.inout_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002280, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002281, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002282, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002283, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002284, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.void_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002285, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.void_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002286, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002287, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002288, + "dEQP-GLES2.functional.shaders", + ".keywords.keywords.lowp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002289, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.lowp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002290, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.mediump_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002291, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.mediump_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002292, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.highp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002293, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.highp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002294, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.precision_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002295, + "dEQP-GLES2.functional.shaders.key", + "words.keywords.precision_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002296, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.invariant_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002297, + "dEQP-GLES2.functional.shaders.key", + "words.keywords.invariant_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002298, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.discard_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002299, + "dEQP-GLES2.functional.shaders.ke", + "ywords.keywords.discard_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002300, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002301, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002302, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002303, + "dEQP-GLES2.functional.shaders.", + "keywords.keywords.struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002304, + "dEQP-GLES2.functional.shaders.k", + "eywords.keywords.struct_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_reserved_keywordsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_reserved_keywordsTestCase.cpp new file mode 100644 index 000000000..ee81300f3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2keywords_reserved_keywordsTestCase.cpp @@ -0,0 +1,168 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002305, + "dEQP-GLES2.functional.shaders.key", + "words.reserved_keywords.asm_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002306, + "dEQP-GLES2.functional.shaders.keyw", + "ords.reserved_keywords.asm_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002307, + "dEQP-GLES2.functional.shaders.keyw", + "ords.reserved_keywords.class_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002308, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.class_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002309, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.typedef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002310, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.typedef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002311, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.template_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002312, + "dEQP-GLES2.functional.shaders.keyword", + "s.reserved_keywords.template_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002313, + "dEQP-GLES2.functional.shaders.keyw", + "ords.reserved_keywords.this_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002314, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.this_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002315, + "dEQP-GLES2.functional.shaders.keyw", + "ords.reserved_keywords.goto_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002316, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.goto_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002317, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.switch_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002318, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.switch_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002319, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.default_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002320, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.default_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002321, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.inline_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002322, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.inline_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002323, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.volatile_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002324, + "dEQP-GLES2.functional.shaders.keyword", + "s.reserved_keywords.volatile_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002325, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.static_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002326, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.static_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002327, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.extern_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002328, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.extern_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002329, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.interface_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002330, + "dEQP-GLES2.functional.shaders.keyword", + "s.reserved_keywords.interface_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002331, + "dEQP-GLES2.functional.shaders.keyw", + "ords.reserved_keywords.flat_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002332, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.flat_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002333, + "dEQP-GLES2.functional.shaders.keyw", + "ords.reserved_keywords.short_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002334, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.short_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002335, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.unsigned_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002336, + "dEQP-GLES2.functional.shaders.keyword", + "s.reserved_keywords.unsigned_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002337, + "dEQP-GLES2.functional.shaders.keywo", + "rds.reserved_keywords.superp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002338, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.superp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002339, + "dEQP-GLES2.functional.shaders.keywor", + "ds.reserved_keywords.namespace_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002340, + "dEQP-GLES2.functional.shaders.keyword", + "s.reserved_keywords.namespace_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp new file mode 100644 index 000000000..4ce0f91cc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bindTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016469, + "dEQP-GLES2.functional", + ".lifetime.bind.buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016470, + "dEQP-GLES2.functional", + ".lifetime.bind.texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016471, + "dEQP-GLES2.functional.li", + "fetime.bind.renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016472, + "dEQP-GLES2.functional.l", + "ifetime.bind.framebuffer"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp new file mode 100644 index 000000000..0e53d150b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_bind_no_genTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016477, + "dEQP-GLES2.functional.li", + "fetime.bind_no_gen.buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016478, + "dEQP-GLES2.functional.lif", + "etime.bind_no_gen.texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016479, + "dEQP-GLES2.functional.lifet", + "ime.bind_no_gen.renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016480, + "dEQP-GLES2.functional.lifet", + "ime.bind_no_gen.framebuffer"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp new file mode 100644 index 000000000..5007bc47b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_deleteTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016463, + "dEQP-GLES2.functional.", + "lifetime.delete.buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016464, + "dEQP-GLES2.functional.", + "lifetime.delete.texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016465, + "dEQP-GLES2.functional.lif", + "etime.delete.renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016466, + "dEQP-GLES2.functional.li", + "fetime.delete.framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016467, + "dEQP-GLES2.functional.", + "lifetime.delete.shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016468, + "dEQP-GLES2.functional.", + "lifetime.delete.program"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp new file mode 100644 index 000000000..8eee029e7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_boundTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016473, + "dEQP-GLES2.functional.lif", + "etime.delete_bound.buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016474, + "dEQP-GLES2.functional.lif", + "etime.delete_bound.texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016475, + "dEQP-GLES2.functional.lifeti", + "me.delete_bound.renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016476, + "dEQP-GLES2.functional.lifet", + "ime.delete_bound.framebuffer"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp new file mode 100644 index 000000000..8f1d748ae --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_delete_usedTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016481, + "dEQP-GLES2.functional.lif", + "etime.delete_used.program"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp new file mode 100644 index 000000000..8585fdb8d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2lifetime_genTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016457, + "dEQP-GLES2.functiona", + "l.lifetime.gen.buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016458, + "dEQP-GLES2.functional", + ".lifetime.gen.texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016459, + "dEQP-GLES2.functional.l", + "ifetime.gen.renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016460, + "dEQP-GLES2.functional.l", + "ifetime.gen.framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016461, + "dEQP-GLES2.functiona", + "l.lifetime.gen.shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016462, + "dEQP-GLES2.functional", + ".lifetime.gen.program"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp new file mode 100644 index 000000000..bc42d75d2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_customTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003931, + "dEQP-GLES2.functional.shaders.loops.", + "custom.continue_in_fragment_for_loop"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_constant_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_constant_iterationsTestCase.cpp new file mode 100644 index 000000000..3670e64e4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_constant_iterationsTestCase.cpp @@ -0,0 +1,296 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003727, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003728, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003729, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003730, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003731, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003732, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003733, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003734, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003735, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003736, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003737, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003738, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003739, + "dEQP-GLES2.functional.shaders.loops.do_wh", + "ile_constant_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003740, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_constant_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003741, + "dEQP-GLES2.functional.shaders.loops.do_while_constant_i", + "terations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003742, + "dEQP-GLES2.functional.shaders.loops.do_while_constant_it", + "erations.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003743, + "dEQP-GLES2.functional.shaders.loops.do_while_constant_i", + "terations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003744, + "dEQP-GLES2.functional.shaders.loops.do_while_constant_it", + "erations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003745, + "dEQP-GLES2.functional.shaders.loops.do_while_consta", + "nt_iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003746, + "dEQP-GLES2.functional.shaders.loops.do_while_constan", + "t_iterations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003747, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003748, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003749, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003750, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003751, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003752, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003753, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003754, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003755, + "dEQP-GLES2.functional.shaders.loops.do_while_co", + "nstant_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003756, + "dEQP-GLES2.functional.shaders.loops.do_while_con", + "stant_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003757, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003758, + "dEQP-GLES2.functional.shaders.loops.do_while_co", + "nstant_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003759, + "dEQP-GLES2.functional.shaders.loops.do_while_co", + "nstant_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003760, + "dEQP-GLES2.functional.shaders.loops.do_while_con", + "stant_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003761, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_constant_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003762, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003763, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003764, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003765, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003766, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003767, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003768, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003769, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_constant_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003770, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003771, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003772, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003773, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003774, + "dEQP-GLES2.functional.shaders.loops.do_while_co", + "nstant_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003775, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003776, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003777, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003778, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003779, + "dEQP-GLES2.functional.shaders.loops.do_w", + "hile_constant_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003780, + "dEQP-GLES2.functional.shaders.loops.do_wh", + "ile_constant_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003781, + "dEQP-GLES2.functional.shaders.loops.do_", + "while_constant_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003782, + "dEQP-GLES2.functional.shaders.loops.do_w", + "hile_constant_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003783, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_constant_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003784, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003785, + "dEQP-GLES2.functional.shaders.loops.do_while_con", + "stant_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003786, + "dEQP-GLES2.functional.shaders.loops.do_while_cons", + "tant_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003787, + "dEQP-GLES2.functional.shaders.loops.do_while_con", + "stant_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003788, + "dEQP-GLES2.functional.shaders.loops.do_while_cons", + "tant_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003789, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_constant_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003790, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003791, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003792, + "dEQP-GLES2.functional.shaders.loops.do_while_co", + "nstant_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003793, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "constant_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003794, + "dEQP-GLES2.functional.shaders.loops.do_while_c", + "onstant_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_dynamic_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_dynamic_iterationsTestCase.cpp new file mode 100644 index 000000000..a71eeac1a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_dynamic_iterationsTestCase.cpp @@ -0,0 +1,296 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003863, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_dynamic_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003864, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003865, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003866, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003867, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003868, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003869, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003870, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003871, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003872, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003873, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003874, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003875, + "dEQP-GLES2.functional.shaders.loops.do_w", + "hile_dynamic_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003876, + "dEQP-GLES2.functional.shaders.loops.do_wh", + "ile_dynamic_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003877, + "dEQP-GLES2.functional.shaders.loops.do_while_dynamic_it", + "erations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003878, + "dEQP-GLES2.functional.shaders.loops.do_while_dynamic_ite", + "rations.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003879, + "dEQP-GLES2.functional.shaders.loops.do_while_dynamic_i", + "terations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003880, + "dEQP-GLES2.functional.shaders.loops.do_while_dynamic_it", + "erations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003881, + "dEQP-GLES2.functional.shaders.loops.do_while_dynami", + "c_iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003882, + "dEQP-GLES2.functional.shaders.loops.do_while_dynamic", + "_iterations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003883, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003884, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003885, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003886, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003887, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003888, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003889, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003890, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003891, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003892, + "dEQP-GLES2.functional.shaders.loops.do_while_dy", + "namic_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003893, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003894, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003895, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003896, + "dEQP-GLES2.functional.shaders.loops.do_while_dy", + "namic_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003897, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_dynamic_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003898, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003899, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003900, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003901, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003902, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003903, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003904, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003905, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_dynamic_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003906, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003907, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_dynamic_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003908, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003909, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003910, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003911, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_dynamic_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003912, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003913, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_dynamic_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003914, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003915, + "dEQP-GLES2.functional.shaders.loops.do_", + "while_dynamic_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003916, + "dEQP-GLES2.functional.shaders.loops.do_w", + "hile_dynamic_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003917, + "dEQP-GLES2.functional.shaders.loops.do", + "_while_dynamic_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003918, + "dEQP-GLES2.functional.shaders.loops.do_", + "while_dynamic_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003919, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003920, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003921, + "dEQP-GLES2.functional.shaders.loops.do_while_dy", + "namic_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003922, + "dEQP-GLES2.functional.shaders.loops.do_while_dyn", + "amic_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003923, + "dEQP-GLES2.functional.shaders.loops.do_while_dy", + "namic_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003924, + "dEQP-GLES2.functional.shaders.loops.do_while_dyn", + "amic_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003925, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_dynamic_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003926, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_dynamic_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003927, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003928, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003929, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "dynamic_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003930, + "dEQP-GLES2.functional.shaders.loops.do_while_d", + "ynamic_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_uniform_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_uniform_iterationsTestCase.cpp new file mode 100644 index 000000000..a4acdb620 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_do_while_uniform_iterationsTestCase.cpp @@ -0,0 +1,296 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003795, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_uniform_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003796, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003797, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003798, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003799, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003800, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003801, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003802, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003803, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003804, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003805, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003806, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003807, + "dEQP-GLES2.functional.shaders.loops.do_w", + "hile_uniform_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003808, + "dEQP-GLES2.functional.shaders.loops.do_wh", + "ile_uniform_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003809, + "dEQP-GLES2.functional.shaders.loops.do_while_uniform_it", + "erations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003810, + "dEQP-GLES2.functional.shaders.loops.do_while_uniform_ite", + "rations.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003811, + "dEQP-GLES2.functional.shaders.loops.do_while_uniform_i", + "terations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003812, + "dEQP-GLES2.functional.shaders.loops.do_while_uniform_it", + "erations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003813, + "dEQP-GLES2.functional.shaders.loops.do_while_unifor", + "m_iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003814, + "dEQP-GLES2.functional.shaders.loops.do_while_uniform", + "_iterations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003815, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003816, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003817, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003818, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003819, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003820, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003821, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003822, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003823, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003824, + "dEQP-GLES2.functional.shaders.loops.do_while_un", + "iform_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003825, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003826, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003827, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003828, + "dEQP-GLES2.functional.shaders.loops.do_while_un", + "iform_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003829, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_uniform_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003830, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003831, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003832, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003833, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003834, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003835, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003836, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003837, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_uniform_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003838, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003839, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_uniform_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003840, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003841, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003842, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003843, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_uniform_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003844, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003845, + "dEQP-GLES2.functional.shaders.loops.do_whi", + "le_uniform_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003846, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003847, + "dEQP-GLES2.functional.shaders.loops.do_", + "while_uniform_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003848, + "dEQP-GLES2.functional.shaders.loops.do_w", + "hile_uniform_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003849, + "dEQP-GLES2.functional.shaders.loops.do", + "_while_uniform_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003850, + "dEQP-GLES2.functional.shaders.loops.do_", + "while_uniform_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003851, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003852, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003853, + "dEQP-GLES2.functional.shaders.loops.do_while_un", + "iform_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003854, + "dEQP-GLES2.functional.shaders.loops.do_while_uni", + "form_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003855, + "dEQP-GLES2.functional.shaders.loops.do_while_un", + "iform_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003856, + "dEQP-GLES2.functional.shaders.loops.do_while_uni", + "form_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003857, + "dEQP-GLES2.functional.shaders.loops.do_whil", + "e_uniform_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003858, + "dEQP-GLES2.functional.shaders.loops.do_while", + "_uniform_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003859, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003860, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003861, + "dEQP-GLES2.functional.shaders.loops.do_while_", + "uniform_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003862, + "dEQP-GLES2.functional.shaders.loops.do_while_u", + "niform_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_constant_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_constant_iterationsTestCase.cpp new file mode 100644 index 000000000..509ef8207 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_constant_iterationsTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003307, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003308, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003309, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003310, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003311, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003312, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003313, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003314, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003315, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003316, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003317, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003318, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003319, + "dEQP-GLES2.functional.shaders.loops.fo", + "r_constant_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003320, + "dEQP-GLES2.functional.shaders.loops.for", + "_constant_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003321, + "dEQP-GLES2.functional.shaders.loops.for_constant_iter", + "ations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003322, + "dEQP-GLES2.functional.shaders.loops.for_constant_itera", + "tions.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003323, + "dEQP-GLES2.functional.shaders.loops.for_constant_ite", + "rations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003324, + "dEQP-GLES2.functional.shaders.loops.for_constant_iter", + "ations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003325, + "dEQP-GLES2.functional.shaders.loops.for_constant_", + "iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003326, + "dEQP-GLES2.functional.shaders.loops.for_constant_i", + "terations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003327, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003328, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003329, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003330, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003331, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003332, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003333, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003334, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003335, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003336, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003337, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003338, + "dEQP-GLES2.functional.shaders.loops.for_const", + "ant_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003339, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003340, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003341, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003342, + "dEQP-GLES2.functional.shaders.loops.for_const", + "ant_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003343, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003344, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003345, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003346, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003347, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003348, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003349, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003350, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003351, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003352, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003353, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003354, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003355, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003356, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003357, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003358, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003359, + "dEQP-GLES2.functional.shaders.loops.for_", + "constant_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003360, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003361, + "dEQP-GLES2.functional.shaders.loops.f", + "or_constant_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003362, + "dEQP-GLES2.functional.shaders.loops.fo", + "r_constant_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003363, + "dEQP-GLES2.functional.shaders.loops.", + "for_constant_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003364, + "dEQP-GLES2.functional.shaders.loops.f", + "or_constant_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003365, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003366, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003367, + "dEQP-GLES2.functional.shaders.loops.for_const", + "ant_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003368, + "dEQP-GLES2.functional.shaders.loops.for_consta", + "nt_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003369, + "dEQP-GLES2.functional.shaders.loops.for_const", + "ant_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003370, + "dEQP-GLES2.functional.shaders.loops.for_consta", + "nt_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003371, + "dEQP-GLES2.functional.shaders.loops.for_c", + "onstant_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003372, + "dEQP-GLES2.functional.shaders.loops.for_co", + "nstant_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003373, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003374, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003375, + "dEQP-GLES2.functional.shaders.loops.for_con", + "stant_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003376, + "dEQP-GLES2.functional.shaders.loops.for_cons", + "tant_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_dynamic_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_dynamic_iterationsTestCase.cpp new file mode 100644 index 000000000..7ef8d43ce --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_dynamic_iterationsTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003447, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003448, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003449, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003450, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003451, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003452, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003453, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003454, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003455, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003456, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003457, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003458, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003459, + "dEQP-GLES2.functional.shaders.loops.fo", + "r_dynamic_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003460, + "dEQP-GLES2.functional.shaders.loops.for", + "_dynamic_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003461, + "dEQP-GLES2.functional.shaders.loops.for_dynamic_iter", + "ations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003462, + "dEQP-GLES2.functional.shaders.loops.for_dynamic_itera", + "tions.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003463, + "dEQP-GLES2.functional.shaders.loops.for_dynamic_iter", + "ations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003464, + "dEQP-GLES2.functional.shaders.loops.for_dynamic_itera", + "tions.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003465, + "dEQP-GLES2.functional.shaders.loops.for_dynamic_", + "iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003466, + "dEQP-GLES2.functional.shaders.loops.for_dynamic_i", + "terations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003467, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003468, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003469, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003470, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003471, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003472, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003473, + "dEQP-GLES2.functional.shaders.loops.for", + "_dynamic_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003474, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003475, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003476, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003477, + "dEQP-GLES2.functional.shaders.loops.for_dyna", + "mic_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003478, + "dEQP-GLES2.functional.shaders.loops.for_dynam", + "ic_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003479, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003480, + "dEQP-GLES2.functional.shaders.loops.for_dyna", + "mic_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003481, + "dEQP-GLES2.functional.shaders.loops.for_dyna", + "mic_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003482, + "dEQP-GLES2.functional.shaders.loops.for_dynam", + "ic_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003483, + "dEQP-GLES2.functional.shaders.loops.for", + "_dynamic_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003484, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003485, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003486, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003487, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003488, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003489, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003490, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003491, + "dEQP-GLES2.functional.shaders.loops.for", + "_dynamic_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003492, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003493, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003494, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003495, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003496, + "dEQP-GLES2.functional.shaders.loops.for_dyna", + "mic_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003497, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003498, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003499, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003500, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003501, + "dEQP-GLES2.functional.shaders.loops.f", + "or_dynamic_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003502, + "dEQP-GLES2.functional.shaders.loops.fo", + "r_dynamic_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003503, + "dEQP-GLES2.functional.shaders.loops.", + "for_dynamic_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003504, + "dEQP-GLES2.functional.shaders.loops.f", + "or_dynamic_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003505, + "dEQP-GLES2.functional.shaders.loops.for_", + "dynamic_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003506, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003507, + "dEQP-GLES2.functional.shaders.loops.for_dynam", + "ic_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003508, + "dEQP-GLES2.functional.shaders.loops.for_dynami", + "c_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003509, + "dEQP-GLES2.functional.shaders.loops.for_dynam", + "ic_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003510, + "dEQP-GLES2.functional.shaders.loops.for_dynami", + "c_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003511, + "dEQP-GLES2.functional.shaders.loops.for_d", + "ynamic_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003512, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003513, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003514, + "dEQP-GLES2.functional.shaders.loops.for_dyna", + "mic_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003515, + "dEQP-GLES2.functional.shaders.loops.for_dy", + "namic_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003516, + "dEQP-GLES2.functional.shaders.loops.for_dyn", + "amic_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_uniform_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_uniform_iterationsTestCase.cpp new file mode 100644 index 000000000..8a4b99313 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_for_uniform_iterationsTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003377, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003378, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003379, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003380, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003381, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003382, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003383, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003384, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003385, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003386, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003387, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003388, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003389, + "dEQP-GLES2.functional.shaders.loops.fo", + "r_uniform_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003390, + "dEQP-GLES2.functional.shaders.loops.for", + "_uniform_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003391, + "dEQP-GLES2.functional.shaders.loops.for_uniform_iter", + "ations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003392, + "dEQP-GLES2.functional.shaders.loops.for_uniform_itera", + "tions.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003393, + "dEQP-GLES2.functional.shaders.loops.for_uniform_iter", + "ations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003394, + "dEQP-GLES2.functional.shaders.loops.for_uniform_itera", + "tions.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003395, + "dEQP-GLES2.functional.shaders.loops.for_uniform_", + "iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003396, + "dEQP-GLES2.functional.shaders.loops.for_uniform_i", + "terations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003397, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003398, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003399, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003400, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003401, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003402, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003403, + "dEQP-GLES2.functional.shaders.loops.for", + "_uniform_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003404, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003405, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003406, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003407, + "dEQP-GLES2.functional.shaders.loops.for_unif", + "orm_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003408, + "dEQP-GLES2.functional.shaders.loops.for_unifo", + "rm_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003409, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003410, + "dEQP-GLES2.functional.shaders.loops.for_unif", + "orm_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003411, + "dEQP-GLES2.functional.shaders.loops.for_unif", + "orm_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003412, + "dEQP-GLES2.functional.shaders.loops.for_unifo", + "rm_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003413, + "dEQP-GLES2.functional.shaders.loops.for", + "_uniform_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003414, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003415, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003416, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003417, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003418, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003419, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003420, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003421, + "dEQP-GLES2.functional.shaders.loops.for", + "_uniform_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003422, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003423, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003424, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003425, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003426, + "dEQP-GLES2.functional.shaders.loops.for_unif", + "orm_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003427, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003428, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003429, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003430, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003431, + "dEQP-GLES2.functional.shaders.loops.f", + "or_uniform_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003432, + "dEQP-GLES2.functional.shaders.loops.fo", + "r_uniform_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003433, + "dEQP-GLES2.functional.shaders.loops.", + "for_uniform_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003434, + "dEQP-GLES2.functional.shaders.loops.f", + "or_uniform_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003435, + "dEQP-GLES2.functional.shaders.loops.for_", + "uniform_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003436, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003437, + "dEQP-GLES2.functional.shaders.loops.for_unifo", + "rm_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003438, + "dEQP-GLES2.functional.shaders.loops.for_unifor", + "m_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003439, + "dEQP-GLES2.functional.shaders.loops.for_unifo", + "rm_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003440, + "dEQP-GLES2.functional.shaders.loops.for_unifor", + "m_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003441, + "dEQP-GLES2.functional.shaders.loops.for_u", + "niform_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003442, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003443, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003444, + "dEQP-GLES2.functional.shaders.loops.for_unif", + "orm_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003445, + "dEQP-GLES2.functional.shaders.loops.for_un", + "iform_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003446, + "dEQP-GLES2.functional.shaders.loops.for_uni", + "form_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_constant_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_constant_iterationsTestCase.cpp new file mode 100644 index 000000000..aaaf568aa --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_constant_iterationsTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003517, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003518, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003519, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003520, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003521, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003522, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003523, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003524, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003525, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003526, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003527, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003528, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003529, + "dEQP-GLES2.functional.shaders.loops.whi", + "le_constant_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003530, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_constant_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003531, + "dEQP-GLES2.functional.shaders.loops.while_constant_ite", + "rations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003532, + "dEQP-GLES2.functional.shaders.loops.while_constant_iter", + "ations.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003533, + "dEQP-GLES2.functional.shaders.loops.while_constant_it", + "erations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003534, + "dEQP-GLES2.functional.shaders.loops.while_constant_ite", + "rations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003535, + "dEQP-GLES2.functional.shaders.loops.while_constant", + "_iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003536, + "dEQP-GLES2.functional.shaders.loops.while_constant_", + "iterations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003537, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003538, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003539, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003540, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003541, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003542, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003543, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003544, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003545, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003546, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003547, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003548, + "dEQP-GLES2.functional.shaders.loops.while_cons", + "tant_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003549, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003550, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003551, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003552, + "dEQP-GLES2.functional.shaders.loops.while_cons", + "tant_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003553, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003554, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003555, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003556, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003557, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003558, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003559, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003560, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003561, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003562, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003563, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003564, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003565, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003566, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003567, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003568, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003569, + "dEQP-GLES2.functional.shaders.loops.while", + "_constant_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003570, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003571, + "dEQP-GLES2.functional.shaders.loops.wh", + "ile_constant_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003572, + "dEQP-GLES2.functional.shaders.loops.whi", + "le_constant_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003573, + "dEQP-GLES2.functional.shaders.loops.w", + "hile_constant_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003574, + "dEQP-GLES2.functional.shaders.loops.wh", + "ile_constant_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003575, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003576, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003577, + "dEQP-GLES2.functional.shaders.loops.while_cons", + "tant_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003578, + "dEQP-GLES2.functional.shaders.loops.while_const", + "ant_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003579, + "dEQP-GLES2.functional.shaders.loops.while_cons", + "tant_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003580, + "dEQP-GLES2.functional.shaders.loops.while_const", + "ant_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003581, + "dEQP-GLES2.functional.shaders.loops.while_", + "constant_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003582, + "dEQP-GLES2.functional.shaders.loops.while_c", + "onstant_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003583, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003584, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003585, + "dEQP-GLES2.functional.shaders.loops.while_co", + "nstant_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003586, + "dEQP-GLES2.functional.shaders.loops.while_con", + "stant_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_dynamic_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_dynamic_iterationsTestCase.cpp new file mode 100644 index 000000000..d63d4a26f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_dynamic_iterationsTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003657, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003658, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003659, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003660, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003661, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003662, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003663, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003664, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003665, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003666, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003667, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003668, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003669, + "dEQP-GLES2.functional.shaders.loops.whi", + "le_dynamic_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003670, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_dynamic_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003671, + "dEQP-GLES2.functional.shaders.loops.while_dynamic_ite", + "rations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003672, + "dEQP-GLES2.functional.shaders.loops.while_dynamic_iter", + "ations.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003673, + "dEQP-GLES2.functional.shaders.loops.while_dynamic_ite", + "rations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003674, + "dEQP-GLES2.functional.shaders.loops.while_dynamic_iter", + "ations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003675, + "dEQP-GLES2.functional.shaders.loops.while_dynamic", + "_iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003676, + "dEQP-GLES2.functional.shaders.loops.while_dynamic_", + "iterations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003677, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003678, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003679, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003680, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003681, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003682, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003683, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_dynamic_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003684, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003685, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003686, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003687, + "dEQP-GLES2.functional.shaders.loops.while_dyn", + "amic_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003688, + "dEQP-GLES2.functional.shaders.loops.while_dyna", + "mic_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003689, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003690, + "dEQP-GLES2.functional.shaders.loops.while_dyn", + "amic_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003691, + "dEQP-GLES2.functional.shaders.loops.while_dyn", + "amic_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003692, + "dEQP-GLES2.functional.shaders.loops.while_dyna", + "mic_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003693, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_dynamic_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003694, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003695, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003696, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003697, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003698, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003699, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003700, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003701, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_dynamic_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003702, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003703, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003704, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003705, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003706, + "dEQP-GLES2.functional.shaders.loops.while_dyn", + "amic_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003707, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003708, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003709, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003710, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003711, + "dEQP-GLES2.functional.shaders.loops.wh", + "ile_dynamic_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003712, + "dEQP-GLES2.functional.shaders.loops.whi", + "le_dynamic_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003713, + "dEQP-GLES2.functional.shaders.loops.w", + "hile_dynamic_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003714, + "dEQP-GLES2.functional.shaders.loops.wh", + "ile_dynamic_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003715, + "dEQP-GLES2.functional.shaders.loops.while", + "_dynamic_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003716, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003717, + "dEQP-GLES2.functional.shaders.loops.while_dyna", + "mic_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003718, + "dEQP-GLES2.functional.shaders.loops.while_dynam", + "ic_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003719, + "dEQP-GLES2.functional.shaders.loops.while_dyna", + "mic_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003720, + "dEQP-GLES2.functional.shaders.loops.while_dynam", + "ic_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003721, + "dEQP-GLES2.functional.shaders.loops.while_", + "dynamic_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003722, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003723, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003724, + "dEQP-GLES2.functional.shaders.loops.while_dyn", + "amic_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003725, + "dEQP-GLES2.functional.shaders.loops.while_d", + "ynamic_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003726, + "dEQP-GLES2.functional.shaders.loops.while_dy", + "namic_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_uniform_iterationsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_uniform_iterationsTestCase.cpp new file mode 100644 index 000000000..f860eaed9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2loops_while_uniform_iterationsTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003587, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003588, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003589, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.basic_lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003590, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.basic_lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003591, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003592, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003593, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003594, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003595, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003596, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003597, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003598, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003599, + "dEQP-GLES2.functional.shaders.loops.whi", + "le_uniform_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003600, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_uniform_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003601, + "dEQP-GLES2.functional.shaders.loops.while_uniform_ite", + "rations.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003602, + "dEQP-GLES2.functional.shaders.loops.while_uniform_iter", + "ations.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003603, + "dEQP-GLES2.functional.shaders.loops.while_uniform_ite", + "rations.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003604, + "dEQP-GLES2.functional.shaders.loops.while_uniform_iter", + "ations.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003605, + "dEQP-GLES2.functional.shaders.loops.while_uniform", + "_iterations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003606, + "dEQP-GLES2.functional.shaders.loops.while_uniform_", + "iterations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003607, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003608, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003609, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003610, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003611, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003612, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003613, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_uniform_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003614, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003615, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003616, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003617, + "dEQP-GLES2.functional.shaders.loops.while_uni", + "form_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003618, + "dEQP-GLES2.functional.shaders.loops.while_unif", + "orm_iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003619, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003620, + "dEQP-GLES2.functional.shaders.loops.while_uni", + "form_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003621, + "dEQP-GLES2.functional.shaders.loops.while_uni", + "form_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003622, + "dEQP-GLES2.functional.shaders.loops.while_unif", + "orm_iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003623, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_uniform_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003624, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003625, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003626, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003627, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003628, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003629, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003630, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003631, + "dEQP-GLES2.functional.shaders.loops.whil", + "e_uniform_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003632, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003633, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003634, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003635, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003636, + "dEQP-GLES2.functional.shaders.loops.while_uni", + "form_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003637, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003638, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003639, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003640, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003641, + "dEQP-GLES2.functional.shaders.loops.wh", + "ile_uniform_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003642, + "dEQP-GLES2.functional.shaders.loops.whi", + "le_uniform_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003643, + "dEQP-GLES2.functional.shaders.loops.w", + "hile_uniform_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003644, + "dEQP-GLES2.functional.shaders.loops.wh", + "ile_uniform_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003645, + "dEQP-GLES2.functional.shaders.loops.while", + "_uniform_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003646, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003647, + "dEQP-GLES2.functional.shaders.loops.while_unif", + "orm_iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003648, + "dEQP-GLES2.functional.shaders.loops.while_unifo", + "rm_iterations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003649, + "dEQP-GLES2.functional.shaders.loops.while_unif", + "orm_iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003650, + "dEQP-GLES2.functional.shaders.loops.while_unifo", + "rm_iterations.nested_tricky_dataflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003651, + "dEQP-GLES2.functional.shaders.loops.while_", + "uniform_iterations.conditional_body_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003652, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.conditional_body_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003653, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.function_call_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003654, + "dEQP-GLES2.functional.shaders.loops.while_uni", + "form_iterations.function_call_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003655, + "dEQP-GLES2.functional.shaders.loops.while_u", + "niform_iterations.function_call_inout_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003656, + "dEQP-GLES2.functional.shaders.loops.while_un", + "iform_iterations.function_call_inout_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_addTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_addTestCase.cpp new file mode 100644 index 000000000..e0f69004a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_addTestCase.cpp @@ -0,0 +1,456 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006881, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006882, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006883, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006884, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006885, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006886, + "dEQP-GLES2.functional.shaders.matrix.", + "add.const_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006887, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006888, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006889, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006890, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006891, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006892, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006893, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006894, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006895, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006896, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006897, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006898, + "dEQP-GLES2.functional.shaders.matrix.", + "add.const_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006899, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006900, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006901, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006902, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006903, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006904, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006905, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006906, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006907, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006908, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006909, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006910, + "dEQP-GLES2.functional.shaders.matrix.", + "add.const_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006911, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006912, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006913, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006914, + "dEQP-GLES2.functional.shaders.matrix", + ".add.const_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006915, + "dEQP-GLES2.functional.shaders.matr", + "ix.add.const_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006916, + "dEQP-GLES2.functional.shaders.matri", + "x.add.const_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006917, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006918, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006919, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006920, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006921, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006922, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd.uniform_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006923, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006924, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006925, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006926, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006927, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006928, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006929, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006930, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006931, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006932, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006933, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006934, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd.uniform_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006935, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006936, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006937, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006938, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006939, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006940, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006941, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006942, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006943, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006944, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006945, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006946, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd.uniform_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006947, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006948, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006949, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006950, + "dEQP-GLES2.functional.shaders.matrix.", + "add.uniform_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006951, + "dEQP-GLES2.functional.shaders.matri", + "x.add.uniform_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006952, + "dEQP-GLES2.functional.shaders.matrix", + ".add.uniform_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006953, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006954, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006955, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006956, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006957, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006958, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd.dynamic_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006959, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006960, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006961, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006962, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006963, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006964, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006965, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006966, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006967, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006968, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006969, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006970, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd.dynamic_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006971, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006972, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006973, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006974, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006975, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006976, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006977, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006978, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006979, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006980, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006981, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006982, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd.dynamic_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006983, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006984, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006985, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006986, + "dEQP-GLES2.functional.shaders.matrix.", + "add.dynamic_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006987, + "dEQP-GLES2.functional.shaders.matri", + "x.add.dynamic_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006988, + "dEQP-GLES2.functional.shaders.matrix", + ".add.dynamic_highp_mat4_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_add_assignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_add_assignTestCase.cpp new file mode 100644 index 000000000..74266e952 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_add_assignTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007547, + "dEQP-GLES2.functional.shaders.matrix", + ".add_assign.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007548, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007549, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007550, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd_assign.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007551, + "dEQP-GLES2.functional.shaders.matrix", + ".add_assign.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007552, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007553, + "dEQP-GLES2.functional.shaders.matrix", + ".add_assign.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007554, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007555, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007556, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd_assign.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007557, + "dEQP-GLES2.functional.shaders.matrix", + ".add_assign.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007558, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007559, + "dEQP-GLES2.functional.shaders.matrix", + ".add_assign.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007560, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007561, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007562, + "dEQP-GLES2.functional.shaders.matrix.a", + "dd_assign.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007563, + "dEQP-GLES2.functional.shaders.matrix", + ".add_assign.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007564, + "dEQP-GLES2.functional.shaders.matrix.", + "add_assign.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_divTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_divTestCase.cpp new file mode 100644 index 000000000..c80f655a5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_divTestCase.cpp @@ -0,0 +1,456 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007313, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007314, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007315, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007316, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007317, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007318, + "dEQP-GLES2.functional.shaders.matrix.", + "div.const_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007319, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007320, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007321, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007322, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007323, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007324, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007325, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007326, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007327, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007328, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007329, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007330, + "dEQP-GLES2.functional.shaders.matrix.", + "div.const_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007331, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007332, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007333, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007334, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007335, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007336, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007337, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007338, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007339, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007340, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007341, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007342, + "dEQP-GLES2.functional.shaders.matrix.", + "div.const_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007343, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007344, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007345, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007346, + "dEQP-GLES2.functional.shaders.matrix", + ".div.const_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007347, + "dEQP-GLES2.functional.shaders.matr", + "ix.div.const_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007348, + "dEQP-GLES2.functional.shaders.matri", + "x.div.const_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007349, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007350, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007351, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007352, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007353, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007354, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv.uniform_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007355, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007356, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007357, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007358, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007359, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007360, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007361, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007362, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007363, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007364, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007365, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007366, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv.uniform_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007367, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007368, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007369, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007370, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007371, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007372, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007373, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007374, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007375, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007376, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007377, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007378, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv.uniform_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007379, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007380, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007381, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007382, + "dEQP-GLES2.functional.shaders.matrix.", + "div.uniform_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007383, + "dEQP-GLES2.functional.shaders.matri", + "x.div.uniform_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007384, + "dEQP-GLES2.functional.shaders.matrix", + ".div.uniform_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007385, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007386, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007387, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007388, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007389, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007390, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv.dynamic_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007391, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007392, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007393, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007394, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007395, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007396, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007397, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007398, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007399, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007400, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007401, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007402, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv.dynamic_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007403, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007404, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007405, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007406, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007407, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007408, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007409, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007410, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007411, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007412, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007413, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007414, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv.dynamic_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007415, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007416, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007417, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007418, + "dEQP-GLES2.functional.shaders.matrix.", + "div.dynamic_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007419, + "dEQP-GLES2.functional.shaders.matri", + "x.div.dynamic_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007420, + "dEQP-GLES2.functional.shaders.matrix", + ".div.dynamic_highp_mat4_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_div_assignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_div_assignTestCase.cpp new file mode 100644 index 000000000..f7d77f499 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_div_assignTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007601, + "dEQP-GLES2.functional.shaders.matrix", + ".div_assign.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007602, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007603, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007604, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv_assign.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007605, + "dEQP-GLES2.functional.shaders.matrix", + ".div_assign.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007606, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007607, + "dEQP-GLES2.functional.shaders.matrix", + ".div_assign.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007608, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007609, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007610, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv_assign.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007611, + "dEQP-GLES2.functional.shaders.matrix", + ".div_assign.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007612, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007613, + "dEQP-GLES2.functional.shaders.matrix", + ".div_assign.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007614, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007615, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007616, + "dEQP-GLES2.functional.shaders.matrix.d", + "iv_assign.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007617, + "dEQP-GLES2.functional.shaders.matrix", + ".div_assign.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007618, + "dEQP-GLES2.functional.shaders.matrix.", + "div_assign.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_matrixcompmultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_matrixcompmultTestCase.cpp new file mode 100644 index 000000000..59c7d312d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_matrixcompmultTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007421, + "dEQP-GLES2.functional.shaders.matrix.mat", + "rixcompmult.dynamic_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007422, + "dEQP-GLES2.functional.shaders.matrix.matr", + "ixcompmult.dynamic_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007423, + "dEQP-GLES2.functional.shaders.matrix.matri", + "xcompmult.dynamic_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007424, + "dEQP-GLES2.functional.shaders.matrix.matrix", + "compmult.dynamic_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007425, + "dEQP-GLES2.functional.shaders.matrix.matr", + "ixcompmult.dynamic_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007426, + "dEQP-GLES2.functional.shaders.matrix.matri", + "xcompmult.dynamic_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007427, + "dEQP-GLES2.functional.shaders.matrix.mat", + "rixcompmult.dynamic_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007428, + "dEQP-GLES2.functional.shaders.matrix.matr", + "ixcompmult.dynamic_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007429, + "dEQP-GLES2.functional.shaders.matrix.matri", + "xcompmult.dynamic_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007430, + "dEQP-GLES2.functional.shaders.matrix.matrix", + "compmult.dynamic_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007431, + "dEQP-GLES2.functional.shaders.matrix.matr", + "ixcompmult.dynamic_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007432, + "dEQP-GLES2.functional.shaders.matrix.matri", + "xcompmult.dynamic_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007433, + "dEQP-GLES2.functional.shaders.matrix.mat", + "rixcompmult.dynamic_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007434, + "dEQP-GLES2.functional.shaders.matrix.matr", + "ixcompmult.dynamic_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007435, + "dEQP-GLES2.functional.shaders.matrix.matri", + "xcompmult.dynamic_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007436, + "dEQP-GLES2.functional.shaders.matrix.matrix", + "compmult.dynamic_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007437, + "dEQP-GLES2.functional.shaders.matrix.matr", + "ixcompmult.dynamic_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007438, + "dEQP-GLES2.functional.shaders.matrix.matri", + "xcompmult.dynamic_highp_mat4_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mulTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mulTestCase.cpp new file mode 100644 index 000000000..add93c3d5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mulTestCase.cpp @@ -0,0 +1,888 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007097, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007098, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007099, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007100, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007101, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007102, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007103, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007104, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007105, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007106, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.const_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007107, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007108, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007109, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007110, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007111, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007112, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007113, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007114, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007115, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007116, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007117, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007118, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007119, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007120, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007121, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007122, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007123, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007124, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007125, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007126, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007127, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007128, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007129, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007130, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.const_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007131, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007132, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007133, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007134, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007135, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007136, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007137, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007138, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007139, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007140, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007141, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007142, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007143, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007144, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007145, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007146, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007147, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007148, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007149, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007150, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007151, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007152, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007153, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007154, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.const_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007155, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007156, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007157, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007158, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007159, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007160, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007161, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007162, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.const_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007163, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007164, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007165, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007166, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007167, + "dEQP-GLES2.functional.shaders.matr", + "ix.mul.const_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007168, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.const_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007169, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007170, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007171, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007172, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007173, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007174, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007175, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007176, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007177, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007178, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul.uniform_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007179, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007180, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007181, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007182, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007183, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007184, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007185, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007186, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007187, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007188, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007189, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007190, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007191, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007192, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007193, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007194, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007195, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007196, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007197, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007198, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007199, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007200, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007201, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007202, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul.uniform_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007203, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007204, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007205, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007206, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007207, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007208, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007209, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007210, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007211, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007212, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007213, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007214, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007215, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007216, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007217, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007218, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007219, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007220, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007221, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007222, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007223, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007224, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007225, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007226, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul.uniform_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007227, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007228, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007229, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007230, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007231, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007232, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007233, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007234, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.uniform_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007235, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007236, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007237, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007238, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007239, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.uniform_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007240, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.uniform_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007241, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007242, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007243, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007244, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007245, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007246, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007247, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007248, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007249, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007250, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul.dynamic_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007251, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007252, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007253, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007254, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007255, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007256, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007257, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007258, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007259, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_mat2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007260, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007261, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_vec2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007262, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_vec2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007263, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007264, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007265, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007266, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007267, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007268, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007269, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007270, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007271, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007272, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007273, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007274, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul.dynamic_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007275, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007276, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007277, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007278, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007279, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007280, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007281, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007282, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007283, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_mat3_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007284, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat3_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007285, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_vec3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007286, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_vec3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007287, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007288, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007289, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007290, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007291, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007292, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007293, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007294, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007295, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007296, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007297, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007298, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul.dynamic_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007299, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007300, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007301, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007302, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007303, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007304, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007305, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007306, + "dEQP-GLES2.functional.shaders.matrix.", + "mul.dynamic_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007307, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_mat4_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007308, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat4_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007309, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_vec4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007310, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_vec4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007311, + "dEQP-GLES2.functional.shaders.matri", + "x.mul.dynamic_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007312, + "dEQP-GLES2.functional.shaders.matrix", + ".mul.dynamic_highp_mat4_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mul_assignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mul_assignTestCase.cpp new file mode 100644 index 000000000..e1efb3b92 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_mul_assignTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007583, + "dEQP-GLES2.functional.shaders.matrix", + ".mul_assign.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007584, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007585, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007586, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul_assign.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007587, + "dEQP-GLES2.functional.shaders.matrix", + ".mul_assign.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007588, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007589, + "dEQP-GLES2.functional.shaders.matrix", + ".mul_assign.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007590, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007591, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007592, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul_assign.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007593, + "dEQP-GLES2.functional.shaders.matrix", + ".mul_assign.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007594, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007595, + "dEQP-GLES2.functional.shaders.matrix", + ".mul_assign.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007596, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007597, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007598, + "dEQP-GLES2.functional.shaders.matrix.m", + "ul_assign.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007599, + "dEQP-GLES2.functional.shaders.matrix", + ".mul_assign.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007600, + "dEQP-GLES2.functional.shaders.matrix.", + "mul_assign.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_negationTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_negationTestCase.cpp new file mode 100644 index 000000000..d361ad570 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_negationTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007457, + "dEQP-GLES2.functional.shaders.matri", + "x.negation.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007458, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007459, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007460, + "dEQP-GLES2.functional.shaders.matrix.", + "negation.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007461, + "dEQP-GLES2.functional.shaders.matri", + "x.negation.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007462, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007463, + "dEQP-GLES2.functional.shaders.matri", + "x.negation.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007464, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007465, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007466, + "dEQP-GLES2.functional.shaders.matrix.", + "negation.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007467, + "dEQP-GLES2.functional.shaders.matri", + "x.negation.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007468, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007469, + "dEQP-GLES2.functional.shaders.matri", + "x.negation.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007470, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007471, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007472, + "dEQP-GLES2.functional.shaders.matrix.", + "negation.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007473, + "dEQP-GLES2.functional.shaders.matri", + "x.negation.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007474, + "dEQP-GLES2.functional.shaders.matrix", + ".negation.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_decrementTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_decrementTestCase.cpp new file mode 100644 index 000000000..e9381b36b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_decrementTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007529, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_decrement.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007530, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007531, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007532, + "dEQP-GLES2.functional.shaders.matrix.pos", + "t_decrement.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007533, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_decrement.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007534, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007535, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_decrement.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007536, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007537, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007538, + "dEQP-GLES2.functional.shaders.matrix.pos", + "t_decrement.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007539, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_decrement.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007540, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007541, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_decrement.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007542, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007543, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007544, + "dEQP-GLES2.functional.shaders.matrix.pos", + "t_decrement.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007545, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_decrement.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007546, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_decrement.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_incrementTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_incrementTestCase.cpp new file mode 100644 index 000000000..87b6066f6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_post_incrementTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007511, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_increment.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007512, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007513, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007514, + "dEQP-GLES2.functional.shaders.matrix.pos", + "t_increment.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007515, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_increment.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007516, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007517, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_increment.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007518, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007519, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007520, + "dEQP-GLES2.functional.shaders.matrix.pos", + "t_increment.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007521, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_increment.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007522, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007523, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_increment.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007524, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007525, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007526, + "dEQP-GLES2.functional.shaders.matrix.pos", + "t_increment.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007527, + "dEQP-GLES2.functional.shaders.matrix.p", + "ost_increment.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007528, + "dEQP-GLES2.functional.shaders.matrix.po", + "st_increment.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_decrementTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_decrementTestCase.cpp new file mode 100644 index 000000000..70e40e235 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_decrementTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007493, + "dEQP-GLES2.functional.shaders.matrix.", + "pre_decrement.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007494, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_decrement.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007495, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_decrement.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007496, + "dEQP-GLES2.functional.shaders.matrix.pre", + "_decrement.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007497, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_decrement.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007498, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_decrement.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007499, + "dEQP-GLES2.functional.shaders.matrix.", + "pre_decrement.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007500, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_decrement.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007501, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_decrement.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007502, + "dEQP-GLES2.functional.shaders.matrix.pre", + "_decrement.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007503, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_decrement.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007504, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_decrement.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007505, + "dEQP-GLES2.functional.shaders.matrix.", + "pre_decrement.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007506, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_decrement.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007507, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_decrement.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007508, + "dEQP-GLES2.functional.shaders.matrix.pre", + "_decrement.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007509, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_decrement.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007510, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_decrement.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_incrementTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_incrementTestCase.cpp new file mode 100644 index 000000000..dfefb2632 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_pre_incrementTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007475, + "dEQP-GLES2.functional.shaders.matrix.", + "pre_increment.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007476, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_increment.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007477, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_increment.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007478, + "dEQP-GLES2.functional.shaders.matrix.pre", + "_increment.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007479, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_increment.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007480, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_increment.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007481, + "dEQP-GLES2.functional.shaders.matrix.", + "pre_increment.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007482, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_increment.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007483, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_increment.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007484, + "dEQP-GLES2.functional.shaders.matrix.pre", + "_increment.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007485, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_increment.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007486, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_increment.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007487, + "dEQP-GLES2.functional.shaders.matrix.", + "pre_increment.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007488, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_increment.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007489, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_increment.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007490, + "dEQP-GLES2.functional.shaders.matrix.pre", + "_increment.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007491, + "dEQP-GLES2.functional.shaders.matrix.p", + "re_increment.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007492, + "dEQP-GLES2.functional.shaders.matrix.pr", + "e_increment.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_subTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_subTestCase.cpp new file mode 100644 index 000000000..589d37924 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_subTestCase.cpp @@ -0,0 +1,456 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006989, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006990, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006991, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006992, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006993, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006994, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.const_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006995, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006996, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006997, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006998, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006999, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007000, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007001, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007002, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007003, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007004, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007005, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007006, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.const_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007007, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007008, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007009, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007010, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007011, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007012, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007013, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007014, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007015, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007016, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007017, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007018, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.const_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007019, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007020, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007021, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007022, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.const_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007023, + "dEQP-GLES2.functional.shaders.matr", + "ix.sub.const_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007024, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.const_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007025, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007026, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007027, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007028, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007029, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007030, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub.uniform_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007031, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007032, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007033, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007034, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007035, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007036, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007037, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007038, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007039, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007040, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007041, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007042, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub.uniform_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007043, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007044, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007045, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007046, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007047, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007048, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007049, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007050, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007051, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007052, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007053, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007054, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub.uniform_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007055, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007056, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007057, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007058, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.uniform_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007059, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.uniform_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007060, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.uniform_highp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007061, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_lowp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007062, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_lowp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007063, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_lowp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007064, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_lowp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007065, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_mediump_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007066, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub.dynamic_mediump_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007067, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_mediump_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007068, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_mediump_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007069, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_highp_mat2_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007070, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_highp_mat2_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007071, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_highp_mat2_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007072, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_highp_mat2_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007073, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_lowp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007074, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_lowp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007075, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_lowp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007076, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_lowp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007077, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_mediump_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007078, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub.dynamic_mediump_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007079, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_mediump_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007080, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_mediump_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007081, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_highp_mat3_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007082, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_highp_mat3_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007083, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_highp_mat3_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007084, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_highp_mat3_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007085, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_lowp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007086, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_lowp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007087, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_lowp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007088, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_lowp_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007089, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_mediump_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007090, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub.dynamic_mediump_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007091, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_mediump_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007092, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_mediump_mat4_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007093, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_highp_mat4_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007094, + "dEQP-GLES2.functional.shaders.matrix.", + "sub.dynamic_highp_mat4_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007095, + "dEQP-GLES2.functional.shaders.matri", + "x.sub.dynamic_highp_mat4_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_007096, + "dEQP-GLES2.functional.shaders.matrix", + ".sub.dynamic_highp_mat4_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_sub_assignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_sub_assignTestCase.cpp new file mode 100644 index 000000000..ba865451b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_sub_assignTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007565, + "dEQP-GLES2.functional.shaders.matrix", + ".sub_assign.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007566, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007567, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007568, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub_assign.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007569, + "dEQP-GLES2.functional.shaders.matrix", + ".sub_assign.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007570, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007571, + "dEQP-GLES2.functional.shaders.matrix", + ".sub_assign.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007572, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007573, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007574, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub_assign.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007575, + "dEQP-GLES2.functional.shaders.matrix", + ".sub_assign.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007576, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007577, + "dEQP-GLES2.functional.shaders.matrix", + ".sub_assign.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007578, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007579, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007580, + "dEQP-GLES2.functional.shaders.matrix.s", + "ub_assign.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007581, + "dEQP-GLES2.functional.shaders.matrix", + ".sub_assign.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007582, + "dEQP-GLES2.functional.shaders.matrix.", + "sub_assign.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_unary_additionTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_unary_additionTestCase.cpp new file mode 100644 index 000000000..fbef6cfce --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2matrix_unary_additionTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007439, + "dEQP-GLES2.functional.shaders.matrix.u", + "nary_addition.dynamic_lowp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007440, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_lowp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007441, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_mediump_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007442, + "dEQP-GLES2.functional.shaders.matrix.una", + "ry_addition.dynamic_mediump_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007443, + "dEQP-GLES2.functional.shaders.matrix.u", + "nary_addition.dynamic_highp_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007444, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_highp_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007445, + "dEQP-GLES2.functional.shaders.matrix.u", + "nary_addition.dynamic_lowp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007446, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_lowp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007447, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_mediump_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007448, + "dEQP-GLES2.functional.shaders.matrix.una", + "ry_addition.dynamic_mediump_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007449, + "dEQP-GLES2.functional.shaders.matrix.u", + "nary_addition.dynamic_highp_mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007450, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_highp_mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007451, + "dEQP-GLES2.functional.shaders.matrix.u", + "nary_addition.dynamic_lowp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007452, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_lowp_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007453, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_mediump_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007454, + "dEQP-GLES2.functional.shaders.matrix.una", + "ry_addition.dynamic_mediump_mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007455, + "dEQP-GLES2.functional.shaders.matrix.u", + "nary_addition.dynamic_highp_mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007456, + "dEQP-GLES2.functional.shaders.matrix.un", + "ary_addition.dynamic_highp_mat4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2misc_compound_assignmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2misc_compound_assignmentTestCase.cpp new file mode 100644 index 000000000..072748b96 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2misc_compound_assignmentTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002737, + "dEQP-GLES2.functional.shaders.misc.compound_", + "assignment.mul_swizzled_vec_by_matrix_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002738, + "dEQP-GLES2.functional.shaders.misc.compound_a", + "ssignment.mul_swizzled_vec_by_matrix_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp new file mode 100644 index 000000000..24a74ca44 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013387, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013388, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013389, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013390, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013391, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013392, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013393, + "dEQP-GLES2.functional.vertex_arrays.", + "multiple_attributes.attribute_count.8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp new file mode 100644 index 000000000..a71d0870f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp @@ -0,0 +1,524 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013465, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_fixed2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013466, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_fixed2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013467, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_fixed2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013468, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_fixed2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013469, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_fixed2_vec2_fixed2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013470, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013471, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_fixed2_vec2_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013472, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013473, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013474, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013475, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013476, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013477, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_fixed2_vec2_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013478, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013479, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_fixed2_vec2_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013480, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_unsigned_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013481, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_unsigned_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013482, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_unsigned_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013483, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_fixed2_vec2_unsigned_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013484, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_fixed2_vec2_unsigned_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013485, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_fixed2_vec2_unsigned_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013486, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_fixed2_vec2_unsigned_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013487, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_fixed2_vec2_unsigned_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013488, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_fixed2_vec2_unsigned_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013489, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_fixed2_vec2_unsigned_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013490, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_byte2_vec2_fixed2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013491, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_byte2_vec2_fixed2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013492, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_byte2_vec2_fixed2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013493, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_fixed2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013494, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_fixed2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013495, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_byte2_vec2_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013496, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_byte2_vec2_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013497, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_byte2_vec2_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013498, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes", + ".input_types.3_byte2_vec2_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013499, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013500, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_byte2_vec2_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013501, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_byte2_vec2_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013502, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_byte2_vec2_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013503, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013504, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013505, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_unsigned_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013506, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes", + ".input_types.3_byte2_vec2_unsigned_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013507, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_unsigned_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013508, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_byte2_vec2_unsigned_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013509, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_byte2_vec2_unsigned_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013510, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_unsigned_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013511, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_unsigned_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013512, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_byte2_vec2_unsigned_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013513, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_byte2_vec2_unsigned_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013514, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_byte2_vec2_unsigned_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013515, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_fixed2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013516, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_fixed2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013517, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_fixed2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013518, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_fixed2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013519, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_short2_vec2_fixed2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013520, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013521, + "dEQP-GLES2.functional.vertex_arrays.multiple_attrib", + "utes.input_types.3_short2_vec2_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013522, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013523, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013524, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013525, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013526, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013527, + "dEQP-GLES2.functional.vertex_arrays.multiple_attribu", + "tes.input_types.3_short2_vec2_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013528, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013529, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_short2_vec2_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013530, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_unsigned_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013531, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_unsigned_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013532, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_unsigned_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013533, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_short2_vec2_unsigned_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013534, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_short2_vec2_unsigned_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013535, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_short2_vec2_unsigned_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013536, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_short2_vec2_unsigned_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013537, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_short2_vec2_unsigned_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013538, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_short2_vec2_unsigned_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013539, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_short2_vec2_unsigned_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013540, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_fixed2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013541, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_fixed2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013542, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_fixed2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013543, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_fixed2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013544, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_byte2_vec2_fixed2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013545, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013546, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes", + ".input_types.3_unsigned_byte2_vec2_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013547, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013548, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013549, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013550, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013551, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013552, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_byte2_vec2_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013553, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013554, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_byte2_vec2_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013555, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_unsigned_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013556, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_unsigned_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013557, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_unsigned_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013558, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_ty", + "pes.3_unsigned_byte2_vec2_unsigned_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013559, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_typ", + "es.3_unsigned_byte2_vec2_unsigned_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013560, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_byte2_vec2_unsigned_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013561, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_byte2_vec2_unsigned_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013562, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_byte2_vec2_unsigned_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013563, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_typ", + "es.3_unsigned_byte2_vec2_unsigned_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013564, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_typ", + "es.3_unsigned_byte2_vec2_unsigned_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013565, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_unsigned_short2_vec2_fixed2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013566, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_short2_vec2_fixed2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013567, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_unsigned_short2_vec2_fixed2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013568, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_fixed2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013569, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_fixed2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013570, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_short2_vec2_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013571, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_short2_vec2_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013572, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_short2_vec2_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013573, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_short2_vec2_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013574, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013575, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_unsigned_short2_vec2_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013576, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.", + "input_types.3_unsigned_short2_vec2_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013577, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.i", + "nput_types.3_unsigned_short2_vec2_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013578, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013579, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_short2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013580, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_unsigned_byte2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013581, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.inpu", + "t_types.3_unsigned_short2_vec2_unsigned_byte2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013582, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_unsigned_byte2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013583, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_typ", + "es.3_unsigned_short2_vec2_unsigned_byte2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013584, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_typ", + "es.3_unsigned_short2_vec2_unsigned_byte2_vec2_unsigned_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013585, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_unsigned_short2_vec2_fixed2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013586, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_unsigned_short2_vec2_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013587, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input", + "_types.3_unsigned_short2_vec2_unsigned_short2_vec2_short2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013588, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_typ", + "es.3_unsigned_short2_vec2_unsigned_short2_vec2_unsigned_byte2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013589, + "dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_type", + "s.3_unsigned_short2_vec2_unsigned_short2_vec2_unsigned_short2_vec2"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_storageTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_storageTestCase.cpp new file mode 100644 index 000000000..0b53e2a00 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_storageTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013394, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.storage.3_user_ptr_user_ptr_buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013395, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.storage.3_user_ptr_buffer_user_ptr"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013396, + "dEQP-GLES2.functional.vertex_arrays.multiple", + "_attributes.storage.3_user_ptr_buffer_buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013397, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.storage.3_buffer_user_ptr_user_ptr"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013398, + "dEQP-GLES2.functional.vertex_arrays.multiple", + "_attributes.storage.3_buffer_user_ptr_buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013399, + "dEQP-GLES2.functional.vertex_arrays.multiple", + "_attributes.storage.3_buffer_buffer_user_ptr"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013400, + "dEQP-GLES2.functional.vertex_arrays.multipl", + "e_attributes.storage.3_buffer_buffer_buffer"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_strideTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_strideTestCase.cpp new file mode 100644 index 000000000..92666bd43 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2multiple_attributes_strideTestCase.cpp @@ -0,0 +1,280 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013401, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_0_float2_0_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013402, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_0_float2_0_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013403, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_0_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013404, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_0_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013405, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_0_float2_8_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013406, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_0_float2_8_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013407, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_8_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013408, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_8_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013409, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_17_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013410, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_17_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013411, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_17_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013412, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_17_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013413, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_32_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013414, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_32_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013415, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_32_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013416, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_0_float2_32_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013417, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_8_float2_0_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013418, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_8_float2_0_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013419, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_0_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013420, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_0_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013421, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_8_float2_8_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013422, + "dEQP-GLES2.functional.vertex_arrays.multiple_", + "attributes.stride.3_float2_8_float2_8_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013423, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_8_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013424, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_8_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013425, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_17_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013426, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_17_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013427, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_17_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013428, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_17_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013429, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_32_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013430, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_32_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013431, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_32_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013432, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_8_float2_32_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013433, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_0_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013434, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_0_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013435, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_0_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013436, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_0_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013437, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_8_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013438, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_8_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013439, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_8_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013440, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_8_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013441, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_17_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013442, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_17_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013443, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_17_float2_17_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013444, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_17_float2_17_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013445, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_32_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013446, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_17_float2_32_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013447, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_17_float2_32_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013448, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_17_float2_32_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013449, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_0_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013450, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_0_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013451, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_0_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013452, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_0_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013453, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_8_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013454, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_8_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013455, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_8_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013456, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_8_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013457, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_17_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013458, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_17_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013459, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_32_float2_17_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013460, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_32_float2_17_float2_32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013461, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_32_float2_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013462, + "dEQP-GLES2.functional.vertex_arrays.multiple_a", + "ttributes.stride.3_float2_32_float2_32_float2_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013463, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_32_float2_32_float2_17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013464, + "dEQP-GLES2.functional.vertex_arrays.multiple_at", + "tributes.stride.3_float2_32_float2_32_float2_32"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_bufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_bufferTestCase.cpp new file mode 100644 index 000000000..216964fb0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_bufferTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013628, + "dEQP-GLES2.functional.nega", + "tive_api.buffer.bind_buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013629, + "dEQP-GLES2.functional.negati", + "ve_api.buffer.delete_buffers"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013630, + "dEQP-GLES2.functional.nega", + "tive_api.buffer.gen_buffers"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013631, + "dEQP-GLES2.functional.nega", + "tive_api.buffer.buffer_data"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013632, + "dEQP-GLES2.functional.negati", + "ve_api.buffer.buffer_sub_data"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013633, + "dEQP-GLES2.functional.negative_api", + ".buffer.buffer_sub_data_size_offset"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013634, + "dEQP-GLES2.functional.n", + "egative_api.buffer.clear"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013635, + "dEQP-GLES2.functional.nega", + "tive_api.buffer.read_pixels"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013636, + "dEQP-GLES2.functional.negative_api", + ".buffer.read_pixels_format_mismatch"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013637, + "dEQP-GLES2.functional.negativ", + "e_api.buffer.bind_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013638, + "dEQP-GLES2.functional.negativ", + "e_api.buffer.bind_renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013639, + "dEQP-GLES2.functional.negative_ap", + "i.buffer.check_framebuffer_status"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013640, + "dEQP-GLES2.functional.negativ", + "e_api.buffer.gen_framebuffers"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013641, + "dEQP-GLES2.functional.negativ", + "e_api.buffer.gen_renderbuffers"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013642, + "dEQP-GLES2.functional.negative", + "_api.buffer.delete_framebuffers"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013643, + "dEQP-GLES2.functional.negative_", + "api.buffer.delete_renderbuffers"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013644, + "dEQP-GLES2.functional.negative_ap", + "i.buffer.framebuffer_renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013645, + "dEQP-GLES2.functional.negative_", + "api.buffer.framebuffer_texture2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013646, + "dEQP-GLES2.functional.negative_", + "api.buffer.renderbuffer_storage"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_fragmentTestCase.cpp new file mode 100644 index 000000000..8b227d4c9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_fragmentTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013647, + "dEQP-GLES2.functional.neg", + "ative_api.fragment.scissor"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013648, + "dEQP-GLES2.functional.negat", + "ive_api.fragment.depth_func"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013649, + "dEQP-GLES2.functional.nega", + "tive_api.fragment.viewport"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013650, + "dEQP-GLES2.functional.negati", + "ve_api.fragment.stencil_func"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013651, + "dEQP-GLES2.functional.negative_a", + "pi.fragment.stencil_func_separate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013652, + "dEQP-GLES2.functional.negat", + "ive_api.fragment.stencil_op"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013653, + "dEQP-GLES2.functional.negative_", + "api.fragment.stencil_op_separate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013654, + "dEQP-GLES2.functional.negative_a", + "pi.fragment.stencil_mask_separate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013655, + "dEQP-GLES2.functional.negativ", + "e_api.fragment.blend_equation"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013656, + "dEQP-GLES2.functional.negative_ap", + "i.fragment.blend_equation_separate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013657, + "dEQP-GLES2.functional.negative_", + "api.fragment.blend_func_separate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013658, + "dEQP-GLES2.functional.negat", + "ive_api.fragment.blend_func"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013659, + "dEQP-GLES2.functional.nega", + "tive_api.fragment.cull_face"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013660, + "dEQP-GLES2.functional.negat", + "ive_api.fragment.front_face"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013661, + "dEQP-GLES2.functional.negat", + "ive_api.fragment.line_width"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_shaderTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_shaderTestCase.cpp new file mode 100644 index 000000000..67b7b0c4e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_shaderTestCase.cpp @@ -0,0 +1,168 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013662, + "dEQP-GLES2.functional.negat", + "ive_api.shader.create_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013663, + "dEQP-GLES2.functional.negat", + "ive_api.shader.shader_source"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013664, + "dEQP-GLES2.functional.negati", + "ve_api.shader.compile_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013665, + "dEQP-GLES2.functional.negat", + "ive_api.shader.delete_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013666, + "dEQP-GLES2.functional.negat", + "ive_api.shader.shader_binary"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013667, + "dEQP-GLES2.functional.negat", + "ive_api.shader.attach_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013668, + "dEQP-GLES2.functional.negat", + "ive_api.shader.detach_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013669, + "dEQP-GLES2.functional.negat", + "ive_api.shader.link_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013670, + "dEQP-GLES2.functional.nega", + "tive_api.shader.use_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013671, + "dEQP-GLES2.functional.negati", + "ve_api.shader.delete_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013672, + "dEQP-GLES2.functional.negativ", + "e_api.shader.get_active_attrib"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013673, + "dEQP-GLES2.functional.negative", + "_api.shader.get_attrib_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013674, + "dEQP-GLES2.functional.negative_", + "api.shader.get_uniform_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013675, + "dEQP-GLES2.functional.negative_", + "api.shader.bind_attrib_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013676, + "dEQP-GLES2.functional.negative", + "_api.shader.get_active_uniform"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013677, + "dEQP-GLES2.functional.negativ", + "e_api.shader.validate_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013678, + "dEQP-GLES2.functional.negative_a", + "pi.shader.release_shader_compiler"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013679, + "dEQP-GLES2.functional.negative_ap", + "i.shader.uniformf_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013680, + "dEQP-GLES2.functional.negative_api", + ".shader.uniformf_incompatible_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013681, + "dEQP-GLES2.functional.negative_ap", + "i.shader.uniformf_invalid_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013682, + "dEQP-GLES2.functional.negative_ap", + "i.shader.uniformfv_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013683, + "dEQP-GLES2.functional.negative_api", + ".shader.uniformfv_incompatible_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013684, + "dEQP-GLES2.functional.negative_api", + ".shader.uniformfv_invalid_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013685, + "dEQP-GLES2.functional.negative_a", + "pi.shader.uniformfv_invalid_count"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013686, + "dEQP-GLES2.functional.negative_ap", + "i.shader.uniformi_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013687, + "dEQP-GLES2.functional.negative_api", + ".shader.uniformi_incompatible_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013688, + "dEQP-GLES2.functional.negative_ap", + "i.shader.uniformi_invalid_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013689, + "dEQP-GLES2.functional.negative_ap", + "i.shader.uniformiv_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013690, + "dEQP-GLES2.functional.negative_api", + ".shader.uniformiv_incompatible_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013691, + "dEQP-GLES2.functional.negative_api", + ".shader.uniformiv_invalid_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013692, + "dEQP-GLES2.functional.negative_a", + "pi.shader.uniformiv_invalid_count"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013693, + "dEQP-GLES2.functional.negative_api.sh", + "ader.uniform_matrixfv_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013694, + "dEQP-GLES2.functional.negative_api.sha", + "der.uniform_matrixfv_incompatible_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013695, + "dEQP-GLES2.functional.negative_api.sh", + "ader.uniform_matrixfv_invalid_location"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013696, + "dEQP-GLES2.functional.negative_api.s", + "hader.uniform_matrixfv_invalid_count"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013697, + "dEQP-GLES2.functional.negative_api.sha", + "der.uniform_matrixfv_invalid_transpose"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_stateTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_stateTestCase.cpp new file mode 100644 index 000000000..437771a84 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_stateTestCase.cpp @@ -0,0 +1,148 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013698, + "dEQP-GLES2.functional.n", + "egative_api.state.enable"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013699, + "dEQP-GLES2.functional.ne", + "gative_api.state.disable"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013700, + "dEQP-GLES2.functional.nega", + "tive_api.state.get_booleanv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013701, + "dEQP-GLES2.functional.neg", + "ative_api.state.get_floatv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013702, + "dEQP-GLES2.functional.nega", + "tive_api.state.get_integerv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013703, + "dEQP-GLES2.functional.neg", + "ative_api.state.get_string"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013704, + "dEQP-GLES2.functional.negative", + "_api.state.get_attached_shaders"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013705, + "dEQP-GLES2.functional.nega", + "tive_api.state.get_shaderiv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013706, + "dEQP-GLES2.functional.negative", + "_api.state.get_shader_info_log"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013707, + "dEQP-GLES2.functional.negative_api", + ".state.get_shader_precision_format"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013708, + "dEQP-GLES2.functional.negativ", + "e_api.state.get_shader_source"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013709, + "dEQP-GLES2.functional.negat", + "ive_api.state.get_programiv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013710, + "dEQP-GLES2.functional.negative", + "_api.state.get_program_info_log"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013711, + "dEQP-GLES2.functional.negative", + "_api.state.get_tex_parameterfv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013712, + "dEQP-GLES2.functional.negative", + "_api.state.get_tex_parameteriv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013713, + "dEQP-GLES2.functional.negat", + "ive_api.state.get_uniformfv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013714, + "dEQP-GLES2.functional.negat", + "ive_api.state.get_uniformiv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013715, + "dEQP-GLES2.functional.negative", + "_api.state.get_vertex_attribfv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013716, + "dEQP-GLES2.functional.negative", + "_api.state.get_vertex_attribiv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013717, + "dEQP-GLES2.functional.negative_ap", + "i.state.get_vertex_attrib_pointerv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013718, + "dEQP-GLES2.functional.negative_", + "api.state.get_buffer_parameteriv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013719, + "dEQP-GLES2.functional.negative_api.stat", + "e.get_framebuffer_attachment_parameteriv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013720, + "dEQP-GLES2.functional.negative_api", + ".state.get_renderbuffer_parameteriv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013721, + "dEQP-GLES2.functional.negat", + "ive_api.state.get_is_enabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013722, + "dEQP-GLES2.functional.", + "negative_api.state.hint"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013723, + "dEQP-GLES2.functional.neg", + "ative_api.state.is_buffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013724, + "dEQP-GLES2.functional.negat", + "ive_api.state.is_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013725, + "dEQP-GLES2.functional.neg", + "ative_api.state.is_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013726, + "dEQP-GLES2.functional.negati", + "ve_api.state.is_renderbuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013727, + "dEQP-GLES2.functional.neg", + "ative_api.state.is_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013728, + "dEQP-GLES2.functional.neg", + "ative_api.state.is_texture"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_textureTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_textureTestCase.cpp new file mode 100644 index 000000000..9d7288f88 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_textureTestCase.cpp @@ -0,0 +1,560 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013729, + "dEQP-GLES2.functional.negative_api.t", + "exture.activetexture_invalid_texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013730, + "dEQP-GLES2.functional.negative_api", + ".texture.bindtexture_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013731, + "dEQP-GLES2.functional.negative_api", + ".texture.bindtexture_type_mismatch"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013732, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedteximage_2d_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013733, + "dEQP-GLES2.functional.negative_api.texture", + ".compressedteximage_2d_invalid_format_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013734, + "dEQP-GLES2.functional.negative_api.texture", + ".compressedteximage_2d_invalid_format_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013735, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedteximage2d_neg_level_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013736, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedteximage2d_neg_level_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013737, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedteximage2d_level_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013738, + "dEQP-GLES2.functional.negative_api.textur", + "e.compressedteximage2d_level_max_cube_pos"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013739, + "dEQP-GLES2.functional.negative_api.texture.", + "compressedteximage2d_neg_width_height_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013740, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_neg_width_height_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013741, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_neg_width_height_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013742, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_neg_width_height_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013743, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_neg_width_height_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013744, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_neg_width_height_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013745, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_neg_width_height_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013746, + "dEQP-GLES2.functional.negative_api.texture.", + "compressedteximage2d_width_height_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013747, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_width_height_max_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013748, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_width_height_max_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013749, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_width_height_max_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013750, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_width_height_max_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013751, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_width_height_max_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013752, + "dEQP-GLES2.functional.negative_api.texture.co", + "mpressedteximage2d_width_height_max_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013753, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedteximage2d_invalid_border"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013754, + "dEQP-GLES2.functional.negative_api.texture.c", + "ompressedteximage2d_invalid_border_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013755, + "dEQP-GLES2.functional.negative_api.texture.c", + "ompressedteximage2d_invalid_border_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013756, + "dEQP-GLES2.functional.negative_api.texture.c", + "ompressedteximage2d_invalid_border_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013757, + "dEQP-GLES2.functional.negative_api.texture.c", + "ompressedteximage2d_invalid_border_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013758, + "dEQP-GLES2.functional.negative_api.texture.c", + "ompressedteximage2d_invalid_border_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013759, + "dEQP-GLES2.functional.negative_api.texture.c", + "ompressedteximage2d_invalid_border_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013760, + "dEQP-GLES2.functional.negative_api.tex", + "ture.compressedteximage2d_invalid_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013761, + "dEQP-GLES2.functional.negative_api.t", + "exture.copyteximage2d_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013762, + "dEQP-GLES2.functional.negative_api.text", + "ure.copyteximage2d_invalid_format_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013763, + "dEQP-GLES2.functional.negative_api.tex", + "ture.copyteximage2d_invalid_format_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013764, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_inequal_width_height_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013765, + "dEQP-GLES2.functional.negative_api.t", + "exture.copyteximage2d_neg_level_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013766, + "dEQP-GLES2.functional.negative_api.t", + "exture.copyteximage2d_neg_level_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013767, + "dEQP-GLES2.functional.negative_api.t", + "exture.copyteximage2d_level_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013768, + "dEQP-GLES2.functional.negative_api.t", + "exture.copyteximage2d_level_max_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013769, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_invalid_width_height_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013770, + "dEQP-GLES2.functional.negative_api.texture.c", + "opyteximage2d_invalid_width_height_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013771, + "dEQP-GLES2.functional.negative_api.texture.c", + "opyteximage2d_invalid_width_height_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013772, + "dEQP-GLES2.functional.negative_api.texture.c", + "opyteximage2d_invalid_width_height_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013773, + "dEQP-GLES2.functional.negative_api.texture.c", + "opyteximage2d_invalid_width_height_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013774, + "dEQP-GLES2.functional.negative_api.texture.c", + "opyteximage2d_invalid_width_height_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013775, + "dEQP-GLES2.functional.negative_api.texture.c", + "opyteximage2d_invalid_width_height_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013776, + "dEQP-GLES2.functional.negative_api.textu", + "re.copyteximage2d_width_height_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013777, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_width_height_max_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013778, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_width_height_max_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013779, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_width_height_max_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013780, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_width_height_max_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013781, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_width_height_max_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013782, + "dEQP-GLES2.functional.negative_api.texture", + ".copyteximage2d_width_height_max_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013783, + "dEQP-GLES2.functional.negative_api.text", + "ure.copyteximage2d_invalid_border_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013784, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_invalid_border_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013785, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_invalid_border_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013786, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_invalid_border_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013787, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_invalid_border_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013788, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_invalid_border_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013789, + "dEQP-GLES2.functional.negative_api.textur", + "e.copyteximage2d_invalid_border_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013790, + "dEQP-GLES2.functional.negative_api.textu", + "re.copyteximage2d_incomplete_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013791, + "dEQP-GLES2.functional.negative_api.te", + "xture.copytexsubimage2d_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013792, + "dEQP-GLES2.functional.negative_api.tex", + "ture.copytexsubimage2d_neg_level_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013793, + "dEQP-GLES2.functional.negative_api.te", + "xture.copytexsubimage2d_neg_level_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013794, + "dEQP-GLES2.functional.negative_api.tex", + "ture.copytexsubimage2d_level_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013795, + "dEQP-GLES2.functional.negative_api.text", + "ure.copytexsubimage2d_level_max_cube_pos"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013796, + "dEQP-GLES2.functional.negative_api.", + "texture.copytexsubimage2d_neg_offset"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013797, + "dEQP-GLES2.functional.negative_api.te", + "xture.copytexsubimage2d_offset_allowed"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013798, + "dEQP-GLES2.functional.negative_api.t", + "exture.copytexsubimage2d_neg_wdt_hgt"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013799, + "dEQP-GLES2.functional.negative_api.textur", + "e.copytexsubimage2d_incomplete_framebuffer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013800, + "dEQP-GLES2.functional.negative_api.t", + "exture.deletetextures_invalid_number"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013801, + "dEQP-GLES2.functional.negative_api.tex", + "ture.deletetextures_invalid_number_bind"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013802, + "dEQP-GLES2.functional.negative_api.t", + "exture.generatemipmap_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013803, + "dEQP-GLES2.functional.negative_api.", + "texture.generatemipmap_npot_wdt_hgt"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013804, + "dEQP-GLES2.functional.negative_api.texture", + ".generatemipmap_zero_level_array_compressed"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013805, + "dEQP-GLES2.functional.negative_api.t", + "exture.generatemipmap_incomplete_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013806, + "dEQP-GLES2.functional.negative_ap", + "i.texture.gentextures_invalid_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013807, + "dEQP-GLES2.functional.negative_api", + ".texture.pixelstorei_invalid_pname"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013808, + "dEQP-GLES2.functional.negative_api", + ".texture.pixelstorei_invalid_param"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013809, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013810, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_invalid_format"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013811, + "dEQP-GLES2.functional.negative_ap", + "i.texture.teximage2d_invalid_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013812, + "dEQP-GLES2.functional.negative_api.text", + "ure.teximage2d_inequal_width_height_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013813, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_neg_level_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013814, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_neg_level_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013815, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_level_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013816, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_level_max_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013817, + "dEQP-GLES2.functional.negative_api.tex", + "ture.teximage2d_invalid_internalformat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013818, + "dEQP-GLES2.functional.negative_api.tex", + "ture.teximage2d_neg_width_height_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013819, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_neg_width_height_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013820, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_neg_width_height_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013821, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_neg_width_height_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013822, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_neg_width_height_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013823, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_neg_width_height_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013824, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_neg_width_height_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013825, + "dEQP-GLES2.functional.negative_api.tex", + "ture.teximage2d_width_height_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013826, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_width_height_max_cube_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013827, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_width_height_max_cube_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013828, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_width_height_max_cube_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013829, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_width_height_max_cube_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013830, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_width_height_max_cube_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013831, + "dEQP-GLES2.functional.negative_api.textu", + "re.teximage2d_width_height_max_cube_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013832, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_invalid_border"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013833, + "dEQP-GLES2.functional.negative_api", + ".texture.teximage2d_format_mismatch"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013834, + "dEQP-GLES2.functional.negative_api.te", + "xture.teximage2d_type_format_mismatch"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013835, + "dEQP-GLES2.functional.negative_api.", + "texture.texsubimage2d_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013836, + "dEQP-GLES2.functional.negative_api.", + "texture.texsubimage2d_invalid_format"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013837, + "dEQP-GLES2.functional.negative_api", + ".texture.texsubimage2d_invalid_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013838, + "dEQP-GLES2.functional.negative_api.t", + "exture.texsubimage2d_neg_level_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013839, + "dEQP-GLES2.functional.negative_api.", + "texture.texsubimage2d_neg_level_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013840, + "dEQP-GLES2.functional.negative_api.t", + "exture.texsubimage2d_level_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013841, + "dEQP-GLES2.functional.negative_api.", + "texture.texsubimage2d_level_max_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013842, + "dEQP-GLES2.functional.negative_ap", + "i.texture.texsubimage2d_neg_offset"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013843, + "dEQP-GLES2.functional.negative_api.", + "texture.texsubimage2d_offset_allowed"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013844, + "dEQP-GLES2.functional.negative_api", + ".texture.texsubimage2d_neg_wdt_hgt"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013845, + "dEQP-GLES2.functional.negative_api.tex", + "ture.texsubimage2d_type_format_mismatch"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013846, + "dEQP-GLES2.functional.negati", + "ve_api.texture.texparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013847, + "dEQP-GLES2.functional.negative", + "_api.texture.texparameteri_bind"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013848, + "dEQP-GLES2.functional.negati", + "ve_api.texture.texparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013849, + "dEQP-GLES2.functional.negative", + "_api.texture.texparameterf_bind"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013850, + "dEQP-GLES2.functional.negati", + "ve_api.texture.texparameteriv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013851, + "dEQP-GLES2.functional.negative_", + "api.texture.texparameteriv_bind"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013852, + "dEQP-GLES2.functional.negati", + "ve_api.texture.texparameterfv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013853, + "dEQP-GLES2.functional.negative_", + "api.texture.texparameterfv_bind"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013854, + "dEQP-GLES2.functional.negative_api.textu", + "re.compressedtexsubimage2d_invalid_target"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013855, + "dEQP-GLES2.functional.negative_api.textur", + "e.compressedtexsubimage2d_neg_level_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013856, + "dEQP-GLES2.functional.negative_api.textu", + "re.compressedtexsubimage2d_neg_level_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013857, + "dEQP-GLES2.functional.negative_api.textur", + "e.compressedtexsubimage2d_level_max_tex2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013858, + "dEQP-GLES2.functional.negative_api.textu", + "re.compressedtexsubimage2d_level_max_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013859, + "dEQP-GLES2.functional.negative_api.tex", + "ture.compressedtexsubimage2d_neg_offset"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013860, + "dEQP-GLES2.functional.negative_api.textu", + "re.compressedtexsubimage2d_offset_allowed"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013861, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedtexsubimage2d_neg_wdt_hgt"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013862, + "dEQP-GLES2.functional.negative_api.text", + "ure.compressedtexsubimage2d_invalid_size"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp new file mode 100644 index 000000000..8ce1dfc98 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp @@ -0,0 +1,68 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013863, + "dEQP-GLES2.functional.negative", + "_api.vertex_array.vertex_attrib"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013864, + "dEQP-GLES2.functional.negative_", + "api.vertex_array.vertex_attribv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013865, + "dEQP-GLES2.functional.negative_api", + ".vertex_array.vertex_attrib_pointer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013866, + "dEQP-GLES2.functional.negative_api.ve", + "rtex_array.enable_vertex_attrib_array"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013867, + "dEQP-GLES2.functional.negative_api.ve", + "rtex_array.disable_vertex_attrib_array"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013868, + "dEQP-GLES2.functional.negativ", + "e_api.vertex_array.draw_arrays"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013869, + "dEQP-GLES2.functional.negative_api.ve", + "rtex_array.draw_arrays_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013870, + "dEQP-GLES2.functional.negative_api.verte", + "x_array.draw_arrays_incomplete_primitive"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013871, + "dEQP-GLES2.functional.negative", + "_api.vertex_array.draw_elements"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013872, + "dEQP-GLES2.functional.negative_api.ver", + "tex_array.draw_elements_invalid_program"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013873, + "dEQP-GLES2.functional.negative_api.vertex", + "_array.draw_elements_incomplete_primitive"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2operator_selectionTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2operator_selectionTestCase.cpp new file mode 100644 index 000000000..0ba61ab2d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2operator_selectionTestCase.cpp @@ -0,0 +1,248 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006774, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006775, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006776, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006777, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006778, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006779, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006780, + "dEQP-GLES2.functional.shaders.op", + "erator.selection.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006781, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006782, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006783, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006784, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006785, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006786, + "dEQP-GLES2.functional.shaders.op", + "erator.selection.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006787, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006788, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006789, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006790, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006791, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006792, + "dEQP-GLES2.functional.shaders.op", + "erator.selection.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006793, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006794, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006795, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006796, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006797, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006798, + "dEQP-GLES2.functional.shaders.op", + "erator.selection.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006799, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006800, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006801, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006802, + "dEQP-GLES2.functional.shaders.op", + "erator.selection.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006803, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006804, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006805, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006806, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006807, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006808, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006809, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006810, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006811, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006812, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006813, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006814, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006815, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006816, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006817, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006818, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006819, + "dEQP-GLES2.functional.shaders.opera", + "tor.selection.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006820, + "dEQP-GLES2.functional.shaders.ope", + "rator.selection.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006821, + "dEQP-GLES2.functional.shaders.oper", + "ator.selection.highp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006822, + "dEQP-GLES2.functional.shaders.", + "operator.selection.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006823, + "dEQP-GLES2.functional.shaders.o", + "perator.selection.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006824, + "dEQP-GLES2.functional.shaders.", + "operator.selection.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006825, + "dEQP-GLES2.functional.shaders.o", + "perator.selection.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006826, + "dEQP-GLES2.functional.shaders.", + "operator.selection.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006827, + "dEQP-GLES2.functional.shaders.o", + "perator.selection.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006828, + "dEQP-GLES2.functional.shaders.", + "operator.selection.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006829, + "dEQP-GLES2.functional.shaders.o", + "perator.selection.bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_invalidTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_invalidTestCase.cpp new file mode 100644 index 000000000..416cae244 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_invalidTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002389, + "dEQP-GLES2.functional.shaders.qualification_order.p", + "arameters.invalid.storage_precision_parameter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002390, + "dEQP-GLES2.functional.shaders.qualification_order.pa", + "rameters.invalid.storage_precision_parameter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002391, + "dEQP-GLES2.functional.shaders.qualification_order.p", + "arameters.invalid.parameter_storage_precision_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002392, + "dEQP-GLES2.functional.shaders.qualification_order.pa", + "rameters.invalid.parameter_storage_precision_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002393, + "dEQP-GLES2.functional.shaders.qualification_order.p", + "arameters.invalid.parameter_precision_storage_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002394, + "dEQP-GLES2.functional.shaders.qualification_order.pa", + "rameters.invalid.parameter_precision_storage_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002395, + "dEQP-GLES2.functional.shaders.qualification_order.p", + "arameters.invalid.precision_storage_parameter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002396, + "dEQP-GLES2.functional.shaders.qualification_order.pa", + "rameters.invalid.precision_storage_parameter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002397, + "dEQP-GLES2.functional.shaders.qualification_order.p", + "arameters.invalid.precision_parameter_storage_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002398, + "dEQP-GLES2.functional.shaders.qualification_order.pa", + "rameters.invalid.precision_parameter_storage_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002399, + "dEQP-GLES2.functional.shaders.qualification_or", + "der.parameters.invalid.parameter_storage_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002400, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.parameters.invalid.parameter_storage_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002401, + "dEQP-GLES2.functional.shaders.qualification_or", + "der.parameters.invalid.precision_storage_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002402, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.parameters.invalid.precision_storage_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002403, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.parameters.invalid.precision_parameter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002404, + "dEQP-GLES2.functional.shaders.qualification_orde", + "r.parameters.invalid.precision_parameter_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_validTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_validTestCase.cpp new file mode 100644 index 000000000..dfbe43b4f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2parameters_validTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002381, + "dEQP-GLES2.functional.shaders.qualification_order.", + "parameters.valid.storage_parameter_precision_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002382, + "dEQP-GLES2.functional.shaders.qualification_order.p", + "arameters.valid.storage_parameter_precision_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002383, + "dEQP-GLES2.functional.shaders.qualification_o", + "rder.parameters.valid.storage_parameter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002384, + "dEQP-GLES2.functional.shaders.qualification_or", + "der.parameters.valid.storage_parameter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002385, + "dEQP-GLES2.functional.shaders.qualification_o", + "rder.parameters.valid.storage_precision_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002386, + "dEQP-GLES2.functional.shaders.qualification_or", + "der.parameters.valid.storage_precision_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002387, + "dEQP-GLES2.functional.shaders.qualification_or", + "der.parameters.valid.parameter_precision_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002388, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.parameters.valid.parameter_precision_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_basicTestCase.cpp new file mode 100644 index 000000000..094dc229e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_basicTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000133, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.basic.correct_phases_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000134, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.basic.correct_phases_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000135, + "dEQP-GLES2.functional.shaders.preproc", + "essor.basic.invalid_identifier_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000136, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.basic.invalid_identifier_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000137, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.basic.null_directive_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000138, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.basic.null_directive_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000139, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.basic.invalid_directive_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000140, + "dEQP-GLES2.functional.shaders.preproc", + "essor.basic.invalid_directive_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000141, + "dEQP-GLES2.functional.shaders.preproc", + "essor.basic.missing_identifier_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000142, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.basic.missing_identifier_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000143, + "dEQP-GLES2.functional.shaders.prep", + "rocessor.basic.empty_object_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000144, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.basic.empty_object_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000145, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.basic.empty_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000146, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.basic.empty_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000147, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.basic.empty_directive_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000148, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.basic.empty_directive_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_builtinTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_builtinTestCase.cpp new file mode 100644 index 000000000..cd832c6e7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_builtinTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000447, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.builtin.line_and_file_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000448, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.builtin.line_and_file_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000449, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.builtin.line_defined_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000450, + "dEQP-GLES2.functional.shaders.preproc", + "essor.builtin.line_defined_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000451, + "dEQP-GLES2.functional.shaders.prep", + "rocessor.builtin.empty_line_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000452, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.builtin.empty_line_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000453, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.builtin.invalid_line_file_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000454, + "dEQP-GLES2.functional.shaders.preproces", + "sor.builtin.invalid_line_file_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000455, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.builtin.invalid_line_file_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000456, + "dEQP-GLES2.functional.shaders.preproces", + "sor.builtin.invalid_line_file_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000457, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.builtin.invalid_line_file_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000458, + "dEQP-GLES2.functional.shaders.preproces", + "sor.builtin.invalid_line_file_4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_commentsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_commentsTestCase.cpp new file mode 100644 index 000000000..aaefba36e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_commentsTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000195, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.comments.multiline_comment_define_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000196, + "dEQP-GLES2.functional.shaders.preprocessor", + ".comments.multiline_comment_define_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000197, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.comments.nested_comment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000198, + "dEQP-GLES2.functional.shaders.preproc", + "essor.comments.nested_comment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000199, + "dEQP-GLES2.functional.shaders.preproc", + "essor.comments.comment_trick_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000200, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.comments.comment_trick_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000201, + "dEQP-GLES2.functional.shaders.preproc", + "essor.comments.comment_trick_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000202, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.comments.comment_trick_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000203, + "dEQP-GLES2.functional.shaders.preproc", + "essor.comments.invalid_comment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000204, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.comments.invalid_comment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000205, + "dEQP-GLES2.functional.shaders.preprocess", + "or.comments.unterminated_comment_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000206, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.comments.unterminated_comment_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000207, + "dEQP-GLES2.functional.shaders.preprocess", + "or.comments.unterminated_comment_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000208, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.comments.unterminated_comment_2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp new file mode 100644 index 000000000..d702d65f9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000287, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditional_inclusion.basic_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000288, + "dEQP-GLES2.functional.shaders.preprocess", + "or.conditional_inclusion.basic_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000289, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditional_inclusion.basic_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000290, + "dEQP-GLES2.functional.shaders.preprocess", + "or.conditional_inclusion.basic_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000291, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditional_inclusion.basic_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000292, + "dEQP-GLES2.functional.shaders.preprocess", + "or.conditional_inclusion.basic_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000293, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditional_inclusion.basic_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000294, + "dEQP-GLES2.functional.shaders.preprocess", + "or.conditional_inclusion.basic_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000295, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditional_inclusion.basic_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000296, + "dEQP-GLES2.functional.shaders.preprocess", + "or.conditional_inclusion.basic_5_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000297, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.conditional_inclusion.unary_ops_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000298, + "dEQP-GLES2.functional.shaders.preprocessor", + ".conditional_inclusion.unary_ops_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000299, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.conditional_inclusion.unary_ops_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000300, + "dEQP-GLES2.functional.shaders.preprocessor", + ".conditional_inclusion.unary_ops_2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditionalsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditionalsTestCase.cpp new file mode 100644 index 000000000..cdb4c284d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_conditionalsTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000399, + "dEQP-GLES2.functional.shaders.preprocessor.c", + "onditionals.unterminated_nested_blocks_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000400, + "dEQP-GLES2.functional.shaders.preprocessor.co", + "nditionals.unterminated_nested_blocks_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000401, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.conditionals.ifdef_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000402, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.conditionals.ifdef_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000403, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.conditionals.ifdef_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000404, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.conditionals.ifdef_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000405, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.conditionals.ifdef_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000406, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.conditionals.ifdef_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000407, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.conditionals.invalid_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000408, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditionals.invalid_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000409, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.conditionals.ifndef_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000410, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.conditionals.ifndef_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000411, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.conditionals.ifndef_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000412, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.conditionals.ifndef_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000413, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.conditionals.invalid_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000414, + "dEQP-GLES2.functional.shaders.preproces", + "sor.conditionals.invalid_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000415, + "dEQP-GLES2.functional.shaders.preprocessor.co", + "nditionals.mixed_conditional_inclusion_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000416, + "dEQP-GLES2.functional.shaders.preprocessor.con", + "ditionals.mixed_conditional_inclusion_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000417, + "dEQP-GLES2.functional.shaders.preproc", + "essor.conditionals.nested_if_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000418, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.conditionals.nested_if_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000419, + "dEQP-GLES2.functional.shaders.preproc", + "essor.conditionals.nested_if_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000420, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.conditionals.nested_if_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000421, + "dEQP-GLES2.functional.shaders.preproc", + "essor.conditionals.nested_if_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000422, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.conditionals.nested_if_3_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_definitionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_definitionsTestCase.cpp new file mode 100644 index 000000000..dc0e6b807 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_definitionsTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000149, + "dEQP-GLES2.functional.shaders.preprocessor.", + "definitions.define_value_and_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000150, + "dEQP-GLES2.functional.shaders.preprocessor.d", + "efinitions.define_value_and_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000151, + "dEQP-GLES2.functional.shaders.preprocessor.def", + "initions.undefine_object_invalid_syntax_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000152, + "dEQP-GLES2.functional.shaders.preprocessor.defi", + "nitions.undefine_object_invalid_syntax_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000153, + "dEQP-GLES2.functional.shaders.preprocessor.", + "definitions.undefine_invalid_object_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000154, + "dEQP-GLES2.functional.shaders.preprocessor.d", + "efinitions.undefine_invalid_object_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000155, + "dEQP-GLES2.functional.shaders.preprocessor.", + "definitions.undefine_invalid_object_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000156, + "dEQP-GLES2.functional.shaders.preprocessor.d", + "efinitions.undefine_invalid_object_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000157, + "dEQP-GLES2.functional.shaders.preproces", + "sor.definitions.undefine_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000158, + "dEQP-GLES2.functional.shaders.preprocess", + "or.definitions.undefine_function_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_directiveTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_directiveTestCase.cpp new file mode 100644 index 000000000..1a0d08fec --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_directiveTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000423, + "dEQP-GLES2.functional.shaders.pre", + "processor.directive.version_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000424, + "dEQP-GLES2.functional.shaders.prep", + "rocessor.directive.version_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000425, + "dEQP-GLES2.functional.shaders.preproc", + "essor.directive.version_is_less_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000426, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.directive.version_is_less_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000427, + "dEQP-GLES2.functional.shaders.preproc", + "essor.directive.version_is_more_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000428, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.directive.version_is_more_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000429, + "dEQP-GLES2.functional.shaders.preproc", + "essor.directive.version_missing_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000430, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.directive.version_missing_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000431, + "dEQP-GLES2.functional.shaders.preprocessor.d", + "irective.version_not_first_statement_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000432, + "dEQP-GLES2.functional.shaders.preprocessor.di", + "rective.version_not_first_statement_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000433, + "dEQP-GLES2.functional.shaders.preprocessor.d", + "irective.version_not_first_statement_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000434, + "dEQP-GLES2.functional.shaders.preprocessor.di", + "rective.version_not_first_statement_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000435, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.directive.version_invalid_token_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000436, + "dEQP-GLES2.functional.shaders.preprocessor", + ".directive.version_invalid_token_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000437, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.directive.version_invalid_token_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000438, + "dEQP-GLES2.functional.shaders.preprocessor", + ".directive.version_invalid_token_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000439, + "dEQP-GLES2.functional.shaders.preproc", + "essor.directive.invalid_version_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000440, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.directive.invalid_version_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000441, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.directive.additional_tokens_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000442, + "dEQP-GLES2.functional.shaders.preproces", + "sor.directive.additional_tokens_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000443, + "dEQP-GLES2.functional.shaders.preprocess", + "or.directive.error_with_no_tokens_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000444, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.directive.error_with_no_tokens_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000445, + "dEQP-GLES2.functional.shaders.pr", + "eprocessor.directive.error_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000446, + "dEQP-GLES2.functional.shaders.pre", + "processor.directive.error_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_expressionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_expressionsTestCase.cpp new file mode 100644 index 000000000..b0803027d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_expressionsTestCase.cpp @@ -0,0 +1,232 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000491, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.shift_left_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000492, + "dEQP-GLES2.functional.shaders.preproc", + "essor.expressions.shift_left_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000493, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.shift_right_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000494, + "dEQP-GLES2.functional.shaders.preproc", + "essor.expressions.shift_right_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000495, + "dEQP-GLES2.functional.shaders.preproc", + "essor.expressions.cmp_less_than_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000496, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.expressions.cmp_less_than_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000497, + "dEQP-GLES2.functional.shaders.preproc", + "essor.expressions.less_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000498, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.expressions.less_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000499, + "dEQP-GLES2.functional.shaders.pr", + "eprocessor.expressions.or_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000500, + "dEQP-GLES2.functional.shaders.pre", + "processor.expressions.or_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000501, + "dEQP-GLES2.functional.shaders.pr", + "eprocessor.expressions.and_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000502, + "dEQP-GLES2.functional.shaders.pre", + "processor.expressions.and_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000503, + "dEQP-GLES2.functional.shaders.pr", + "eprocessor.expressions.xor_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000504, + "dEQP-GLES2.functional.shaders.pre", + "processor.expressions.xor_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000505, + "dEQP-GLES2.functional.shaders.pr", + "eprocessor.expressions.mod_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000506, + "dEQP-GLES2.functional.shaders.pre", + "processor.expressions.mod_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000507, + "dEQP-GLES2.functional.shaders.preproces", + "sor.expressions.parenthesis_value_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000508, + "dEQP-GLES2.functional.shaders.preprocess", + "or.expressions.parenthesis_value_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000509, + "dEQP-GLES2.functional.shaders.preprocess", + "or.expressions.parenthesis_tricky_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000510, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.expressions.parenthesis_tricky_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000511, + "dEQP-GLES2.functional.shaders.preproces", + "sor.expressions.parenthesis_if_no_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000512, + "dEQP-GLES2.functional.shaders.preprocess", + "or.expressions.parenthesis_if_no_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000513, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.expressions.parenthesis_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000514, + "dEQP-GLES2.functional.shaders.preproces", + "sor.expressions.parenthesis_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000515, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.expressions.parenthesis_multi_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000516, + "dEQP-GLES2.functional.shaders.preprocessor", + ".expressions.parenthesis_multi_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000517, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.expressions.parenthesis_single_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000518, + "dEQP-GLES2.functional.shaders.preprocessor", + ".expressions.parenthesis_single_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000519, + "dEQP-GLES2.functional.shaders.preprocessor", + ".expressions.parenthesis_ifelse_true_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000520, + "dEQP-GLES2.functional.shaders.preprocessor.", + "expressions.parenthesis_ifelse_true_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000521, + "dEQP-GLES2.functional.shaders.preprocessor.", + "expressions.parenthesis_ifelse_false_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000522, + "dEQP-GLES2.functional.shaders.preprocessor.e", + "xpressions.parenthesis_ifelse_false_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000523, + "dEQP-GLES2.functional.shaders.preproc", + "essor.expressions.eval_basic_0_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000524, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.expressions.eval_basic_0_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000525, + "dEQP-GLES2.functional.shaders.preproc", + "essor.expressions.eval_basic_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000526, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.expressions.eval_basic_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000527, + "dEQP-GLES2.functional.shaders.preprocessor.", + "expressions.eval_simple_precedence_0_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000528, + "dEQP-GLES2.functional.shaders.preprocessor.e", + "xpressions.eval_simple_precedence_0_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000529, + "dEQP-GLES2.functional.shaders.preprocessor.", + "expressions.eval_simple_precedence_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000530, + "dEQP-GLES2.functional.shaders.preprocessor.e", + "xpressions.eval_simple_precedence_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000531, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.expressions.defined_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000532, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.defined_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000533, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.expressions.defined_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000534, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.defined_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000535, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.expressions.defined_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000536, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.defined_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000537, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.expressions.defined_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000538, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.defined_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000539, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.expressions.defined_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000540, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.defined_5_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000541, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.expressions.defined_6_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000542, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.expressions.defined_6_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_extensionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_extensionsTestCase.cpp new file mode 100644 index 000000000..dbfccecef --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_extensionsTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000467, + "dEQP-GLES2.functional.shaders.pre", + "processor.extensions.basic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000468, + "dEQP-GLES2.functional.shaders.prep", + "rocessor.extensions.basic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000469, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.extensions.macro_exp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000470, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.extensions.macro_exp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000471, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.extensions.missing_extension_name_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000472, + "dEQP-GLES2.functional.shaders.preprocessor", + ".extensions.missing_extension_name_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000473, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.extensions.invalid_extension_name_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000474, + "dEQP-GLES2.functional.shaders.preprocessor", + ".extensions.invalid_extension_name_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000475, + "dEQP-GLES2.functional.shaders.preproc", + "essor.extensions.missing_colon_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000476, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.extensions.missing_colon_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000477, + "dEQP-GLES2.functional.shaders.preproc", + "essor.extensions.expected_colon_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000478, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.extensions.expected_colon_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000479, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.extensions.missing_behavior_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000480, + "dEQP-GLES2.functional.shaders.preproces", + "sor.extensions.missing_behavior_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000481, + "dEQP-GLES2.functional.shaders.preproces", + "sor.extensions.invalid_behavior_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000482, + "dEQP-GLES2.functional.shaders.preprocess", + "or.extensions.invalid_behavior_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000483, + "dEQP-GLES2.functional.shaders.preproces", + "sor.extensions.invalid_behavior_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000484, + "dEQP-GLES2.functional.shaders.preprocess", + "or.extensions.invalid_behavior_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000485, + "dEQP-GLES2.functional.shaders.preprocess", + "or.extensions.invalid_char_in_name_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000486, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.extensions.invalid_char_in_name_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000487, + "dEQP-GLES2.functional.shaders.preprocessor", + ".extensions.invalid_char_in_behavior_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000488, + "dEQP-GLES2.functional.shaders.preprocessor.", + "extensions.invalid_char_in_behavior_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000489, + "dEQP-GLES2.functional.shaders.preprocess", + "or.extensions.unterminated_comment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000490, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.extensions.unterminated_comment_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp new file mode 100644 index 000000000..7dfd3f1ff --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000209, + "dEQP-GLES2.functional.shaders.preprocessor.functio", + "n_definitions.same_object_and_function_param_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000210, + "dEQP-GLES2.functional.shaders.preprocessor.function", + "_definitions.same_object_and_function_param_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000211, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.function_definitions.complex_func_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000212, + "dEQP-GLES2.functional.shaders.preprocessor", + ".function_definitions.complex_func_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000213, + "dEQP-GLES2.functional.shaders.preprocessor.function_", + "definitions.function_definition_with_comments_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000214, + "dEQP-GLES2.functional.shaders.preprocessor.function_d", + "efinitions.function_definition_with_comments_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp new file mode 100644 index 000000000..515e01aa1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000225, + "dEQP-GLES2.functional.shaders.preprocessor.funct", + "ion_redefinitions.function_redefinition_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000226, + "dEQP-GLES2.functional.shaders.preprocessor.functi", + "on_redefinitions.function_redefinition_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000227, + "dEQP-GLES2.functional.shaders.preprocessor.funct", + "ion_redefinitions.function_redefinition_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000228, + "dEQP-GLES2.functional.shaders.preprocessor.functi", + "on_redefinitions.function_redefinition_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000229, + "dEQP-GLES2.functional.shaders.preprocessor.funct", + "ion_redefinitions.function_redefinition_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000230, + "dEQP-GLES2.functional.shaders.preprocessor.functi", + "on_redefinitions.function_redefinition_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000231, + "dEQP-GLES2.functional.shaders.preprocessor.function_red", + "efinitions.invalid_function_redefinition_param_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000232, + "dEQP-GLES2.functional.shaders.preprocessor.function_rede", + "finitions.invalid_function_redefinition_param_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000233, + "dEQP-GLES2.functional.shaders.preprocessor.function_red", + "efinitions.invalid_function_redefinition_param_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000234, + "dEQP-GLES2.functional.shaders.preprocessor.function_rede", + "finitions.invalid_function_redefinition_param_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000235, + "dEQP-GLES2.functional.shaders.preprocessor.function_red", + "efinitions.invalid_function_redefinition_param_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000236, + "dEQP-GLES2.functional.shaders.preprocessor.function_rede", + "finitions.invalid_function_redefinition_param_3_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp new file mode 100644 index 000000000..122824862 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp @@ -0,0 +1,232 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000347, + "dEQP-GLES2.functional.shaders.preproces", + "sor.invalid_conditionals.empty_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000348, + "dEQP-GLES2.functional.shaders.preprocess", + "or.invalid_conditionals.empty_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000349, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.invalid_conditionals.empty_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000350, + "dEQP-GLES2.functional.shaders.preprocessor", + ".invalid_conditionals.empty_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000351, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.invalid_conditionals.empty_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000352, + "dEQP-GLES2.functional.shaders.preprocessor", + ".invalid_conditionals.empty_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000353, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.empty_if_defined_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000354, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.empty_if_defined_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000355, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.unterminated_if_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000356, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_if_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000357, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.unterminated_if_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000358, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_if_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000359, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.unterminated_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000360, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000361, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000362, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.unterminated_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000363, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_else_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000364, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.unterminated_else_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000365, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_else_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000366, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.unterminated_else_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000367, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_elif_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000368, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.unterminated_elif_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000369, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_elif_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000370, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.unterminated_elif_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000371, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.unterminated_elif_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000372, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.unterminated_elif_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000373, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.elif_after_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000374, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.elif_after_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000375, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.else_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000376, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.else_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000377, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.elif_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000378, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.elif_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000379, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.endif_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000380, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.endif_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000381, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.else_after_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000382, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.else_after_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000383, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.nested_elif_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000384, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_conditionals.nested_elif_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000385, + "dEQP-GLES2.functional.shaders.preproces", + "sor.invalid_conditionals.if_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000386, + "dEQP-GLES2.functional.shaders.preprocess", + "or.invalid_conditionals.if_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000387, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_conditionals.tokens_after_if_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000388, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.tokens_after_if_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000389, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.tokens_after_elif_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000390, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.tokens_after_elif_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000391, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.tokens_after_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000392, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.tokens_after_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000393, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.tokens_after_endif_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000394, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.tokens_after_endif_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000395, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_conditionals.tokens_after_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000396, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.tokens_after_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000397, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_conditionals.tokens_after_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000398, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_conditionals.tokens_after_ifndef_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp new file mode 100644 index 000000000..fc85db75f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000159, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_definitions.define_non_identifier_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000160, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_definitions.define_non_identifier_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000161, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_definitions.undef_non_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000162, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_definitions.undef_non_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000163, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_definitions.undef_non_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000164, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_definitions.undef_non_identifier_2_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp new file mode 100644 index 000000000..6b1a0624e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000543, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_expressions.invalid_unary_expr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000544, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_expressions.invalid_unary_expr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000545, + "dEQP-GLES2.functional.shaders.preprocessor.i", + "nvalid_expressions.invalid_binary_expr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000546, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_expressions.invalid_binary_expr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000547, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.invalid_expressions.missing_expr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000548, + "dEQP-GLES2.functional.shaders.preprocessor", + ".invalid_expressions.missing_expr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000549, + "dEQP-GLES2.functional.shaders.preprocessor", + ".invalid_expressions.invalid_expr_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000550, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_expressions.invalid_expr_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000551, + "dEQP-GLES2.functional.shaders.preprocessor", + ".invalid_expressions.invalid_expr_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000552, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_expressions.invalid_expr_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000553, + "dEQP-GLES2.functional.shaders.preprocessor", + ".invalid_expressions.invalid_expr_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000554, + "dEQP-GLES2.functional.shaders.preprocessor.", + "invalid_expressions.invalid_expr_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000555, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_expressions.unopened_parenthesis_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000556, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_expressions.unopened_parenthesis_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000557, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_expressions.unclosed_parenthesis_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000558, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_expressions.unclosed_parenthesis_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp new file mode 100644 index 000000000..b673ada9d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000237, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000238, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000239, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000240, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000241, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000242, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000243, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000244, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000245, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000246, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_5_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000247, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_6_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000248, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_6_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000249, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_7_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000250, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_7_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000251, + "dEQP-GLES2.functional.shaders.preprocessor.in", + "valid_function_definitions.arguments_8_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000252, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_function_definitions.arguments_8_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000253, + "dEQP-GLES2.functional.shaders.preprocessor.inval", + "id_function_definitions.unique_param_name_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000254, + "dEQP-GLES2.functional.shaders.preprocessor.invali", + "d_function_definitions.unique_param_name_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000255, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_function_definitions.argument_list_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000256, + "dEQP-GLES2.functional.shaders.preprocessor.inval", + "id_function_definitions.argument_list_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000257, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_function_definitions.argument_list_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000258, + "dEQP-GLES2.functional.shaders.preprocessor.inval", + "id_function_definitions.argument_list_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000259, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_function_definitions.argument_list_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000260, + "dEQP-GLES2.functional.shaders.preprocessor.inval", + "id_function_definitions.argument_list_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000261, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_", + "function_definitions.no_closing_parenthesis_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000262, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_f", + "unction_definitions.no_closing_parenthesis_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000263, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_", + "function_definitions.no_closing_parenthesis_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000264, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_f", + "unction_definitions.no_closing_parenthesis_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000265, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_", + "function_definitions.no_closing_parenthesis_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000266, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_f", + "unction_definitions.no_closing_parenthesis_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000267, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_", + "function_definitions.no_closing_parenthesis_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000268, + "dEQP-GLES2.functional.shaders.preprocessor.invalid_f", + "unction_definitions.no_closing_parenthesis_4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp new file mode 100644 index 000000000..328fb6350 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000301, + "dEQP-GLES2.functional.shaders.preproc", + "essor.invalid_ops.invalid_op_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000302, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.invalid_ops.invalid_op_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000303, + "dEQP-GLES2.functional.shaders.preproc", + "essor.invalid_ops.invalid_op_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000304, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.invalid_ops.invalid_op_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000305, + "dEQP-GLES2.functional.shaders.preprocessor.invali", + "d_ops.invalid_defined_expected_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000306, + "dEQP-GLES2.functional.shaders.preprocessor.invalid", + "_ops.invalid_defined_expected_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000307, + "dEQP-GLES2.functional.shaders.preprocessor.invali", + "d_ops.invalid_defined_expected_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000308, + "dEQP-GLES2.functional.shaders.preprocessor.invalid", + "_ops.invalid_defined_expected_identifier_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000309, + "dEQP-GLES2.functional.shaders.preprocessor.invali", + "d_ops.invalid_defined_expected_identifier_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000310, + "dEQP-GLES2.functional.shaders.preprocessor.invalid", + "_ops.invalid_defined_expected_identifier_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000311, + "dEQP-GLES2.functional.shaders.preprocessor.invali", + "d_ops.invalid_defined_expected_identifier_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000312, + "dEQP-GLES2.functional.shaders.preprocessor.invalid", + "_ops.invalid_defined_expected_identifier_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000313, + "dEQP-GLES2.functional.shaders.preprocessor.invali", + "d_ops.invalid_defined_expected_identifier_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000314, + "dEQP-GLES2.functional.shaders.preprocessor.invalid", + "_ops.invalid_defined_expected_identifier_5_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000315, + "dEQP-GLES2.functional.shaders.preprocessor.inv", + "alid_ops.invalid_defined_expected_rparen_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000316, + "dEQP-GLES2.functional.shaders.preprocessor.inva", + "lid_ops.invalid_defined_expected_rparen_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000317, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.invalid_ops.defined_define_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000318, + "dEQP-GLES2.functional.shaders.preproces", + "sor.invalid_ops.defined_define_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp new file mode 100644 index 000000000..45a9fd66c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp @@ -0,0 +1,144 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000165, + "dEQP-GLES2.functional.shaders.preprocessor.ob", + "ject_redefinitions.invalid_object_ident_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000166, + "dEQP-GLES2.functional.shaders.preprocessor.obj", + "ect_redefinitions.invalid_object_ident_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000167, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.invalid_object_whitespace_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000168, + "dEQP-GLES2.functional.shaders.preprocessor.object", + "_redefinitions.invalid_object_whitespace_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000169, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "bject_redefinitions.invalid_object_op_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000170, + "dEQP-GLES2.functional.shaders.preprocessor.ob", + "ject_redefinitions.invalid_object_op_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000171, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.invalid_object_floatval_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000172, + "dEQP-GLES2.functional.shaders.preprocessor.object", + "_redefinitions.invalid_object_floatval_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000173, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.invalid_object_floatval_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000174, + "dEQP-GLES2.functional.shaders.preprocessor.object", + "_redefinitions.invalid_object_floatval_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000175, + "dEQP-GLES2.functional.shaders.preprocessor.obje", + "ct_redefinitions.invalid_object_intval_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000176, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.invalid_object_intval_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000177, + "dEQP-GLES2.functional.shaders.preprocessor.obje", + "ct_redefinitions.invalid_object_intval_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000178, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.invalid_object_intval_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000179, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "bject_redefinitions.redefine_object_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000180, + "dEQP-GLES2.functional.shaders.preprocessor.ob", + "ject_redefinitions.redefine_object_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000181, + "dEQP-GLES2.functional.shaders.preprocessor.obj", + "ect_redefinitions.redefine_object_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000182, + "dEQP-GLES2.functional.shaders.preprocessor.obje", + "ct_redefinitions.redefine_object_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000183, + "dEQP-GLES2.functional.shaders.preprocessor.object", + "_redefinitions.redefine_object_undef_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000184, + "dEQP-GLES2.functional.shaders.preprocessor.object_", + "redefinitions.redefine_object_undef_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000185, + "dEQP-GLES2.functional.shaders.preprocessor.obj", + "ect_redefinitions.redefine_object_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000186, + "dEQP-GLES2.functional.shaders.preprocessor.obje", + "ct_redefinitions.redefine_object_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000187, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.redefine_object_defined_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000188, + "dEQP-GLES2.functional.shaders.preprocessor.object", + "_redefinitions.redefine_object_defined_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000189, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.redefine_object_defined_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000190, + "dEQP-GLES2.functional.shaders.preprocessor.object", + "_redefinitions.redefine_object_defined_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000191, + "dEQP-GLES2.functional.shaders.preprocessor.obje", + "ct_redefinitions.redefine_object_comment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000192, + "dEQP-GLES2.functional.shaders.preprocessor.objec", + "t_redefinitions.redefine_object_comment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000193, + "dEQP-GLES2.functional.shaders.preprocessor.object_re", + "definitions.redefine_object_multiline_comment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000194, + "dEQP-GLES2.functional.shaders.preprocessor.object_red", + "efinitions.redefine_object_multiline_comment_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp new file mode 100644 index 000000000..5103912a6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp @@ -0,0 +1,384 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000559, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.modulo_vs_not_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000560, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.modulo_vs_not_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000561, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.div_vs_not_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000562, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.div_vs_not_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000563, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.mul_vs_not_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000564, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.mul_vs_not_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000565, + "dEQP-GLES2.functional.shaders.preprocessor.op", + "erator_precedence.modulo_vs_bit_invert_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000566, + "dEQP-GLES2.functional.shaders.preprocessor.ope", + "rator_precedence.modulo_vs_bit_invert_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000567, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.modulo_vs_minus_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000568, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.modulo_vs_minus_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000569, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.modulo_vs_plus_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000570, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.modulo_vs_plus_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000571, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.div_vs_bit_invert_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000572, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.div_vs_bit_invert_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000573, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.div_vs_minus_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000574, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.div_vs_minus_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000575, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.div_vs_plus_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000576, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.div_vs_plus_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000577, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.mul_vs_bit_invert_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000578, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.mul_vs_bit_invert_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000579, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.mul_vs_minus_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000580, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.mul_vs_minus_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000581, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.mul_vs_plus_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000582, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.mul_vs_plus_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000583, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.sub_vs_modulo_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000584, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.sub_vs_modulo_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000585, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.sub_vs_div_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000586, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.sub_vs_div_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000587, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.sub_vs_mul_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000588, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.sub_vs_mul_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000589, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.add_vs_modulo_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000590, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.add_vs_modulo_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000591, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.add_vs_div_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000592, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.add_vs_div_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000593, + "dEQP-GLES2.functional.shaders.preprocess", + "or.operator_precedence.add_vs_mul_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000594, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.add_vs_mul_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000595, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.rshift_vs_sub_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000596, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.rshift_vs_sub_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000597, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.rshift_vs_add_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000598, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.rshift_vs_add_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000599, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.lshift_vs_sub_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000600, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.lshift_vs_sub_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000601, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.lshift_vs_add_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000602, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.lshift_vs_add_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000603, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.greater_or_equal_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000604, + "dEQP-GLES2.functional.shaders.preprocessor.operat", + "or_precedence.greater_or_equal_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000605, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.greater_or_equal_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000606, + "dEQP-GLES2.functional.shaders.preprocessor.operat", + "or_precedence.greater_or_equal_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000607, + "dEQP-GLES2.functional.shaders.preprocessor.ope", + "rator_precedence.less_or_equal_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000608, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.less_or_equal_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000609, + "dEQP-GLES2.functional.shaders.preprocessor.ope", + "rator_precedence.less_or_equal_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000610, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.less_or_equal_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000611, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.greater_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000612, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.greater_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000613, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.greater_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000614, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.greater_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000615, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.less_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000616, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.less_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000617, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.less_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000618, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.less_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000619, + "dEQP-GLES2.functional.shaders.preprocessor.operat", + "or_precedence.not_equal_vs_greater_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000620, + "dEQP-GLES2.functional.shaders.preprocessor.operato", + "r_precedence.not_equal_vs_greater_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000621, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.not_equal_vs_less_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000622, + "dEQP-GLES2.functional.shaders.preprocessor.operat", + "or_precedence.not_equal_vs_less_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000623, + "dEQP-GLES2.functional.shaders.preprocessor.op", + "erator_precedence.not_equal_vs_greater_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000624, + "dEQP-GLES2.functional.shaders.preprocessor.ope", + "rator_precedence.not_equal_vs_greater_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000625, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.not_equal_vs_less_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000626, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.not_equal_vs_less_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000627, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.equal_vs_greater_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000628, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.equal_vs_greater_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000629, + "dEQP-GLES2.functional.shaders.preprocessor.ope", + "rator_precedence.equal_vs_less_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000630, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.equal_vs_less_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000631, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.equal_vs_greater_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000632, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.equal_vs_greater_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000633, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.operator_precedence.equal_vs_less_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000634, + "dEQP-GLES2.functional.shaders.preprocessor", + ".operator_precedence.equal_vs_less_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000635, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.bitwise_and_vs_not_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000636, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.bitwise_and_vs_not_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000637, + "dEQP-GLES2.functional.shaders.preprocessor.op", + "erator_precedence.bitwise_and_vs_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000638, + "dEQP-GLES2.functional.shaders.preprocessor.ope", + "rator_precedence.bitwise_and_vs_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000639, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.xor_vs_bitwise_and_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000640, + "dEQP-GLES2.functional.shaders.preprocessor.op", + "erator_precedence.xor_vs_bitwise_and_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000641, + "dEQP-GLES2.functional.shaders.preprocessor.", + "operator_precedence.bitwise_or_vs_xor_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000642, + "dEQP-GLES2.functional.shaders.preprocessor.o", + "perator_precedence.bitwise_or_vs_xor_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000643, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.logical_and_vs_bitwise_or_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000644, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.logical_and_vs_bitwise_or_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000645, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.logical_and_vs_bitwise_and_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000646, + "dEQP-GLES2.functional.shaders.preprocessor.operat", + "or_precedence.logical_and_vs_bitwise_and_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000647, + "dEQP-GLES2.functional.shaders.preprocessor.oper", + "ator_precedence.logical_or_vs_logical_and_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000648, + "dEQP-GLES2.functional.shaders.preprocessor.opera", + "tor_precedence.logical_or_vs_logical_and_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_pragmasTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_pragmasTestCase.cpp new file mode 100644 index 000000000..bb1dacc95 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_pragmasTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000459, + "dEQP-GLES2.functional.shaders.pr", + "eprocessor.pragmas.pragma_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000460, + "dEQP-GLES2.functional.shaders.pre", + "processor.pragmas.pragma_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000461, + "dEQP-GLES2.functional.shaders.preproc", + "essor.pragmas.pragma_macro_exp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000462, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.pragmas.pragma_macro_exp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000463, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.pragmas.pragma_unrecognized_debug_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000464, + "dEQP-GLES2.functional.shaders.preprocessor", + ".pragmas.pragma_unrecognized_debug_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000465, + "dEQP-GLES2.functional.shaders.preprocesso", + "r.pragmas.pragma_unrecognized_token_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000466, + "dEQP-GLES2.functional.shaders.preprocessor", + ".pragmas.pragma_unrecognized_token_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp new file mode 100644 index 000000000..5a2735443 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000273, + "dEQP-GLES2.functional.shaders.preproc", + "essor.predefined_macros.version_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000274, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.predefined_macros.version_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000275, + "dEQP-GLES2.functional.shaders.preproc", + "essor.predefined_macros.gl_es_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000276, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.predefined_macros.gl_es_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000277, + "dEQP-GLES2.functional.shaders.preproc", + "essor.predefined_macros.gl_es_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000278, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.predefined_macros.gl_es_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000279, + "dEQP-GLES2.functional.shaders.preproc", + "essor.predefined_macros.line_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000280, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.predefined_macros.line_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000281, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.predefined_macros.file_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000282, + "dEQP-GLES2.functional.shaders.preproc", + "essor.predefined_macros.file_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000283, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.predefined_macros.if_gl_es_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000284, + "dEQP-GLES2.functional.shaders.preproces", + "sor.predefined_macros.if_gl_es_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000285, + "dEQP-GLES2.functional.shaders.preproces", + "sor.predefined_macros.if_version_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000286, + "dEQP-GLES2.functional.shaders.preprocess", + "or.predefined_macros.if_version_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_recursionTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_recursionTestCase.cpp new file mode 100644 index 000000000..ad5813a7f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_recursionTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000215, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.recursion.recursion_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000216, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.recursion.recursion_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000217, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.recursion.recursion_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000218, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.recursion.recursion_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000219, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.recursion.recursion_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000220, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.recursion.recursion_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000221, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.recursion.recursion_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000222, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.recursion.recursion_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000223, + "dEQP-GLES2.functional.shaders.prepr", + "ocessor.recursion.recursion_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000224, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.recursion.recursion_5_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_semanticTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_semanticTestCase.cpp new file mode 100644 index 000000000..5aa34d643 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_semanticTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000269, + "dEQP-GLES2.functional.shaders.preproc", + "essor.semantic.ops_as_arguments_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000270, + "dEQP-GLES2.functional.shaders.preproce", + "ssor.semantic.ops_as_arguments_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000271, + "dEQP-GLES2.functional.shaders.prepro", + "cessor.semantic.correct_order_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000272, + "dEQP-GLES2.functional.shaders.preproc", + "essor.semantic.correct_order_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp new file mode 100644 index 000000000..fcd9fd8a2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp @@ -0,0 +1,136 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000319, + "dEQP-GLES2.functional.shaders.preprocessor.undefin", + "ed_identifiers.valid_undefined_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000320, + "dEQP-GLES2.functional.shaders.preprocessor.undefine", + "d_identifiers.valid_undefined_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000321, + "dEQP-GLES2.functional.shaders.preprocessor.undefin", + "ed_identifiers.valid_undefined_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000322, + "dEQP-GLES2.functional.shaders.preprocessor.undefine", + "d_identifiers.valid_undefined_identifier_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000323, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000324, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000325, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000326, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000327, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000328, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000329, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000330, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000331, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000332, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_5_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000333, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_6_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000334, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_6_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000335, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_7_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000336, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_7_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000337, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_8_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000338, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_8_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000339, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_9_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000340, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_9_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000341, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_10_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000342, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_10_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000343, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_11_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000344, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_11_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000345, + "dEQP-GLES2.functional.shaders.preprocessor.unde", + "fined_identifiers.undefined_identifier_12_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000346, + "dEQP-GLES2.functional.shaders.preprocessor.undef", + "ined_identifiers.undefined_identifier_12_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_cullingTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_cullingTestCase.cpp new file mode 100644 index 000000000..dced67db7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_cullingTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013890, + "dEQP-GLES2.functional.rasteri", + "zation.culling.front_triangles"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013891, + "dEQP-GLES2.functional.rasterizati", + "on.culling.front_triangles_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013892, + "dEQP-GLES2.functional.rasterizat", + "ion.culling.front_triangle_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013893, + "dEQP-GLES2.functional.rasterization.", + "culling.front_triangle_strip_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013894, + "dEQP-GLES2.functional.rasteriza", + "tion.culling.front_triangle_fan"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013895, + "dEQP-GLES2.functional.rasterization", + ".culling.front_triangle_fan_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013896, + "dEQP-GLES2.functional.rasteri", + "zation.culling.back_triangles"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013897, + "dEQP-GLES2.functional.rasterizati", + "on.culling.back_triangles_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013898, + "dEQP-GLES2.functional.rasteriza", + "tion.culling.back_triangle_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013899, + "dEQP-GLES2.functional.rasterization", + ".culling.back_triangle_strip_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013900, + "dEQP-GLES2.functional.rasteriz", + "ation.culling.back_triangle_fan"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013901, + "dEQP-GLES2.functional.rasterizatio", + "n.culling.back_triangle_fan_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013902, + "dEQP-GLES2.functional.rasteri", + "zation.culling.both_triangles"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013903, + "dEQP-GLES2.functional.rasterizati", + "on.culling.both_triangles_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013904, + "dEQP-GLES2.functional.rasteriza", + "tion.culling.both_triangle_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013905, + "dEQP-GLES2.functional.rasterization", + ".culling.both_triangle_strip_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013906, + "dEQP-GLES2.functional.rasteriz", + "ation.culling.both_triangle_fan"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013907, + "dEQP-GLES2.functional.rasterizatio", + "n.culling.both_triangle_fan_reverse"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_fill_rulesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_fill_rulesTestCase.cpp new file mode 100644 index 000000000..f50d6ad0f --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_fill_rulesTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013885, + "dEQP-GLES2.functional.raster", + "ization.fill_rules.basic_quad"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013886, + "dEQP-GLES2.functional.rasterizat", + "ion.fill_rules.basic_quad_reverse"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013887, + "dEQP-GLES2.functional.rasteri", + "zation.fill_rules.clipped_full"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013888, + "dEQP-GLES2.functional.rasteriz", + "ation.fill_rules.clipped_partly"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013889, + "dEQP-GLES2.functional.raster", + "ization.fill_rules.projected"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_limitsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_limitsTestCase.cpp new file mode 100644 index 000000000..615d547d5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_limitsTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013884, + "dEQP-GLES2.functional.ra", + "sterization.limits.points"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_primitivesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_primitivesTestCase.cpp new file mode 100644 index 000000000..25ccd12bb --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rasterization_primitivesTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013874, + "dEQP-GLES2.functional.raster", + "ization.primitives.triangles"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013875, + "dEQP-GLES2.functional.rasteriz", + "ation.primitives.triangle_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013876, + "dEQP-GLES2.functional.rasteri", + "zation.primitives.triangle_fan"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013877, + "dEQP-GLES2.functional.rast", + "erization.primitives.lines"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013878, + "dEQP-GLES2.functional.raster", + "ization.primitives.line_strip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013879, + "dEQP-GLES2.functional.raster", + "ization.primitives.line_loop"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013880, + "dEQP-GLES2.functional.raster", + "ization.primitives.lines_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013881, + "dEQP-GLES2.functional.rasteriza", + "tion.primitives.line_strip_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013882, + "dEQP-GLES2.functional.rasteriz", + "ation.primitives.line_loop_wide"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013883, + "dEQP-GLES2.functional.rast", + "erization.primitives.points"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_array_in_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_array_in_structTestCase.cpp new file mode 100644 index 000000000..10496d3ee --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_array_in_structTestCase.cpp @@ -0,0 +1,180 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014408, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014409, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.render.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014410, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014411, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014412, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014413, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014414, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014415, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014416, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014417, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014418, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.render.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014419, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014734, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014735, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.render.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014736, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014737, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.array_in_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014738, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.array_in_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014739, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.array_in_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014740, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014741, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014742, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014743, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014744, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.render.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014745, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014746, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.render.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014747, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.render.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014748, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.render.array_in_struct.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015020, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.render.array_in_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015021, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.render.array_in_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015022, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.array_in_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015023, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.array_in_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015024, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.render.array_in_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015025, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.array_in_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015026, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.render.array_in_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015027, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.render.array_in_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015028, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.array_in_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015029, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.render.array_in_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015030, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", + "ue.render.array_in_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015031, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.render.array_in_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basicTestCase.cpp new file mode 100644 index 000000000..0a63819cb --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basicTestCase.cpp @@ -0,0 +1,600 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014309, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014310, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014311, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014312, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014313, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014314, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014315, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014316, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014317, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014318, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014319, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014320, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014321, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014322, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014323, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014324, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014325, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014326, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.mat3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014327, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014328, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014329, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014330, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014331, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014332, + "dEQP-GLES2.functional.uniform_api.", + "value.initial.render.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014333, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014334, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014335, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014336, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014337, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014338, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014339, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014340, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014341, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014342, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014343, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014344, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014345, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014346, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014347, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.bvec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014348, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014349, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014350, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.bvec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014351, + "dEQP-GLES2.functional.uniform_api.va", + "lue.initial.render.basic.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014352, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014353, + "dEQP-GLES2.functional.uniform_api.v", + "alue.initial.render.basic.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014354, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014355, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014356, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014357, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014358, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014359, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic.samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014629, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014630, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014631, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014632, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014633, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014634, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014635, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014636, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014637, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014638, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014639, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014640, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014641, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014642, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014643, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014644, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.mat3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014645, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.mat3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014646, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.mat3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014647, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014648, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014649, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014650, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014651, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014652, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_pointer.render.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014653, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014654, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014655, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014656, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014657, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014658, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014659, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014660, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014661, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014662, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014663, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014664, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014665, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014666, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014667, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.bvec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014668, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014669, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014670, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.bvec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014671, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_pointer.render.basic.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014672, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014673, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_pointer.render.basic.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014674, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014675, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014676, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014677, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014678, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014679, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic.samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014933, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014934, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014935, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014936, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014937, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014938, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.vec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014939, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014940, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014941, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.vec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014942, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014943, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014944, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014945, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014946, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014947, + "dEQP-GLES2.functional.uniform_api.value", + ".assigned.by_value.render.basic.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014948, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014949, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014950, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.ivec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014951, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014952, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014953, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.ivec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014954, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014955, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014956, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014957, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014958, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014959, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014960, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.bvec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014961, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.bvec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014962, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.bvec2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014963, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.bvec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014964, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.bvec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014965, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.bvec3_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014966, + "dEQP-GLES2.functional.uniform_api.value.a", + "ssigned.by_value.render.basic.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014967, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014968, + "dEQP-GLES2.functional.uniform_api.value.", + "assigned.by_value.render.basic.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014969, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014970, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014971, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014972, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic.samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014973, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic.samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014974, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic.samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_arrayTestCase.cpp new file mode 100644 index 000000000..e25dee0dc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_arrayTestCase.cpp @@ -0,0 +1,300 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014360, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014361, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014362, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014363, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014364, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014365, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014366, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014367, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014368, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014369, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014370, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014371, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014372, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014373, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014374, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014375, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014376, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014377, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014378, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.basic_array.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014379, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014380, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.basic_array.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014381, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.render.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014382, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014383, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.basic_array.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014680, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014681, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014682, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014683, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014684, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014685, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014686, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.mat4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014687, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.mat4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014688, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.mat4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014689, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014690, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014691, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014692, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014693, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014694, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014695, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014696, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014697, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014698, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.basic_array.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014699, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014700, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.basic_array.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014701, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.render.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014702, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014703, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.basic_array.sampler2D_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014975, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic_array.float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014976, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic_array.float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014977, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic_array.float_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014978, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic_array.vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014979, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic_array.vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014980, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic_array.vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014981, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic_array.int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014982, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic_array.int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014983, + "dEQP-GLES2.functional.uniform_api.value.as", + "signed.by_value.render.basic_array.int_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014984, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic_array.ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014985, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic_array.ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014986, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic_array.ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014987, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic_array.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014988, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic_array.bool_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014989, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic_array.bool_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014990, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_value.render.basic_array.bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014991, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic_array.bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014992, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_value.render.basic_array.bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014993, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.render.basic_array.sampler2D_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014994, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.basic_array.sampler2D_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014995, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.basic_array.sampler2D_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_structTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_structTestCase.cpp new file mode 100644 index 000000000..bb153ba38 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_basic_structTestCase.cpp @@ -0,0 +1,180 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014384, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014385, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014386, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.render.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014387, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.basic_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014388, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.basic_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014389, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.render.basic_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014390, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014391, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014392, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.render.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014393, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014394, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014395, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.render.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014704, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014705, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014706, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.render.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014707, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.basic_struct.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014708, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.basic_struct.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014709, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.render.basic_struct.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014710, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014711, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014712, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.render.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014713, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014714, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014715, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.render.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014716, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.render.basic_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014717, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.render.basic_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014718, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.render.basic_struct.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014996, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.basic_struct.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014997, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.basic_struct.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014998, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.render.basic_struct.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014999, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.basic_struct.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015000, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.basic_struct.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015001, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.render.basic_struct.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015002, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.basic_struct.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015003, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.basic_struct.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015004, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.render.basic_struct.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015005, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.render.basic_struct.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015006, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.render.basic_struct.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015007, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.render.basic_struct.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_colorTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_colorTestCase.cpp new file mode 100644 index 000000000..50c0c45b2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_colorTestCase.cpp @@ -0,0 +1,136 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012462, + "dEQP-GLES2.functional.fbo.", + "render.color.mix_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012463, + "dEQP-GLES2.functional.fbo.render.co", + "lor.mix_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012464, + "dEQP-GLES2.functional.fbo.", + "render.color.mix_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012465, + "dEQP-GLES2.functional.fbo.render.co", + "lor.mix_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012466, + "dEQP-GLES2.functional.fbo.re", + "nder.color.mix_npot_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012467, + "dEQP-GLES2.functional.fbo.render.colo", + "r.mix_npot_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012468, + "dEQP-GLES2.functional.fbo.ren", + "der.color.mix_npot_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012469, + "dEQP-GLES2.functional.fbo.render.color", + ".mix_npot_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012470, + "dEQP-GLES2.functional.fbo.r", + "ender.color.blend_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012471, + "dEQP-GLES2.functional.fbo.render.col", + "or.blend_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012472, + "dEQP-GLES2.functional.fbo.r", + "ender.color.blend_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012473, + "dEQP-GLES2.functional.fbo.render.col", + "or.blend_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012474, + "dEQP-GLES2.functional.fbo.r", + "ender.color.blend_rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012475, + "dEQP-GLES2.functional.fbo.render.col", + "or.blend_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012476, + "dEQP-GLES2.functional.fbo.re", + "nder.color.blend_rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012477, + "dEQP-GLES2.functional.fbo.render.colo", + "r.blend_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012478, + "dEQP-GLES2.functional.fbo.r", + "ender.color.blend_rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012479, + "dEQP-GLES2.functional.fbo.render.col", + "or.blend_rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012480, + "dEQP-GLES2.functional.fbo.ren", + "der.color.blend_npot_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012481, + "dEQP-GLES2.functional.fbo.render.color", + ".blend_npot_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012482, + "dEQP-GLES2.functional.fbo.rend", + "er.color.blend_npot_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012483, + "dEQP-GLES2.functional.fbo.render.color.", + "blend_npot_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012484, + "dEQP-GLES2.functional.fbo.rend", + "er.color.blend_npot_rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012485, + "dEQP-GLES2.functional.fbo.render.color.", + "blend_npot_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012486, + "dEQP-GLES2.functional.fbo.rend", + "er.color.blend_npot_rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012487, + "dEQP-GLES2.functional.fbo.render.color.", + "blend_npot_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012488, + "dEQP-GLES2.functional.fbo.ren", + "der.color.blend_npot_rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012489, + "dEQP-GLES2.functional.fbo.render.color", + ".blend_npot_rbo_rgba4_depth_component16"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_color_clearTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_color_clearTestCase.cpp new file mode 100644 index 000000000..89ae56d23 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_color_clearTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012432, + "dEQP-GLES2.functional.fbo.r", + "ender.color_clear.tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012433, + "dEQP-GLES2.functional.fbo.render.c", + "olor_clear.tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012434, + "dEQP-GLES2.functional.fbo.render.col", + "or_clear.tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012435, + "dEQP-GLES2.functional.fbo.render.color_clea", + "r.tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012436, + "dEQP-GLES2.functional.fbo.r", + "ender.color_clear.tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012437, + "dEQP-GLES2.functional.fbo.render.co", + "lor_clear.tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012438, + "dEQP-GLES2.functional.fbo.render.col", + "or_clear.tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012439, + "dEQP-GLES2.functional.fbo.render.color_clear", + ".tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012440, + "dEQP-GLES2.functional.fbo.r", + "ender.color_clear.rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012441, + "dEQP-GLES2.functional.fbo.render.co", + "lor_clear.rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012442, + "dEQP-GLES2.functional.fbo.render.col", + "or_clear.rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012443, + "dEQP-GLES2.functional.fbo.render.color_clear", + ".rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012444, + "dEQP-GLES2.functional.fbo.re", + "nder.color_clear.rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012445, + "dEQP-GLES2.functional.fbo.render.co", + "lor_clear.rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012446, + "dEQP-GLES2.functional.fbo.render.colo", + "r_clear.rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012447, + "dEQP-GLES2.functional.fbo.render.color_clear", + ".rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012448, + "dEQP-GLES2.functional.fbo.r", + "ender.color_clear.rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012449, + "dEQP-GLES2.functional.fbo.render.c", + "olor_clear.rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012450, + "dEQP-GLES2.functional.fbo.render.col", + "or_clear.rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012451, + "dEQP-GLES2.functional.fbo.render.color_clea", + "r.rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp new file mode 100644 index 000000000..71dbc42fd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_depthTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012490, + "dEQP-GLES2.functional.fbo.render.", + "depth.tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012491, + "dEQP-GLES2.functional.fbo.render.", + "depth.tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012492, + "dEQP-GLES2.functional.fbo.render.", + "depth.rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012493, + "dEQP-GLES2.functional.fbo.render.d", + "epth.rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012494, + "dEQP-GLES2.functional.fbo.render.", + "depth.rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012495, + "dEQP-GLES2.functional.fbo.render.de", + "pth.npot_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012496, + "dEQP-GLES2.functional.fbo.render.dep", + "th.npot_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012497, + "dEQP-GLES2.functional.fbo.render.dep", + "th.npot_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012498, + "dEQP-GLES2.functional.fbo.render.dep", + "th.npot_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012499, + "dEQP-GLES2.functional.fbo.render.de", + "pth.npot_rbo_rgba4_depth_component16"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basicTestCase.cpp new file mode 100644 index 000000000..3f7445477 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basicTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014430, + "dEQP-GLES2.functional.uniform_api.valu", + "e.initial.render.multiple_basic.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014431, + "dEQP-GLES2.functional.uniform_api.value", + ".initial.render.multiple_basic.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014432, + "dEQP-GLES2.functional.uniform_api.val", + "ue.initial.render.multiple_basic.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014762, + "dEQP-GLES2.functional.uniform_api.value.assi", + "gned.by_pointer.render.multiple_basic.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014763, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_pointer.render.multiple_basic.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014764, + "dEQP-GLES2.functional.uniform_api.value.ass", + "igned.by_pointer.render.multiple_basic.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp new file mode 100644 index 000000000..fa928ba34 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_basic_arrayTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014433, + "dEQP-GLES2.functional.uniform_api.value.i", + "nitial.render.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014434, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014435, + "dEQP-GLES2.functional.uniform_api.value.", + "initial.render.multiple_basic_array.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014765, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_pointer.render.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014766, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014767, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_pointer.render.multiple_basic_array.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015044, + "dEQP-GLES2.functional.uniform_api.value.assign", + "ed.by_value.render.multiple_basic_array.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015045, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.multiple_basic_array.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015046, + "dEQP-GLES2.functional.uniform_api.value.assig", + "ned.by_value.render.multiple_basic_array.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..40079e6dc --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_multiple_nested_structs_arraysTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014436, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.render.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014437, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".render.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014438, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.render.multiple_nested_structs_arrays.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014768, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.render.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014769, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.render.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014770, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.render.multiple_nested_structs_arrays.both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015047, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.render.multiple_nested_structs_arrays.vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015048, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.render.multiple_nested_structs_arrays.fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015049, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.render.multiple_nested_structs_arrays.both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..c2d83e0d4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_nested_structs_arraysTestCase.cpp @@ -0,0 +1,164 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014420, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".render.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014421, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "render.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014422, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.render.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014423, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".render.nested_structs_arrays.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014424, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.render.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014425, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".render.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014426, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.render.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014427, + "dEQP-GLES2.functional.uniform_api.value.initial", + ".render.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014428, + "dEQP-GLES2.functional.uniform_api.value.initial.", + "render.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014429, + "dEQP-GLES2.functional.uniform_api.value.initia", + "l.render.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014749, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.render.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014750, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.render.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014751, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.render.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014752, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.render.nested_structs_arrays.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014753, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.render.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014754, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.render.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014755, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.render.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014756, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_p", + "ointer.render.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014757, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.render.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014758, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "pointer.render.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014759, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointe", + "r.render.nested_structs_arrays.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014760, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer", + ".render.nested_structs_arrays.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014761, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_point", + "er.render.nested_structs_arrays.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015032, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.render.nested_structs_arrays.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015033, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.render.nested_structs_arrays.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015034, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.render.nested_structs_arrays.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015035, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.render.nested_structs_arrays.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015036, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.render.nested_structs_arrays.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015037, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.render.nested_structs_arrays.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015038, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_", + "value.render.nested_structs_arrays.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015039, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.render.nested_structs_arrays.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015040, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_value.render.nested_structs_arrays.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015041, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value", + ".render.nested_structs_arrays.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015042, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_value.", + "render.nested_structs_arrays.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015043, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_valu", + "e.render.nested_structs_arrays.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_colorbufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_colorbufferTestCase.cpp new file mode 100644 index 000000000..a45eb6573 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_colorbufferTestCase.cpp @@ -0,0 +1,184 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012575, + "dEQP-GLES2.functional.fbo.render.re", + "create_colorbuffer.rebind_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012576, + "dEQP-GLES2.functional.fbo.render.recreate_", + "colorbuffer.rebind_tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012577, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.rebind_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012578, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuff", + "er.rebind_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012579, + "dEQP-GLES2.functional.fbo.render.re", + "create_colorbuffer.rebind_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012580, + "dEQP-GLES2.functional.fbo.render.recreate_c", + "olorbuffer.rebind_tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012581, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.rebind_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012582, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffe", + "r.rebind_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012583, + "dEQP-GLES2.functional.fbo.render.re", + "create_colorbuffer.rebind_rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012584, + "dEQP-GLES2.functional.fbo.render.recreate_c", + "olorbuffer.rebind_rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012585, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.rebind_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012586, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffe", + "r.rebind_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012587, + "dEQP-GLES2.functional.fbo.render.rec", + "reate_colorbuffer.rebind_rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012588, + "dEQP-GLES2.functional.fbo.render.recreate_c", + "olorbuffer.rebind_rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012589, + "dEQP-GLES2.functional.fbo.render.recreate_col", + "orbuffer.rebind_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012590, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffe", + "r.rebind_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012591, + "dEQP-GLES2.functional.fbo.render.re", + "create_colorbuffer.rebind_rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012592, + "dEQP-GLES2.functional.fbo.render.recreate_", + "colorbuffer.rebind_rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012593, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.rebind_rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012594, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuff", + "er.rebind_rbo_rgba4_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012595, + "dEQP-GLES2.functional.fbo.render.rec", + "reate_colorbuffer.no_rebind_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012596, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.no_rebind_tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012597, + "dEQP-GLES2.functional.fbo.render.recreate_col", + "orbuffer.no_rebind_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012598, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffer", + ".no_rebind_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012599, + "dEQP-GLES2.functional.fbo.render.recr", + "eate_colorbuffer.no_rebind_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012600, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.no_rebind_tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012601, + "dEQP-GLES2.functional.fbo.render.recreate_colo", + "rbuffer.no_rebind_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012602, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffer", + ".no_rebind_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012603, + "dEQP-GLES2.functional.fbo.render.recr", + "eate_colorbuffer.no_rebind_rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012604, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.no_rebind_rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012605, + "dEQP-GLES2.functional.fbo.render.recreate_colo", + "rbuffer.no_rebind_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012606, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffer", + ".no_rebind_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012607, + "dEQP-GLES2.functional.fbo.render.recr", + "eate_colorbuffer.no_rebind_rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012608, + "dEQP-GLES2.functional.fbo.render.recreate_col", + "orbuffer.no_rebind_rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012609, + "dEQP-GLES2.functional.fbo.render.recreate_colo", + "rbuffer.no_rebind_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012610, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffer.", + "no_rebind_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012611, + "dEQP-GLES2.functional.fbo.render.rec", + "reate_colorbuffer.no_rebind_rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012612, + "dEQP-GLES2.functional.fbo.render.recreate_co", + "lorbuffer.no_rebind_rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012613, + "dEQP-GLES2.functional.fbo.render.recreate_col", + "orbuffer.no_rebind_rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012614, + "dEQP-GLES2.functional.fbo.render.recreate_colorbuffer", + ".no_rebind_rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_depthbufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_depthbufferTestCase.cpp new file mode 100644 index 000000000..c1c635e25 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_depthbufferTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012615, + "dEQP-GLES2.functional.fbo.render.recreate_de", + "pthbuffer.rebind_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012616, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuff", + "er.rebind_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012617, + "dEQP-GLES2.functional.fbo.render.recreate_de", + "pthbuffer.rebind_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012618, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffe", + "r.rebind_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012619, + "dEQP-GLES2.functional.fbo.render.recreate_de", + "pthbuffer.rebind_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012620, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffe", + "r.rebind_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012621, + "dEQP-GLES2.functional.fbo.render.recreate_dep", + "thbuffer.rebind_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012622, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffe", + "r.rebind_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012623, + "dEQP-GLES2.functional.fbo.render.recreate_de", + "pthbuffer.rebind_rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012624, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuff", + "er.rebind_rbo_rgba4_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012625, + "dEQP-GLES2.functional.fbo.render.recreate_dep", + "thbuffer.no_rebind_tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012626, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer", + ".no_rebind_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012627, + "dEQP-GLES2.functional.fbo.render.recreate_dept", + "hbuffer.no_rebind_tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012628, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer", + ".no_rebind_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012629, + "dEQP-GLES2.functional.fbo.render.recreate_dept", + "hbuffer.no_rebind_rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012630, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer", + ".no_rebind_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012631, + "dEQP-GLES2.functional.fbo.render.recreate_dept", + "hbuffer.no_rebind_rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012632, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer.", + "no_rebind_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012633, + "dEQP-GLES2.functional.fbo.render.recreate_dep", + "thbuffer.no_rebind_rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012634, + "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer", + ".no_rebind_rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_stencilbufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_stencilbufferTestCase.cpp new file mode 100644 index 000000000..73e6e8b2a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_recreate_stencilbufferTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012635, + "dEQP-GLES2.functional.fbo.render.recreate_s", + "tencilbuffer.rebind_tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012636, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuf", + "fer.rebind_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012637, + "dEQP-GLES2.functional.fbo.render.recreate_st", + "encilbuffer.rebind_tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012638, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuff", + "er.rebind_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012639, + "dEQP-GLES2.functional.fbo.render.recreate_st", + "encilbuffer.rebind_rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012640, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuff", + "er.rebind_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012641, + "dEQP-GLES2.functional.fbo.render.recreate_st", + "encilbuffer.rebind_rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012642, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuff", + "er.rebind_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012643, + "dEQP-GLES2.functional.fbo.render.recreate_s", + "tencilbuffer.rebind_rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012644, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuf", + "fer.rebind_rbo_rgba4_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012645, + "dEQP-GLES2.functional.fbo.render.recreate_ste", + "ncilbuffer.no_rebind_tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012646, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe", + "r.no_rebind_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012647, + "dEQP-GLES2.functional.fbo.render.recreate_ste", + "ncilbuffer.no_rebind_tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012648, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe", + "r.no_rebind_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012649, + "dEQP-GLES2.functional.fbo.render.recreate_ste", + "ncilbuffer.no_rebind_rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012650, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe", + "r.no_rebind_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012651, + "dEQP-GLES2.functional.fbo.render.recreate_sten", + "cilbuffer.no_rebind_rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012652, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuffer", + ".no_rebind_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012653, + "dEQP-GLES2.functional.fbo.render.recreate_ste", + "ncilbuffer.no_rebind_rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012654, + "dEQP-GLES2.functional.fbo.render.recreate_stencilbuffe", + "r.no_rebind_rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_repeated_clearTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_repeated_clearTestCase.cpp new file mode 100644 index 000000000..b801d8018 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_repeated_clearTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012659, + "dEQP-GLES2.functional.fbo.re", + "nder.repeated_clear.tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012660, + "dEQP-GLES2.functional.fbo.ren", + "der.repeated_clear.tex2d_rgba"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_resizeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_resizeTestCase.cpp new file mode 100644 index 000000000..eb7dccec2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_resizeTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012555, + "dEQP-GLES2.functional.fb", + "o.render.resize.tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012556, + "dEQP-GLES2.functional.fbo.render", + ".resize.tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012557, + "dEQP-GLES2.functional.fbo.render.", + "resize.tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012558, + "dEQP-GLES2.functional.fbo.render.resize.t", + "ex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012559, + "dEQP-GLES2.functional.fbo", + ".render.resize.tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012560, + "dEQP-GLES2.functional.fbo.render", + ".resize.tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012561, + "dEQP-GLES2.functional.fbo.render.r", + "esize.tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012562, + "dEQP-GLES2.functional.fbo.render.resize.t", + "ex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012563, + "dEQP-GLES2.functional.fbo", + ".render.resize.rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012564, + "dEQP-GLES2.functional.fbo.render", + ".resize.rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012565, + "dEQP-GLES2.functional.fbo.render.r", + "esize.rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012566, + "dEQP-GLES2.functional.fbo.render.resize.r", + "bo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012567, + "dEQP-GLES2.functional.fbo", + ".render.resize.rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012568, + "dEQP-GLES2.functional.fbo.render.", + "resize.rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012569, + "dEQP-GLES2.functional.fbo.render.r", + "esize.rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012570, + "dEQP-GLES2.functional.fbo.render.resize.rb", + "o_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012571, + "dEQP-GLES2.functional.fb", + "o.render.resize.rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012572, + "dEQP-GLES2.functional.fbo.render", + ".resize.rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012573, + "dEQP-GLES2.functional.fbo.render.", + "resize.rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012574, + "dEQP-GLES2.functional.fbo.render.resize.r", + "bo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbufferTestCase.cpp new file mode 100644 index 000000000..4765d0fd9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbufferTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012525, + "dEQP-GLES2.functional.fbo.rend", + "er.shared_colorbuffer.tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012526, + "dEQP-GLES2.functional.fbo.render.share", + "d_colorbuffer.tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012527, + "dEQP-GLES2.functional.fbo.render.shared", + "_colorbuffer.tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012528, + "dEQP-GLES2.functional.fbo.render.shared_colorbu", + "ffer.tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012529, + "dEQP-GLES2.functional.fbo.rende", + "r.shared_colorbuffer.tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012530, + "dEQP-GLES2.functional.fbo.render.share", + "d_colorbuffer.tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012531, + "dEQP-GLES2.functional.fbo.render.shared_", + "colorbuffer.tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012532, + "dEQP-GLES2.functional.fbo.render.shared_colorbu", + "ffer.tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012533, + "dEQP-GLES2.functional.fbo.rende", + "r.shared_colorbuffer.rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012534, + "dEQP-GLES2.functional.fbo.render.share", + "d_colorbuffer.rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012535, + "dEQP-GLES2.functional.fbo.render.shared_", + "colorbuffer.rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012536, + "dEQP-GLES2.functional.fbo.render.shared_colorbu", + "ffer.rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012537, + "dEQP-GLES2.functional.fbo.rende", + "r.shared_colorbuffer.rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012538, + "dEQP-GLES2.functional.fbo.render.shared", + "_colorbuffer.rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012539, + "dEQP-GLES2.functional.fbo.render.shared_", + "colorbuffer.rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012540, + "dEQP-GLES2.functional.fbo.render.shared_colorbuf", + "fer.rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012541, + "dEQP-GLES2.functional.fbo.rend", + "er.shared_colorbuffer.rbo_rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012542, + "dEQP-GLES2.functional.fbo.render.share", + "d_colorbuffer.rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012543, + "dEQP-GLES2.functional.fbo.render.shared", + "_colorbuffer.rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012544, + "dEQP-GLES2.functional.fbo.render.shared_colorbu", + "ffer.rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbuffer_clearTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbuffer_clearTestCase.cpp new file mode 100644 index 000000000..6569b4754 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_colorbuffer_clearTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012520, + "dEQP-GLES2.functional.fbo.render.", + "shared_colorbuffer_clear.tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012521, + "dEQP-GLES2.functional.fbo.render.s", + "hared_colorbuffer_clear.tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012522, + "dEQP-GLES2.functional.fbo.render.s", + "hared_colorbuffer_clear.rbo_rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012523, + "dEQP-GLES2.functional.fbo.render.s", + "hared_colorbuffer_clear.rbo_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012524, + "dEQP-GLES2.functional.fbo.render.", + "shared_colorbuffer_clear.rbo_rgba4"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_depthbufferTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_depthbufferTestCase.cpp new file mode 100644 index 000000000..06e2ab862 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_shared_depthbufferTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012545, + "dEQP-GLES2.functional.fbo.render.shared", + "_depthbuffer.tex2d_rgb_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012546, + "dEQP-GLES2.functional.fbo.render.shared_depthbu", + "ffer.tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012547, + "dEQP-GLES2.functional.fbo.render.shared_", + "depthbuffer.tex2d_rgba_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012548, + "dEQP-GLES2.functional.fbo.render.shared_depthbu", + "ffer.tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012549, + "dEQP-GLES2.functional.fbo.render.shared_", + "depthbuffer.rbo_rgb565_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012550, + "dEQP-GLES2.functional.fbo.render.shared_depthbu", + "ffer.rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012551, + "dEQP-GLES2.functional.fbo.render.shared_", + "depthbuffer.rbo_rgb5_a1_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012552, + "dEQP-GLES2.functional.fbo.render.shared_depthbuf", + "fer.rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012553, + "dEQP-GLES2.functional.fbo.render.shared", + "_depthbuffer.rbo_rgba4_depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012554, + "dEQP-GLES2.functional.fbo.render.shared_depthbu", + "ffer.rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencilTestCase.cpp new file mode 100644 index 000000000..c8da94bec --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencilTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012500, + "dEQP-GLES2.functional.fbo.render", + ".stencil.tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012501, + "dEQP-GLES2.functional.fbo.render.stencil.", + "tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012502, + "dEQP-GLES2.functional.fbo.render.", + "stencil.tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012503, + "dEQP-GLES2.functional.fbo.render.stencil.t", + "ex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012504, + "dEQP-GLES2.functional.fbo.render.", + "stencil.rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012505, + "dEQP-GLES2.functional.fbo.render.stencil.r", + "bo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012506, + "dEQP-GLES2.functional.fbo.render.", + "stencil.rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012507, + "dEQP-GLES2.functional.fbo.render.stencil.r", + "bo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012508, + "dEQP-GLES2.functional.fbo.render", + ".stencil.rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012509, + "dEQP-GLES2.functional.fbo.render.stencil.", + "rbo_rgba4_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012510, + "dEQP-GLES2.functional.fbo.render.st", + "encil.npot_tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012511, + "dEQP-GLES2.functional.fbo.render.stencil.npo", + "t_tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012512, + "dEQP-GLES2.functional.fbo.render.st", + "encil.npot_tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012513, + "dEQP-GLES2.functional.fbo.render.stencil.npo", + "t_tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012514, + "dEQP-GLES2.functional.fbo.render.st", + "encil.npot_rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012515, + "dEQP-GLES2.functional.fbo.render.stencil.npo", + "t_rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012516, + "dEQP-GLES2.functional.fbo.render.ste", + "ncil.npot_rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012517, + "dEQP-GLES2.functional.fbo.render.stencil.npot", + "_rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012518, + "dEQP-GLES2.functional.fbo.render.st", + "encil.npot_rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012519, + "dEQP-GLES2.functional.fbo.render.stencil.npo", + "t_rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencil_clearTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencil_clearTestCase.cpp new file mode 100644 index 000000000..e4a778ec5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_stencil_clearTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012452, + "dEQP-GLES2.functional.fbo.render.st", + "encil_clear.tex2d_rgb_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012453, + "dEQP-GLES2.functional.fbo.render.stencil_cle", + "ar.tex2d_rgb_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012454, + "dEQP-GLES2.functional.fbo.render.ste", + "ncil_clear.tex2d_rgba_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012455, + "dEQP-GLES2.functional.fbo.render.stencil_clea", + "r.tex2d_rgba_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012456, + "dEQP-GLES2.functional.fbo.render.ste", + "ncil_clear.rbo_rgb565_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012457, + "dEQP-GLES2.functional.fbo.render.stencil_clea", + "r.rbo_rgb565_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012458, + "dEQP-GLES2.functional.fbo.render.ste", + "ncil_clear.rbo_rgb5_a1_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012459, + "dEQP-GLES2.functional.fbo.render.stencil_clea", + "r.rbo_rgb5_a1_depth_component16_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012460, + "dEQP-GLES2.functional.fbo.render.st", + "encil_clear.rbo_rgba4_stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012461, + "dEQP-GLES2.functional.fbo.render.stencil_cle", + "ar.rbo_rgba4_depth_component16_stencil_index8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_struct_in_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_struct_in_arrayTestCase.cpp new file mode 100644 index 000000000..6210dc1b8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_struct_in_arrayTestCase.cpp @@ -0,0 +1,180 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20015TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014396, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014397, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.render.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014398, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014399, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.struct_in_array.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014400, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.struct_in_array.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014401, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.struct_in_array.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014402, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014403, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014404, + "dEQP-GLES2.functional.uniform_api.value.in", + "itial.render.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014405, + "dEQP-GLES2.functional.uniform_api.value.init", + "ial.render.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014406, + "dEQP-GLES2.functional.uniform_api.value.initi", + "al.render.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014407, + "dEQP-GLES2.functional.uniform_api.value.ini", + "tial.render.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014719, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014720, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.render.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014721, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014722, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.struct_in_array.mat4_mat2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014723, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.struct_in_array.mat4_mat2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014724, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.struct_in_array.mat4_mat2_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014725, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014726, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014727, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_pointer.render.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014728, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_pointer.render.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014729, + "dEQP-GLES2.functional.uniform_api.value.assigned.by", + "_pointer.render.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014730, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_pointer.render.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014731, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poi", + "nter.render.struct_in_array.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014732, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_poin", + "ter.render.struct_in_array.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_014733, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_po", + "inter.render.struct_in_array.sampler2D_samplerCube_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015008, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.render.struct_in_array.float_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015009, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.render.struct_in_array.float_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015010, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.struct_in_array.float_vec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015011, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.struct_in_array.int_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015012, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.render.struct_in_array.int_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015013, + "dEQP-GLES2.functional.uniform_api.value.assigne", + "d.by_value.render.struct_in_array.int_ivec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015014, + "dEQP-GLES2.functional.uniform_api.value.assigned.", + "by_value.render.struct_in_array.bool_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015015, + "dEQP-GLES2.functional.uniform_api.value.assigned.b", + "y_value.render.struct_in_array.bool_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015016, + "dEQP-GLES2.functional.uniform_api.value.assigned", + ".by_value.render.struct_in_array.bool_bvec4_both"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015017, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_va", + "lue.render.struct_in_array.sampler2D_samplerCube_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015018, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_val", + "ue.render.struct_in_array.sampler2D_samplerCube_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20015TestSuite, TestCase_015019, + "dEQP-GLES2.functional.uniform_api.value.assigned.by_v", + "alue.render.struct_in_array.sampler2D_samplerCube_both"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_texsubimageTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_texsubimageTestCase.cpp new file mode 100644 index 000000000..6b94ab43e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2render_texsubimageTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012655, + "dEQP-GLES2.functional.fbo.render.", + "texsubimage.after_render_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012656, + "dEQP-GLES2.functional.fbo.render.t", + "exsubimage.after_render_tex2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012657, + "dEQP-GLES2.functional.fbo.render.t", + "exsubimage.between_render_tex2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012658, + "dEQP-GLES2.functional.fbo.render.te", + "xsubimage.between_render_tex2d_rgba"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp new file mode 100644 index 000000000..96e365056 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_color0TestCase.cpp @@ -0,0 +1,204 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012661, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.color0.depth_component_unsigned_short"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012662, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".renderbuffer.color0.depth_component_unsigned_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012663, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.red_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012664, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.color0.red_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012665, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.color0.red_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012666, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.rgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012667, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.color0.rgb_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012668, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.renderbuffer.color0.rgb_unsigned_short_5_6_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012669, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.color0.rgb_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012670, + "dEQP-GLES2.functional.fbo.completeness.renderable.r", + "enderbuffer.color0.rgb_unsigned_int_10f_11f_11f_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012671, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.color0.rgb_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012672, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.color0.rgba_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012673, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.renderbuffer.color0.rgba_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012674, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.renderbuffer.color0.rgba_unsigned_short_4_4_4_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012675, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.renderbuffer.color0.rgba_unsigned_short_5_5_5_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012676, + "dEQP-GLES2.functional.fbo.completeness.renderable.r", + "enderbuffer.color0.rgba_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012677, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.color0.rgba_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012678, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.rgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012679, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.rgb10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012680, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012681, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.color0.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012682, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.rgba8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012683, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.color0.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012684, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012685, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.depth_component24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012686, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.depth_component32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012687, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.rg_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012688, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.color0.rg_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012689, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.rg_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012690, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.renderbuffer.color0.r8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012691, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.renderbuffer.color0.rg8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012692, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.r16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012693, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.rg16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012694, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.color0.depth_stencil_unsigned_int_24_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012695, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.color0.rgba16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012696, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.color0.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012697, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.renderbuffer.color0.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012698, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.color0.srgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012699, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.color0.srgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012700, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.renderbuffer.color0.srgb_alpha_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012701, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.renderbuffer.color0.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012702, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.renderbuffer.color0.stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012703, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.color0.rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012704, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.color0.sr8_ext"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012705, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.color0.srg8_ext"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_depthTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_depthTestCase.cpp new file mode 100644 index 000000000..b24748fda --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_depthTestCase.cpp @@ -0,0 +1,208 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012752, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".renderbuffer.depth.depth_component_unsigned_short"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012753, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.renderbuffer.depth.depth_component_unsigned_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012754, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.red_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012755, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.depth.red_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012756, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.red_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012757, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.rgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012758, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.depth.rgb_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012759, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.renderbuffer.depth.rgb_unsigned_short_5_6_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012760, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.depth.rgb_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012761, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.depth.rgb_unsigned_int_10f_11f_11f_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012762, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.rgb_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012763, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.rgba_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012764, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.depth.rgba_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012765, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.renderbuffer.depth.rgba_unsigned_short_4_4_4_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012766, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.renderbuffer.depth.rgba_unsigned_short_5_5_5_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012767, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.depth.rgba_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012768, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.depth.rgba_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012769, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.renderbuffer.depth.rgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012770, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.rgb10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012771, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012772, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.depth.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012773, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.rgba8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012774, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.depth.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012775, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012776, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.depth_component24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012777, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.depth_component32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012778, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.renderbuffer.depth.rg_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012779, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.depth.rg_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012780, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.rg_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012781, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.renderbuffer.depth.r8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012782, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.renderbuffer.depth.rg8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012783, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.renderbuffer.depth.r16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012784, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.rg16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012785, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.depth.depth_stencil_unsigned_int_24_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012786, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.depth.rgba16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012787, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.rgb16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012788, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.renderbuffer.depth.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012789, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.renderbuffer.depth.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012790, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.depth.srgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012791, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.srgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012792, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.renderbuffer.depth.srgb_alpha_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012793, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.renderbuffer.depth.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012794, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.renderbuffer.depth.stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012795, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.depth.rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012796, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.depth.sr8_ext"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012797, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.depth.srg8_ext"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp new file mode 100644 index 000000000..e31d1c566 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2renderbuffer_stencilTestCase.cpp @@ -0,0 +1,208 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012706, + "dEQP-GLES2.functional.fbo.completeness.renderable.", + "renderbuffer.stencil.depth_component_unsigned_short"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012707, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".renderbuffer.stencil.depth_component_unsigned_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012708, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.red_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012709, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.renderbuffer.stencil.red_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012710, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.red_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012711, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.rgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012712, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.renderbuffer.stencil.rgb_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012713, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.renderbuffer.stencil.rgb_unsigned_short_5_6_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012714, + "dEQP-GLES2.functional.fbo.completeness.renderable.r", + "enderbuffer.stencil.rgb_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012715, + "dEQP-GLES2.functional.fbo.completeness.renderable.r", + "enderbuffer.stencil.rgb_unsigned_int_10f_11f_11f_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012716, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.rgb_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012717, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.rgba_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012718, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.renderbuffer.stencil.rgba_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012719, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".renderbuffer.stencil.rgba_unsigned_short_4_4_4_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012720, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".renderbuffer.stencil.rgba_unsigned_short_5_5_5_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012721, + "dEQP-GLES2.functional.fbo.completeness.renderable.r", + "enderbuffer.stencil.rgba_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012722, + "dEQP-GLES2.functional.fbo.completeness.render", + "able.renderbuffer.stencil.rgba_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012723, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.stencil.rgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012724, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.rgb10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012725, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012726, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.stencil.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012727, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.rgba8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012728, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.stencil.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012729, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012730, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.depth_component24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012731, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.depth_component32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012732, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.stencil.rg_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012733, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.stencil.rg_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012734, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.rg_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012735, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.renderbuffer.stencil.r8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012736, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.stencil.rg8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012737, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.renderbuffer.stencil.r16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012738, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.rg16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012739, + "dEQP-GLES2.functional.fbo.completeness.renderable.r", + "enderbuffer.stencil.depth_stencil_unsigned_int_24_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012740, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.stencil.rgba16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012741, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.rgb16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012742, + "dEQP-GLES2.functional.fbo.completeness.rend", + "erable.renderbuffer.stencil.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012743, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.renderbuffer.stencil.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012744, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.renderbuffer.stencil.srgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012745, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.srgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012746, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.renderbuffer.stencil.srgb_alpha_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012747, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.renderbuffer.stencil.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012748, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.renderbuffer.stencil.stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012749, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.renderbuffer.stencil.rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012750, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.stencil.sr8_ext"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012751, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.renderbuffer.stencil.srg8_ext"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp new file mode 100644 index 000000000..8cd400223 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_dstTestCase.cpp @@ -0,0 +1,808 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012007, + "dEQP-GLES2.functional.fragment_ops.bl", + "end.rgb_func_alpha_func.dst.zero_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012008, + "dEQP-GLES2.functional.fragment_ops.b", + "lend.rgb_func_alpha_func.dst.zero_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012009, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.zero_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012010, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.zero_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012011, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.zero_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012012, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.zero_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012013, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.zero_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012014, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.zero_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012015, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.zero_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012016, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.zero_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012017, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.zero_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012018, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.zero_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012019, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.zero_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012020, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.zero_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012021, + "dEQP-GLES2.functional.fragment_ops.b", + "lend.rgb_func_alpha_func.dst.one_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012022, + "dEQP-GLES2.functional.fragment_ops.b", + "lend.rgb_func_alpha_func.dst.one_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012023, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.one_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012024, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012025, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.one_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012026, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012027, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.one_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012028, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012029, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.one_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012030, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012031, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.dst.one_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012032, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.dst.one_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012033, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.dst.one_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012034, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.dst.one_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012035, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012036, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012037, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012038, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012039, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012040, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012041, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012042, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012043, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012044, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012045, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012046, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012047, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012048, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012049, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012050, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012051, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012052, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012053, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012054, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012055, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012056, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012057, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012058, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012059, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012060, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012061, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012062, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012063, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012064, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012065, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012066, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012067, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012068, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012069, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012070, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012071, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012072, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012073, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012074, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012075, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012076, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012077, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012078, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012079, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012080, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012081, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012082, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012083, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012084, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012085, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012086, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012087, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012088, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012089, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012090, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012091, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012092, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012093, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012094, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012095, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012096, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012097, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012098, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012099, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012100, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012101, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012102, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012103, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012104, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012105, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012106, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012107, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012108, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012109, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012110, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012111, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012112, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012113, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012114, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012115, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012116, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012117, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012118, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012119, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012120, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.dst.dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012121, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012122, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012123, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012124, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012125, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012126, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012127, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012128, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012129, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012130, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012131, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012132, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012133, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012134, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.one_minus_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012135, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012136, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012137, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012138, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012139, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012140, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012141, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012142, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012143, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012144, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012145, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012146, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012147, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012148, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.dst.constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012149, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012150, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012151, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012152, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012153, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012154, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012155, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012156, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012157, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012158, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012159, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012160, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012161, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012162, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.dst.one_minus_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012163, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012164, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012165, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012166, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012167, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012168, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012169, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012170, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012171, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012172, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.dst.one_minus_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012173, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012174, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.dst.one_minus_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012175, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.dst.constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012176, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.dst.constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012177, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012178, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012179, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012180, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012181, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012182, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012183, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.dst.constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012184, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012185, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012186, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012187, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012188, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012189, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.dst.one_minus_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012190, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.dst.one_minus_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012191, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012192, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012193, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012194, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012195, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012196, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012197, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.dst.one_minus_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012198, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.dst.one_minus_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012199, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012200, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.dst.one_minus_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012201, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.dst.one_minus_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012202, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.dst.one_minus_constant_alpha_one_minus_constant_alpha"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_srcTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_srcTestCase.cpp new file mode 100644 index 000000000..a9097a31a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2rgb_func_alpha_func_srcTestCase.cpp @@ -0,0 +1,924 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20012TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011782, + "dEQP-GLES2.functional.fragment_ops.bl", + "end.rgb_func_alpha_func.src.zero_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011783, + "dEQP-GLES2.functional.fragment_ops.b", + "lend.rgb_func_alpha_func.src.zero_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011784, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.zero_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011785, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.zero_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011786, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.zero_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011787, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.zero_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011788, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.zero_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011789, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.zero_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011790, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.zero_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011791, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.zero_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011792, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.zero_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011793, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.zero_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011794, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.zero_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011795, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.zero_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011796, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.zero_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011797, + "dEQP-GLES2.functional.fragment_ops.b", + "lend.rgb_func_alpha_func.src.one_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011798, + "dEQP-GLES2.functional.fragment_ops.b", + "lend.rgb_func_alpha_func.src.one_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011799, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.one_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011800, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011801, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.one_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011802, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011803, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.one_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011804, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011805, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.one_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011806, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011807, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.src.one_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011808, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.one_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011809, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.src.one_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011810, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.one_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011811, + "dEQP-GLES2.functional.fragment_ops.blend.rg", + "b_func_alpha_func.src.one_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011812, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011813, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011814, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011815, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011816, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011817, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011818, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011819, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011820, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011821, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011822, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011823, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011824, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011825, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011826, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.src_color_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011827, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_src_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011828, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_src_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011829, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011830, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011831, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011832, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011833, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011834, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011835, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011836, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011837, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_src_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011838, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_src_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011839, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_src_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011840, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_src_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011841, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.one_minus_src_color_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011842, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011843, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011844, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011845, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011846, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011847, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011848, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011849, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011850, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011851, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011852, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011853, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011854, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011855, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011856, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.dst_color_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011857, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_dst_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011858, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_dst_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011859, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011860, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011861, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011862, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011863, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011864, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011865, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011866, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011867, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_dst_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011868, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_dst_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011869, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_dst_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011870, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_dst_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011871, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.one_minus_dst_color_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011872, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011873, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011874, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011875, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011876, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011877, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011878, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011879, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011880, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011881, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011882, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011883, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011884, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011885, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011886, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.src_alpha_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011887, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_src_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011888, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_src_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011889, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011890, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011891, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011892, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011893, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011894, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011895, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_src_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011896, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_src_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011897, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_src_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011898, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_src_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011899, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_src_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011900, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_src_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011901, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.one_minus_src_alpha_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011902, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011903, + "dEQP-GLES2.functional.fragment_ops.blen", + "d.rgb_func_alpha_func.src.dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011904, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011905, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011906, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011907, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011908, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011909, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011910, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011911, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011912, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011913, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011914, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011915, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011916, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.dst_alpha_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011917, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_dst_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011918, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.one_minus_dst_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011919, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011920, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011921, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011922, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011923, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011924, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011925, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_dst_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011926, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_dst_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011927, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_dst_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011928, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_dst_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011929, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_dst_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011930, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_dst_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011931, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.one_minus_dst_alpha_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011932, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011933, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.src.constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011934, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011935, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011936, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011937, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011938, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011939, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011940, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011941, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011942, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011943, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011944, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011945, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011946, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_color_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011947, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_constant_color_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011948, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.one_minus_constant_color_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011949, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_color_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011950, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_color_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011951, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_color_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011952, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_color_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011953, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_color_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011954, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_color_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011955, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_color_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011956, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_color_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011957, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_constant_color_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011958, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.src.one_minus_constant_color_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011959, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_constant_color_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011960, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.src.one_minus_constant_color_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011961, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_color_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011962, + "dEQP-GLES2.functional.fragment_ops.blend.r", + "gb_func_alpha_func.src.constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011963, + "dEQP-GLES2.functional.fragment_ops.blend.", + "rgb_func_alpha_func.src.constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011964, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011965, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011966, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011967, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011968, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011969, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011970, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011971, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011972, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011973, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011974, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011975, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011976, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.constant_alpha_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011977, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_fu", + "nc_alpha_func.src.one_minus_constant_alpha_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011978, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.one_minus_constant_alpha_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011979, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_alpha_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011980, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_alpha_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011981, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_alpha_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011982, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_alpha_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011983, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_alpha_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011984, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_alpha_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011985, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.one_minus_constant_alpha_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011986, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_alpha_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011987, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_constant_alpha_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011988, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.src.one_minus_constant_alpha_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011989, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_al", + "pha_func.src.one_minus_constant_alpha_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011990, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alpha_f", + "unc.src.one_minus_constant_alpha_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011991, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.one_minus_constant_alpha_src_alpha_saturate"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011992, + "dEQP-GLES2.functional.fragment_ops.blend.rgb", + "_func_alpha_func.src.src_alpha_saturate_zero"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011993, + "dEQP-GLES2.functional.fragment_ops.blend.rg", + "b_func_alpha_func.src.src_alpha_saturate_one"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011994, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.src_alpha_saturate_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011995, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.src_alpha_saturate_one_minus_src_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011996, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.src_alpha_saturate_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011997, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.src_alpha_saturate_one_minus_dst_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011998, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.src_alpha_saturate_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011999, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.src_alpha_saturate_one_minus_src_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012000, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_f", + "unc_alpha_func.src.src_alpha_saturate_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012001, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.src_alpha_saturate_one_minus_dst_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012002, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.src_alpha_saturate_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012003, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.src_alpha_saturate_one_minus_constant_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012004, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func", + "_alpha_func.src.src_alpha_saturate_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012005, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_alph", + "a_func.src.src_alpha_saturate_one_minus_constant_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_012006, + "dEQP-GLES2.functional.fragment_ops.blend.rgb_func_a", + "lpha_func.src.src_alpha_saturate_src_alpha_saturate"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_combinedTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_combinedTestCase.cpp new file mode 100644 index 000000000..024713602 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_combinedTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008832, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008833, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008834, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008835, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008836, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008837, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008838, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008839, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008840, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008841, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.combined.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008842, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008843, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008844, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008845, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008846, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008847, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008848, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008849, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008850, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008851, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008852, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008853, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008854, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008855, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008856, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008857, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008858, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008859, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008860, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008861, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008862, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008863, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008864, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008865, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008866, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008867, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008868, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008869, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008870, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008871, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008872, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008873, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008874, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008875, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008876, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008877, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008878, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008879, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008880, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008881, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008882, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008883, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008884, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008885, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008886, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008887, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008888, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008889, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008890, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008891, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008892, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008893, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008894, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008895, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008896, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008897, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008898, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008899, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008900, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008901, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008902, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008903, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008904, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008905, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008906, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008907, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008908, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008909, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008910, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008911, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008912, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008913, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008914, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008915, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008916, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008917, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008918, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008919, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008920, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008921, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008922, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008923, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008924, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008925, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008926, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008927, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008928, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008929, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008930, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008931, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.combined.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_fragmentTestCase.cpp new file mode 100644 index 000000000..75ca536d2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_fragmentTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008732, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008733, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008734, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008735, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008736, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008737, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008738, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008739, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008740, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008741, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008742, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008743, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008744, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008745, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008746, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008747, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008748, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008749, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008750, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008751, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008752, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008753, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008754, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008755, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008756, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008757, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008758, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008759, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008760, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008761, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008762, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008763, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008764, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008765, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008766, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008767, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008768, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008769, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008770, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008771, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008772, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008773, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008774, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008775, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008776, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008777, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008778, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008779, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008780, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008781, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008782, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008783, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008784, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008785, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008786, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008787, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008788, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008789, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008790, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008791, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008792, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008793, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008794, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008795, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008796, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008797, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008798, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008799, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008800, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008801, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008802, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008803, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008804, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008805, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008806, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008807, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008808, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008809, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008810, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008811, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008812, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008813, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008814, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008815, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008816, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008817, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008818, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008819, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008820, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008821, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008822, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008823, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008824, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008825, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008826, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008827, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008828, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008829, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008830, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008831, + "dEQP-GLES2.functional.shaders.ran", + "dom.scalar_conversion.fragment.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_vertexTestCase.cpp new file mode 100644 index 000000000..edc40f19a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scalar_conversion_vertexTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008632, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008633, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008634, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008635, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008636, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008637, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008638, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008639, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008640, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008641, + "dEQP-GLES2.functional.shaders.r", + "andom.scalar_conversion.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008642, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008643, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008644, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008645, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008646, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008647, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008648, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008649, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008650, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008651, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008652, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008653, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008654, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008655, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008656, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008657, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008658, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008659, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008660, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008661, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008662, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008663, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008664, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008665, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008666, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008667, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008668, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008669, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008670, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008671, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008672, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008673, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008674, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008675, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008676, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008677, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008678, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008679, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008680, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008681, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008682, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008683, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008684, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008685, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008686, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008687, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008688, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008689, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008690, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008691, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008692, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008693, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008694, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008695, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008696, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008697, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008698, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008699, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008700, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008701, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008702, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008703, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008704, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008705, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008706, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008707, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008708, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008709, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008710, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008711, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008712, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008713, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008714, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008715, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008716, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008717, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008718, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008719, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008720, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008721, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008722, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008723, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008724, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008725, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008726, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008727, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008728, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008729, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008730, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008731, + "dEQP-GLES2.functional.shaders.ra", + "ndom.scalar_conversion.vertex.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_invalidTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_invalidTestCase.cpp new file mode 100644 index 000000000..3ed2959af --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_invalidTestCase.cpp @@ -0,0 +1,200 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002437, + "dEQP-GLES2.functional.shaders.scoping.i", + "nvalid.redeclare_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002438, + "dEQP-GLES2.functional.shaders.scoping.in", + "valid.redeclare_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002439, + "dEQP-GLES2.functional.shaders.scoping.", + "invalid.redeclare_local_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002440, + "dEQP-GLES2.functional.shaders.scoping.i", + "nvalid.redeclare_local_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002441, + "dEQP-GLES2.functional.shaders.scoping.invalid", + ".redeclare_for_init_statement_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002442, + "dEQP-GLES2.functional.shaders.scoping.invalid.", + "redeclare_for_init_statement_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002443, + "dEQP-GLES2.functional.shaders.scoping.inva", + "lid.redeclare_for_condition_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002444, + "dEQP-GLES2.functional.shaders.scoping.inval", + "id.redeclare_for_condition_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002445, + "dEQP-GLES2.functional.shaders.scoping.invalid.redecla", + "re_for_init_statement_variable_in_for_condition_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002446, + "dEQP-GLES2.functional.shaders.scoping.invalid.redeclar", + "e_for_init_statement_variable_in_for_condition_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002447, + "dEQP-GLES2.functional.shaders.scoping.inval", + "id.redeclare_while_condition_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002448, + "dEQP-GLES2.functional.shaders.scoping.invali", + "d.redeclare_while_condition_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002449, + "dEQP-GLES2.functional.shaders.scopi", + "ng.invalid.redefine_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002450, + "dEQP-GLES2.functional.shaders.scopin", + "g.invalid.redefine_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002451, + "dEQP-GLES2.functional.shaders.scopi", + "ng.invalid.redeclare_builtin_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002452, + "dEQP-GLES2.functional.shaders.scopin", + "g.invalid.redeclare_builtin_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002453, + "dEQP-GLES2.functional.shaders.scoping.", + "invalid.conflict_function_struct_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002454, + "dEQP-GLES2.functional.shaders.scoping.i", + "nvalid.conflict_function_struct_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002455, + "dEQP-GLES2.functional.shaders.scoping.i", + "nvalid.conflict_function_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002456, + "dEQP-GLES2.functional.shaders.scoping.in", + "valid.conflict_function_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002457, + "dEQP-GLES2.functional.shaders.scoping.invalid", + ".use_global_variable_before_declaration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002458, + "dEQP-GLES2.functional.shaders.scoping.invalid.", + "use_global_variable_before_declaration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002459, + "dEQP-GLES2.functional.shaders.scoping.invalid", + ".use_local_variable_before_declaration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002460, + "dEQP-GLES2.functional.shaders.scoping.invalid.", + "use_local_variable_before_declaration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002461, + "dEQP-GLES2.functional.shaders.scoping.inval", + "id.use_struct_type_before_declaration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002462, + "dEQP-GLES2.functional.shaders.scoping.invali", + "d.use_struct_type_before_declaration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002463, + "dEQP-GLES2.functional.shaders.scoping.inva", + "lid.use_function_before_declaration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002464, + "dEQP-GLES2.functional.shaders.scoping.inval", + "id.use_function_before_declaration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002465, + "dEQP-GLES2.functional.shaders.scoping.invalid", + ".use_variable_from_block_in_outer_scope_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002466, + "dEQP-GLES2.functional.shaders.scoping.invalid.", + "use_variable_from_block_in_outer_scope_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002467, + "dEQP-GLES2.functional.shaders.scoping.invali", + "d.use_variable_from_if_in_outer_scope_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002468, + "dEQP-GLES2.functional.shaders.scoping.invalid", + ".use_variable_from_if_in_outer_scope_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002469, + "dEQP-GLES2.functional.shaders.scoping.invalid", + ".use_variable_from_else_in_outer_scope_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002470, + "dEQP-GLES2.functional.shaders.scoping.invalid.", + "use_variable_from_else_in_outer_scope_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002471, + "dEQP-GLES2.functional.shaders.scoping.in", + "valid.use_variable_from_if_in_else_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002472, + "dEQP-GLES2.functional.shaders.scoping.inv", + "alid.use_variable_from_if_in_else_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002473, + "dEQP-GLES2.functional.shaders.scoping.invalid.use_va", + "riable_from_for_init_statement_in_outer_scope_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002474, + "dEQP-GLES2.functional.shaders.scoping.invalid.use_var", + "iable_from_for_init_statement_in_outer_scope_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002475, + "dEQP-GLES2.functional.shaders.scoping.invalid.use_", + "variable_from_while_condition_in_outer_scope_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002476, + "dEQP-GLES2.functional.shaders.scoping.invalid.use_v", + "ariable_from_while_condition_in_outer_scope_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002477, + "dEQP-GLES2.functional.shaders.scoping.invalid.use", + "_parameter_names_from_function_declaration_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002478, + "dEQP-GLES2.functional.shaders.scoping.invalid.use_", + "parameter_names_from_function_declaration_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002479, + "dEQP-GLES2.functional.shaders.scoping.invalid.", + "variable_not_visible_in_own_initializer_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002480, + "dEQP-GLES2.functional.shaders.scoping.invalid.v", + "ariable_not_visible_in_own_initializer_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_validTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_validTestCase.cpp new file mode 100644 index 000000000..6987d6552 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2scoping_validTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002405, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".local_variable_hides_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002406, + "dEQP-GLES2.functional.shaders.scoping.valid.", + "local_variable_hides_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002407, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".block_variable_hides_local_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002408, + "dEQP-GLES2.functional.shaders.scoping.valid.", + "block_variable_hides_local_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002409, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".block_variable_hides_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002410, + "dEQP-GLES2.functional.shaders.scoping.valid.", + "block_variable_hides_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002411, + "dEQP-GLES2.functional.shaders.scoping.valid.for_i", + "nit_statement_variable_hides_local_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002412, + "dEQP-GLES2.functional.shaders.scoping.valid.for_in", + "it_statement_variable_hides_local_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002413, + "dEQP-GLES2.functional.shaders.scoping.valid.whil", + "e_condition_variable_hides_local_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002414, + "dEQP-GLES2.functional.shaders.scoping.valid.while", + "_condition_variable_hides_local_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002415, + "dEQP-GLES2.functional.shaders.scoping.valid.for_in", + "it_statement_variable_hides_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002416, + "dEQP-GLES2.functional.shaders.scoping.valid.for_ini", + "t_statement_variable_hides_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002417, + "dEQP-GLES2.functional.shaders.scoping.valid.whil", + "e_condition_variable_hides_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002418, + "dEQP-GLES2.functional.shaders.scoping.valid.while", + "_condition_variable_hides_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002419, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".variable_in_if_hides_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002420, + "dEQP-GLES2.functional.shaders.scoping.valid.", + "variable_in_if_hides_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002421, + "dEQP-GLES2.functional.shaders.scoping.valid.varia", + "ble_from_outer_scope_visible_in_initializer_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002422, + "dEQP-GLES2.functional.shaders.scoping.valid.variab", + "le_from_outer_scope_visible_in_initializer_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002423, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".local_int_variable_hides_struct_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002424, + "dEQP-GLES2.functional.shaders.scoping.valid.", + "local_int_variable_hides_struct_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002425, + "dEQP-GLES2.functional.shaders.scoping.valid.l", + "ocal_struct_variable_hides_struct_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002426, + "dEQP-GLES2.functional.shaders.scoping.valid.lo", + "cal_struct_variable_hides_struct_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002427, + "dEQP-GLES2.functional.shaders.scoping.va", + "lid.local_variable_hides_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002428, + "dEQP-GLES2.functional.shaders.scoping.val", + "id.local_variable_hides_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002429, + "dEQP-GLES2.functional.shaders.scoping.valid.f", + "unction_parameter_hides_global_variable_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002430, + "dEQP-GLES2.functional.shaders.scoping.valid.fu", + "nction_parameter_hides_global_variable_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002431, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".function_parameter_hides_struct_type_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002432, + "dEQP-GLES2.functional.shaders.scoping.valid.", + "function_parameter_hides_struct_type_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002433, + "dEQP-GLES2.functional.shaders.scoping.vali", + "d.function_parameter_hides_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002434, + "dEQP-GLES2.functional.shaders.scoping.valid", + ".function_parameter_hides_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002435, + "dEQP-GLES2.functional.shaders.scoping.valid.local_va", + "riable_in_inner_scope_hides_function_parameter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002436, + "dEQP-GLES2.functional.shaders.scoping.valid.local_var", + "iable_in_inner_scope_hides_function_parameter_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_no_side_effectsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_no_side_effectsTestCase.cpp new file mode 100644 index 000000000..c5fe75e65 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_no_side_effectsTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006830, + "dEQP-GLES2.functional.shaders.operator.s", + "equence.no_side_effects.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006831, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.no_side_effects.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006832, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.no_side_effects.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006833, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.no_side_effects.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006834, + "dEQP-GLES2.functional.shaders.operator.s", + "equence.no_side_effects.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006835, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.no_side_effects.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006836, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.no_side_effects.lowp_float_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006837, + "dEQP-GLES2.functional.shaders.operator.sequ", + "ence.no_side_effects.lowp_float_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006838, + "dEQP-GLES2.functional.shaders.operator.seque", + "nce.no_side_effects.mediump_float_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006839, + "dEQP-GLES2.functional.shaders.operator.sequen", + "ce.no_side_effects.mediump_float_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006840, + "dEQP-GLES2.functional.shaders.operator.sequ", + "ence.no_side_effects.highp_float_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006841, + "dEQP-GLES2.functional.shaders.operator.seque", + "nce.no_side_effects.highp_float_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006842, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.no_side_effects.lowp_bool_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006843, + "dEQP-GLES2.functional.shaders.operator.sequ", + "ence.no_side_effects.lowp_bool_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006844, + "dEQP-GLES2.functional.shaders.operator.seque", + "nce.no_side_effects.mediump_bool_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006845, + "dEQP-GLES2.functional.shaders.operator.sequen", + "ce.no_side_effects.mediump_bool_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006846, + "dEQP-GLES2.functional.shaders.operator.sequ", + "ence.no_side_effects.highp_bool_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006847, + "dEQP-GLES2.functional.shaders.operator.seque", + "nce.no_side_effects.highp_bool_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006848, + "dEQP-GLES2.functional.shaders.operator.sequenc", + "e.no_side_effects.lowp_vec4_ivec4_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006849, + "dEQP-GLES2.functional.shaders.operator.sequence", + ".no_side_effects.lowp_vec4_ivec4_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006850, + "dEQP-GLES2.functional.shaders.operator.sequence", + ".no_side_effects.mediump_vec4_ivec4_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006851, + "dEQP-GLES2.functional.shaders.operator.sequence.", + "no_side_effects.mediump_vec4_ivec4_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006852, + "dEQP-GLES2.functional.shaders.operator.sequenc", + "e.no_side_effects.highp_vec4_ivec4_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006853, + "dEQP-GLES2.functional.shaders.operator.sequence", + ".no_side_effects.highp_vec4_ivec4_bvec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_side_effectsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_side_effectsTestCase.cpp new file mode 100644 index 000000000..913157be0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2sequence_side_effectsTestCase.cpp @@ -0,0 +1,132 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20007TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006854, + "dEQP-GLES2.functional.shaders.operator", + ".sequence.side_effects.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006855, + "dEQP-GLES2.functional.shaders.operator.", + "sequence.side_effects.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006856, + "dEQP-GLES2.functional.shaders.operator.s", + "equence.side_effects.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006857, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.side_effects.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006858, + "dEQP-GLES2.functional.shaders.operator.", + "sequence.side_effects.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006859, + "dEQP-GLES2.functional.shaders.operator.s", + "equence.side_effects.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006860, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.side_effects.lowp_float_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006861, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.side_effects.lowp_float_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006862, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.side_effects.mediump_float_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006863, + "dEQP-GLES2.functional.shaders.operator.sequ", + "ence.side_effects.mediump_float_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006864, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.side_effects.highp_float_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006865, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.side_effects.highp_float_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006866, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.side_effects.lowp_bool_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006867, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.side_effects.lowp_bool_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006868, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.side_effects.mediump_bool_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006869, + "dEQP-GLES2.functional.shaders.operator.sequ", + "ence.side_effects.mediump_bool_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006870, + "dEQP-GLES2.functional.shaders.operator.se", + "quence.side_effects.highp_bool_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006871, + "dEQP-GLES2.functional.shaders.operator.seq", + "uence.side_effects.highp_bool_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006872, + "dEQP-GLES2.functional.shaders.operator.seque", + "nce.side_effects.lowp_vec4_ivec4_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006873, + "dEQP-GLES2.functional.shaders.operator.sequen", + "ce.side_effects.lowp_vec4_ivec4_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006874, + "dEQP-GLES2.functional.shaders.operator.sequenc", + "e.side_effects.mediump_vec4_ivec4_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006875, + "dEQP-GLES2.functional.shaders.operator.sequence", + ".side_effects.mediump_vec4_ivec4_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006876, + "dEQP-GLES2.functional.shaders.operator.sequen", + "ce.side_effects.highp_vec4_ivec4_bvec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006877, + "dEQP-GLES2.functional.shaders.operator.sequenc", + "e.side_effects.highp_vec4_ivec4_bvec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006878, + "dEQP-GLES2.functional.shaders.operato", + "r.sequence.side_effects.affect_ternary"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006879, + "dEQP-GLES2.functional.shaders.opera", + "tor.sequence.side_effects.affect_and"); + +static SHRINK_HWTEST_F(ActsDeqpgles20007TestSuite, TestCase_006880, + "dEQP-GLES2.functional.shaders.opera", + "tor.sequence.side_effects.affect_or"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_compile_linkTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_compile_linkTestCase.cpp new file mode 100644 index 000000000..7d64d23db --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_compile_linkTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013593, + "dEQP-GLES2.functional.shader_api.", + "compile_link.compile_vertex_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013594, + "dEQP-GLES2.functional.shader_api.c", + "ompile_link.compile_fragment_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013595, + "dEQP-GLES2.functional.shader_api.", + "compile_link.link_vertex_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_create_deleteTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_create_deleteTestCase.cpp new file mode 100644 index 000000000..feca264bd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_create_deleteTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013590, + "dEQP-GLES2.functional.shader_api.", + "create_delete.create_vertex_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013591, + "dEQP-GLES2.functional.shader_api.c", + "reate_delete.create_fragment_shader"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013592, + "dEQP-GLES2.functional.shader_api.c", + "reate_delete.delete_vertex_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_program_stateTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_program_stateTestCase.cpp new file mode 100644 index 000000000..753b1c5f8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_program_stateTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013616, + "dEQP-GLES2.functional.shader_api.", + "program_state.detach_shader_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013617, + "dEQP-GLES2.functional.shader_api.p", + "rogram_state.detach_shader_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013618, + "dEQP-GLES2.functional.shader_api.p", + "rogram_state.reattach_shader_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013619, + "dEQP-GLES2.functional.shader_api.pr", + "ogram_state.reattach_shader_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013620, + "dEQP-GLES2.functional.shader_api.", + "program_state.delete_shader_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013621, + "dEQP-GLES2.functional.shader_api.p", + "rogram_state.delete_shader_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013622, + "dEQP-GLES2.functional.shader_api.p", + "rogram_state.replace_shader_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013623, + "dEQP-GLES2.functional.shader_api.pr", + "ogram_state.replace_shader_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013624, + "dEQP-GLES2.functional.shader_api.pr", + "ogram_state.recompile_shader_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013625, + "dEQP-GLES2.functional.shader_api.pro", + "gram_state.recompile_shader_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013626, + "dEQP-GLES2.functional.shader_api.p", + "rogram_state.replace_source_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013627, + "dEQP-GLES2.functional.shader_api.pr", + "ogram_state.replace_source_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_shader_sourceTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_shader_sourceTestCase.cpp new file mode 100644 index 000000000..feec42eb1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shader_api_shader_sourceTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013596, + "dEQP-GLES2.functional.shader_api.s", + "hader_source.replace_source_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013597, + "dEQP-GLES2.functional.shader_api.sh", + "ader_source.replace_source_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013598, + "dEQP-GLES2.functional.shader_api.shader_so", + "urce.split_source_2_null_terminated_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013599, + "dEQP-GLES2.functional.shader_api.shader_sou", + "rce.split_source_2_null_terminated_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013600, + "dEQP-GLES2.functional.shader_api.shader_so", + "urce.split_source_4_null_terminated_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013601, + "dEQP-GLES2.functional.shader_api.shader_sou", + "rce.split_source_4_null_terminated_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013602, + "dEQP-GLES2.functional.shader_api.shader_so", + "urce.split_source_8_null_terminated_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013603, + "dEQP-GLES2.functional.shader_api.shader_sou", + "rce.split_source_8_null_terminated_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013604, + "dEQP-GLES2.functional.shader_api.shader_so", + "urce.split_source_2_specify_lengths_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013605, + "dEQP-GLES2.functional.shader_api.shader_sou", + "rce.split_source_2_specify_lengths_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013606, + "dEQP-GLES2.functional.shader_api.shader_so", + "urce.split_source_4_specify_lengths_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013607, + "dEQP-GLES2.functional.shader_api.shader_sou", + "rce.split_source_4_specify_lengths_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013608, + "dEQP-GLES2.functional.shader_api.shader_so", + "urce.split_source_8_specify_lengths_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013609, + "dEQP-GLES2.functional.shader_api.shader_sou", + "rce.split_source_8_specify_lengths_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013610, + "dEQP-GLES2.functional.shader_api.shader_sourc", + "e.split_source_2_random_negative_length_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013611, + "dEQP-GLES2.functional.shader_api.shader_source", + ".split_source_2_random_negative_length_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013612, + "dEQP-GLES2.functional.shader_api.shader_sourc", + "e.split_source_4_random_negative_length_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013613, + "dEQP-GLES2.functional.shader_api.shader_source", + ".split_source_4_random_negative_length_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013614, + "dEQP-GLES2.functional.shader_api.shader_sourc", + "e.split_source_8_random_negative_length_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013615, + "dEQP-GLES2.functional.shader_api.shader_source", + ".split_source_8_random_negative_length_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_algorithmTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_algorithmTestCase.cpp new file mode 100644 index 000000000..e18a63dad --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_algorithmTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007866, + "dEQP-GLES2.functional.shader", + "s.algorithm.hsl_to_rgb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007867, + "dEQP-GLES2.functional.shaders", + ".algorithm.hsl_to_rgb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007868, + "dEQP-GLES2.functional.shader", + "s.algorithm.rgb_to_hsl_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007869, + "dEQP-GLES2.functional.shaders", + ".algorithm.rgb_to_hsl_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_builtin_variableTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_builtin_variableTestCase.cpp new file mode 100644 index 000000000..29760e862 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_builtin_variableTestCase.cpp @@ -0,0 +1,112 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007784, + "dEQP-GLES2.functional.shaders.builti", + "n_variable.max_vertex_attribs_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007785, + "dEQP-GLES2.functional.shaders.builtin", + "_variable.max_vertex_attribs_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007786, + "dEQP-GLES2.functional.shaders.builtin_va", + "riable.max_vertex_uniform_vectors_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007787, + "dEQP-GLES2.functional.shaders.builtin_var", + "iable.max_vertex_uniform_vectors_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007788, + "dEQP-GLES2.functional.shaders.builtin_var", + "iable.max_fragment_uniform_vectors_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007789, + "dEQP-GLES2.functional.shaders.builtin_vari", + "able.max_fragment_uniform_vectors_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007790, + "dEQP-GLES2.functional.shaders.builti", + "n_variable.max_varying_vectors_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007791, + "dEQP-GLES2.functional.shaders.builtin", + "_variable.max_varying_vectors_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007792, + "dEQP-GLES2.functional.shaders.builtin_", + "variable.max_texture_image_units_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007793, + "dEQP-GLES2.functional.shaders.builtin_v", + "ariable.max_texture_image_units_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007794, + "dEQP-GLES2.functional.shaders.builtin_vari", + "able.max_vertex_texture_image_units_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007795, + "dEQP-GLES2.functional.shaders.builtin_varia", + "ble.max_vertex_texture_image_units_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007796, + "dEQP-GLES2.functional.shaders.builtin_varia", + "ble.max_combined_texture_image_units_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007797, + "dEQP-GLES2.functional.shaders.builtin_variab", + "le.max_combined_texture_image_units_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007798, + "dEQP-GLES2.functional.shaders.built", + "in_variable.max_draw_buffers_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007799, + "dEQP-GLES2.functional.shaders.builti", + "n_variable.max_draw_buffers_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007800, + "dEQP-GLES2.functional.shaders.bu", + "iltin_variable.depth_range_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007801, + "dEQP-GLES2.functional.shaders.bui", + "ltin_variable.depth_range_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007802, + "dEQP-GLES2.functional.shaders.", + "builtin_variable.fragcoord_xyz"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007803, + "dEQP-GLES2.functional.shaders", + ".builtin_variable.fragcoord_w"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007804, + "dEQP-GLES2.functional.shader", + "s.builtin_variable.pointcoord"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007805, + "dEQP-GLES2.functional.shaders", + ".builtin_variable.frontfacing"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_constantsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_constantsTestCase.cpp new file mode 100644 index 000000000..0a20f9bb1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_constantsTestCase.cpp @@ -0,0 +1,340 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000649, + "dEQP-GLES2.functional.shaders", + ".constants.float_input_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000650, + "dEQP-GLES2.functional.shaders.", + "constants.float_input_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000651, + "dEQP-GLES2.functional.shaders.", + "constants.float_uniform_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000652, + "dEQP-GLES2.functional.shaders.c", + "onstants.float_uniform_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000653, + "dEQP-GLES2.functional.shade", + "rs.constants.float_0_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000654, + "dEQP-GLES2.functional.shader", + "s.constants.float_0_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000655, + "dEQP-GLES2.functional.shade", + "rs.constants.float_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000656, + "dEQP-GLES2.functional.shader", + "s.constants.float_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000657, + "dEQP-GLES2.functional.shade", + "rs.constants.float_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000658, + "dEQP-GLES2.functional.shader", + "s.constants.float_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000659, + "dEQP-GLES2.functional.shade", + "rs.constants.float_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000660, + "dEQP-GLES2.functional.shader", + "s.constants.float_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000661, + "dEQP-GLES2.functional.shade", + "rs.constants.float_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000662, + "dEQP-GLES2.functional.shader", + "s.constants.float_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000663, + "dEQP-GLES2.functional.shade", + "rs.constants.float_5_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000664, + "dEQP-GLES2.functional.shader", + "s.constants.float_5_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000665, + "dEQP-GLES2.functional.shade", + "rs.constants.float_6_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000666, + "dEQP-GLES2.functional.shader", + "s.constants.float_6_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000667, + "dEQP-GLES2.functional.shade", + "rs.constants.float_7_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000668, + "dEQP-GLES2.functional.shader", + "s.constants.float_7_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000669, + "dEQP-GLES2.functional.shade", + "rs.constants.float_8_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000670, + "dEQP-GLES2.functional.shader", + "s.constants.float_8_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000671, + "dEQP-GLES2.functional.shad", + "ers.constants.int_0_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000672, + "dEQP-GLES2.functional.shade", + "rs.constants.int_0_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000673, + "dEQP-GLES2.functional.shad", + "ers.constants.int_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000674, + "dEQP-GLES2.functional.shade", + "rs.constants.int_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000675, + "dEQP-GLES2.functional.shad", + "ers.constants.int_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000676, + "dEQP-GLES2.functional.shade", + "rs.constants.int_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000677, + "dEQP-GLES2.functional.shad", + "ers.constants.int_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000678, + "dEQP-GLES2.functional.shade", + "rs.constants.int_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000679, + "dEQP-GLES2.functional.shad", + "ers.constants.int_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000680, + "dEQP-GLES2.functional.shade", + "rs.constants.int_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000681, + "dEQP-GLES2.functional.shad", + "ers.constants.bool_0_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000682, + "dEQP-GLES2.functional.shade", + "rs.constants.bool_0_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000683, + "dEQP-GLES2.functional.shad", + "ers.constants.bool_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000684, + "dEQP-GLES2.functional.shade", + "rs.constants.bool_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000685, + "dEQP-GLES2.functional.shaders.co", + "nstants.const_float_global_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000686, + "dEQP-GLES2.functional.shaders.con", + "stants.const_float_global_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000687, + "dEQP-GLES2.functional.shaders.c", + "onstants.const_float_main_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000688, + "dEQP-GLES2.functional.shaders.co", + "nstants.const_float_main_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000689, + "dEQP-GLES2.functional.shaders.con", + "stants.const_float_function_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000690, + "dEQP-GLES2.functional.shaders.cons", + "tants.const_float_function_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000691, + "dEQP-GLES2.functional.shaders.co", + "nstants.const_float_scope_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000692, + "dEQP-GLES2.functional.shaders.con", + "stants.const_float_scope_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000693, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_scope_shawdowing_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000694, + "dEQP-GLES2.functional.shaders.constants", + ".const_float_scope_shawdowing_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000695, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_scope_shawdowing_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000696, + "dEQP-GLES2.functional.shaders.constants", + ".const_float_scope_shawdowing_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000697, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_scope_shawdowing_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000698, + "dEQP-GLES2.functional.shaders.constants", + ".const_float_scope_shawdowing_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000699, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_scope_shawdowing_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000700, + "dEQP-GLES2.functional.shaders.constants", + ".const_float_scope_shawdowing_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000701, + "dEQP-GLES2.functional.shaders.constants.", + "const_float_operations_with_const_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000702, + "dEQP-GLES2.functional.shaders.constants.c", + "onst_float_operations_with_const_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000703, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_assignment_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000704, + "dEQP-GLES2.functional.shaders.consta", + "nts.const_float_assignment_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000705, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_assignment_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000706, + "dEQP-GLES2.functional.shaders.consta", + "nts.const_float_assignment_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000707, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_assignment_3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000708, + "dEQP-GLES2.functional.shaders.consta", + "nts.const_float_assignment_3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000709, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_assignment_4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000710, + "dEQP-GLES2.functional.shaders.consta", + "nts.const_float_assignment_4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000711, + "dEQP-GLES2.functional.shaders.consta", + "nts.const_float_assign_uniform_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000712, + "dEQP-GLES2.functional.shaders.constan", + "ts.const_float_assign_uniform_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000713, + "dEQP-GLES2.functional.shaders.con", + "stants.const_float_assign_varying"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000714, + "dEQP-GLES2.functional.shaders.con", + "stants.const_float_from_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000715, + "dEQP-GLES2.functional.shaders.cons", + "tants.const_float_from_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000716, + "dEQP-GLES2.functional.shaders.cons", + "tants.const_float_from_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000717, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_from_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000718, + "dEQP-GLES2.functional.shaders.cons", + "tants.const_float_from_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000719, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_from_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000720, + "dEQP-GLES2.functional.shaders.cons", + "tants.const_float_from_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000721, + "dEQP-GLES2.functional.shaders.const", + "ants.const_float_from_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000722, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_assign_variable_1_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000723, + "dEQP-GLES2.functional.shaders.constants", + ".const_float_assign_variable_1_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000724, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_assign_variable_2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000725, + "dEQP-GLES2.functional.shaders.constants", + ".const_float_assign_variable_2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000726, + "dEQP-GLES2.functional.shaders.constan", + "ts.const_float_assign_user_func_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000727, + "dEQP-GLES2.functional.shaders.constant", + "s.const_float_assign_user_func_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_discardTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_discardTestCase.cpp new file mode 100644 index 000000000..1296efe3a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_discardTestCase.cpp @@ -0,0 +1,124 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007657, + "dEQP-GLES2.functional.sha", + "ders.discard.basic_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007658, + "dEQP-GLES2.functional.sh", + "aders.discard.basic_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007659, + "dEQP-GLES2.functional.sha", + "ders.discard.basic_uniform"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007660, + "dEQP-GLES2.functional.sha", + "ders.discard.basic_dynamic"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007661, + "dEQP-GLES2.functional.sha", + "ders.discard.basic_texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007662, + "dEQP-GLES2.functional.shad", + "ers.discard.function_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007663, + "dEQP-GLES2.functional.shad", + "ers.discard.function_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007664, + "dEQP-GLES2.functional.shade", + "rs.discard.function_uniform"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007665, + "dEQP-GLES2.functional.shade", + "rs.discard.function_dynamic"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007666, + "dEQP-GLES2.functional.shade", + "rs.discard.function_texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007667, + "dEQP-GLES2.functional.shader", + "s.discard.static_loop_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007668, + "dEQP-GLES2.functional.shade", + "rs.discard.static_loop_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007669, + "dEQP-GLES2.functional.shader", + "s.discard.static_loop_uniform"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007670, + "dEQP-GLES2.functional.shader", + "s.discard.static_loop_dynamic"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007671, + "dEQP-GLES2.functional.shader", + "s.discard.static_loop_texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007672, + "dEQP-GLES2.functional.shader", + "s.discard.dynamic_loop_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007673, + "dEQP-GLES2.functional.shader", + "s.discard.dynamic_loop_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007674, + "dEQP-GLES2.functional.shaders", + ".discard.dynamic_loop_uniform"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007675, + "dEQP-GLES2.functional.shaders", + ".discard.dynamic_loop_dynamic"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007676, + "dEQP-GLES2.functional.shaders", + ".discard.dynamic_loop_texture"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007677, + "dEQP-GLES2.functional.shaders.di", + "scard.function_static_loop_always"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007678, + "dEQP-GLES2.functional.shaders.di", + "scard.function_static_loop_never"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007679, + "dEQP-GLES2.functional.shaders.dis", + "card.function_static_loop_uniform"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007680, + "dEQP-GLES2.functional.shaders.dis", + "card.function_static_loop_dynamic"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007681, + "dEQP-GLES2.functional.shaders.dis", + "card.function_static_loop_texture"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp new file mode 100644 index 000000000..1a7792d13 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_fragdataTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007859, + "dEQP-GLES2.functional.shader", + "s.fragdata.valid_static_index"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007860, + "dEQP-GLES2.functional.shaders", + ".fragdata.valid_uniform_index"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007861, + "dEQP-GLES2.functional.shaders", + ".fragdata.valid_dynamic_index"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007862, + "dEQP-GLES2.functional.shaders", + ".fragdata.invalid_assign_to_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007863, + "dEQP-GLES2.functional.shaders.fragdat", + "a.write_fragcolor_and_fragdata_simple"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007864, + "dEQP-GLES2.functional.shaders.fragdata", + ".write_fragcolor_and_fragdata_static_if"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007865, + "dEQP-GLES2.functional.shaders.fragdata.", + "write_fragcolor_and_fragdata_unused_func"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp new file mode 100644 index 000000000..b0b99f478 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_linkageTestCase.cpp @@ -0,0 +1,220 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000728, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000729, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000730, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000731, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000732, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000733, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000734, + "dEQP-GLES2.functional.s", + "haders.linkage.varying_7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000735, + "dEQP-GLES2.functional.shader", + "s.linkage.varying_type_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000736, + "dEQP-GLES2.functional.shade", + "rs.linkage.varying_type_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000737, + "dEQP-GLES2.functional.shade", + "rs.linkage.varying_type_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000738, + "dEQP-GLES2.functional.shade", + "rs.linkage.varying_type_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000739, + "dEQP-GLES2.functional.shade", + "rs.linkage.varying_type_mat2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000740, + "dEQP-GLES2.functional.shade", + "rs.linkage.varying_type_mat3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000741, + "dEQP-GLES2.functional.shade", + "rs.linkage.varying_type_mat4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000742, + "dEQP-GLES2.functional.shaders.lin", + "kage.varying_differing_precision_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000743, + "dEQP-GLES2.functional.shaders.lin", + "kage.varying_differing_precision_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000744, + "dEQP-GLES2.functional.shaders.lin", + "kage.varying_differing_precision_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000745, + "dEQP-GLES2.functional.shaders.", + "linkage.varying_type_mismatch_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000746, + "dEQP-GLES2.functional.shaders.l", + "inkage.invalid_varying_type_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000747, + "dEQP-GLES2.functional.shaders.l", + "inkage.invalid_varying_type_bool"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000748, + "dEQP-GLES2.functional.shaders.li", + "nkage.invalid_varying_type_struct"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000749, + "dEQP-GLES2.functional.shader", + "s.linkage.varying_readback_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000750, + "dEQP-GLES2.functional.shader", + "s.linkage.varying_writeback_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000751, + "dEQP-GLES2.functional.shad", + "ers.linkage.uniform_struct"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000752, + "dEQP-GLES2.functional.shaders.li", + "nkage.uniform_struct_vertex_only"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000753, + "dEQP-GLES2.functional.shaders.lin", + "kage.uniform_struct_fragment_only"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000754, + "dEQP-GLES2.functional.shaders.", + "linkage.uniform_struct_partial"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000755, + "dEQP-GLES2.functional.shader", + "s.linkage.uniform_struct_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000756, + "dEQP-GLES2.functional.shaders.link", + "age.uniform_struct_vertex_only_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000757, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_fragment_only_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000758, + "dEQP-GLES2.functional.shaders.li", + "nkage.uniform_struct_partial_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000759, + "dEQP-GLES2.functional.shaders.l", + "inkage.uniform_struct_vec4_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000760, + "dEQP-GLES2.functional.shaders.linkage", + ".uniform_struct_vertex_only_vec4_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000761, + "dEQP-GLES2.functional.shaders.linkage.", + "uniform_struct_fragment_only_vec4_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000762, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_partial_vec4_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000763, + "dEQP-GLES2.functional.shaders.l", + "inkage.uniform_struct_vec4_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000764, + "dEQP-GLES2.functional.shaders.linkage", + ".uniform_struct_vertex_only_vec4_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000765, + "dEQP-GLES2.functional.shaders.linkage.", + "uniform_struct_fragment_only_vec4_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000766, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_partial_vec4_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000767, + "dEQP-GLES2.functional.shaders.linkag", + "e.uniform_struct_partial_vec4_struct"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000768, + "dEQP-GLES2.functional.shaders.linkage.", + "uniform_struct_partial_vec4_vec3_struct"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000769, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_partial_vec2_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000770, + "dEQP-GLES2.functional.shaders.link", + "age.uniform_struct_partial_vec2_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000771, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_partial_int_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000772, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_partial_bvec2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000773, + "dEQP-GLES2.functional.shaders.linka", + "ge.uniform_struct_partial_ivec2_vec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000774, + "dEQP-GLES2.functional.shaders.linkag", + "e.uniform_struct_partial_ivec2_ivec2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000775, + "dEQP-GLES2.functional.shaders.li", + "nkage.uniform_struct_use_case_rip"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000776, + "dEQP-GLES2.functional.shaders.linkage.", + "uniform_struct_use_case_rip_sans_highp"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_reserved_operatorsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_reserved_operatorsTestCase.cpp new file mode 100644 index 000000000..776007915 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_reserved_operatorsTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002347, + "dEQP-GLES2.functional.shaders.reser", + "ved_operators.operator_modulo_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002348, + "dEQP-GLES2.functional.shaders.reserv", + "ed_operators.operator_modulo_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002349, + "dEQP-GLES2.functional.shaders.reserved_op", + "erators.operator_bitwise_shift_left_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002350, + "dEQP-GLES2.functional.shaders.reserved_ope", + "rators.operator_bitwise_shift_left_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002351, + "dEQP-GLES2.functional.shaders.reserved_ope", + "rators.operator_bitwise_shift_right_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002352, + "dEQP-GLES2.functional.shaders.reserved_oper", + "ators.operator_bitwise_shift_right_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002353, + "dEQP-GLES2.functional.shaders.reserved", + "_operators.operator_bitwise_and_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002354, + "dEQP-GLES2.functional.shaders.reserved_", + "operators.operator_bitwise_and_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002355, + "dEQP-GLES2.functional.shaders.reserved", + "_operators.operator_bitwise_xor_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002356, + "dEQP-GLES2.functional.shaders.reserved_", + "operators.operator_bitwise_xor_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002357, + "dEQP-GLES2.functional.shaders.reserve", + "d_operators.operator_bitwise_or_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002358, + "dEQP-GLES2.functional.shaders.reserved", + "_operators.operator_bitwise_or_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002359, + "dEQP-GLES2.functional.shaders.reserved_", + "operators.operator_assign_modulo_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002360, + "dEQP-GLES2.functional.shaders.reserved_o", + "perators.operator_assign_modulo_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002361, + "dEQP-GLES2.functional.shaders.reserved_op", + "erators.operator_assign_shift_left_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002362, + "dEQP-GLES2.functional.shaders.reserved_ope", + "rators.operator_assign_shift_left_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002363, + "dEQP-GLES2.functional.shaders.reserved_op", + "erators.operator_assign_shift_right_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002364, + "dEQP-GLES2.functional.shaders.reserved_ope", + "rators.operator_assign_shift_right_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002365, + "dEQP-GLES2.functional.shaders.reserve", + "d_operators.operator_assign_and_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002366, + "dEQP-GLES2.functional.shaders.reserved", + "_operators.operator_assign_and_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002367, + "dEQP-GLES2.functional.shaders.reserve", + "d_operators.operator_assign_xor_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002368, + "dEQP-GLES2.functional.shaders.reserved", + "_operators.operator_assign_xor_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002369, + "dEQP-GLES2.functional.shaders.reserve", + "d_operators.operator_assign_or_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002370, + "dEQP-GLES2.functional.shaders.reserved", + "_operators.operator_assign_or_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_returnTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_returnTestCase.cpp new file mode 100644 index 000000000..e6f42fbdd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2shaders_returnTestCase.cpp @@ -0,0 +1,176 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007619, + "dEQP-GLES2.functional.shader", + "s.return.single_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007620, + "dEQP-GLES2.functional.shaders", + ".return.single_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007621, + "dEQP-GLES2.functional.shaders.retu", + "rn.conditional_return_always_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007622, + "dEQP-GLES2.functional.shaders.retur", + "n.conditional_return_always_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007623, + "dEQP-GLES2.functional.shaders.retu", + "rn.conditional_return_never_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007624, + "dEQP-GLES2.functional.shaders.retur", + "n.conditional_return_never_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007625, + "dEQP-GLES2.functional.shaders.retur", + "n.conditional_return_dynamic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007626, + "dEQP-GLES2.functional.shaders.return", + ".conditional_return_dynamic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007627, + "dEQP-GLES2.functional.shader", + "s.return.double_return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007628, + "dEQP-GLES2.functional.shaders", + ".return.double_return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007629, + "dEQP-GLES2.functional.shaders.ret", + "urn.last_statement_in_main_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007630, + "dEQP-GLES2.functional.shaders.retu", + "rn.last_statement_in_main_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007631, + "dEQP-GLES2.functional.shaders.r", + "eturn.output_write_always_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007632, + "dEQP-GLES2.functional.shaders.re", + "turn.output_write_always_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007633, + "dEQP-GLES2.functional.shaders.r", + "eturn.output_write_never_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007634, + "dEQP-GLES2.functional.shaders.re", + "turn.output_write_never_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007635, + "dEQP-GLES2.functional.shaders.re", + "turn.output_write_dynamic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007636, + "dEQP-GLES2.functional.shaders.ret", + "urn.output_write_dynamic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007637, + "dEQP-GLES2.functional.shaders.retur", + "n.output_write_in_func_always_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007638, + "dEQP-GLES2.functional.shaders.return", + ".output_write_in_func_always_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007639, + "dEQP-GLES2.functional.shaders.retur", + "n.output_write_in_func_never_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007640, + "dEQP-GLES2.functional.shaders.return", + ".output_write_in_func_never_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007641, + "dEQP-GLES2.functional.shaders.return", + ".output_write_in_func_dynamic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007642, + "dEQP-GLES2.functional.shaders.return.", + "output_write_in_func_dynamic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007643, + "dEQP-GLES2.functional.shaders.return", + ".return_in_static_loop_always_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007644, + "dEQP-GLES2.functional.shaders.return.", + "return_in_static_loop_always_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007645, + "dEQP-GLES2.functional.shaders.retur", + "n.return_in_static_loop_never_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007646, + "dEQP-GLES2.functional.shaders.return", + ".return_in_static_loop_never_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007647, + "dEQP-GLES2.functional.shaders.return", + ".return_in_static_loop_dynamic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007648, + "dEQP-GLES2.functional.shaders.return.", + "return_in_static_loop_dynamic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007649, + "dEQP-GLES2.functional.shaders.return", + ".return_in_dynamic_loop_always_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007650, + "dEQP-GLES2.functional.shaders.return.", + "return_in_dynamic_loop_always_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007651, + "dEQP-GLES2.functional.shaders.return", + ".return_in_dynamic_loop_never_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007652, + "dEQP-GLES2.functional.shaders.return.", + "return_in_dynamic_loop_never_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007653, + "dEQP-GLES2.functional.shaders.return.", + "return_in_dynamic_loop_dynamic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007654, + "dEQP-GLES2.functional.shaders.return.r", + "eturn_in_dynamic_loop_dynamic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007655, + "dEQP-GLES2.functional.shaders.ret", + "urn.return_in_infinite_loop_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007656, + "dEQP-GLES2.functional.shaders.retu", + "rn.return_in_infinite_loop_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_firstTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_firstTestCase.cpp new file mode 100644 index 000000000..0ffcbb9d3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_firstTestCase.cpp @@ -0,0 +1,232 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013335, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.float_first6_offset16_stride8_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013336, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.float_first24_offset16_stride8_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013337, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.float_first6_offset16_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013338, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.float_first24_offset16_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013339, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.float_first6_offset16_stride8_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013340, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.float_first24_offset16_stride8_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013341, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.float_first6_offset16_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013342, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.float_first24_offset16_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013343, + "dEQP-GLES2.functional.vertex_arrays.single_att", + "ribute.first.byte_first6_offset1_stride2_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013344, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first24_offset1_stride2_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013345, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset1_stride17_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013346, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first24_offset1_stride17_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013347, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset1_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013348, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first24_offset1_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013349, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset1_stride2_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013350, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset1_stride2_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013351, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset1_stride17_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013352, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset1_stride17_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013353, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset1_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013354, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset1_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013355, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset16_stride2_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013356, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first24_offset16_stride2_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013357, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset16_stride17_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013358, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset16_stride17_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013359, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset16_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013360, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset16_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013361, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset16_stride2_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013362, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset16_stride2_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013363, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset16_stride17_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013364, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.byte_first24_offset16_stride17_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013365, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset16_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013366, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.byte_first24_offset16_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013367, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset17_stride2_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013368, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first24_offset17_stride2_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013369, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset17_stride17_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013370, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset17_stride17_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013371, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.byte_first6_offset17_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013372, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset17_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013373, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset17_stride2_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013374, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first24_offset17_stride2_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013375, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset17_stride17_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013376, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.byte_first24_offset17_stride17_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013377, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.byte_first6_offset17_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013378, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.byte_first24_offset17_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013379, + "dEQP-GLES2.functional.vertex_arrays.single_attr", + "ibute.first.fixed_first6_offset16_stride8_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013380, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.fixed_first24_offset16_stride8_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013381, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.fixed_first6_offset16_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013382, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.fixed_first24_offset16_stride32_quads5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013383, + "dEQP-GLES2.functional.vertex_arrays.single_attri", + "bute.first.fixed_first6_offset16_stride8_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013384, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.fixed_first24_offset16_stride8_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013385, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.fixed_first6_offset16_stride32_quads256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013386, + "dEQP-GLES2.functional.vertex_arrays.single_attrib", + "ute.first.fixed_first24_offset16_stride32_quads256"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_normalizeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_normalizeTestCase.cpp new file mode 100644 index 000000000..fefb13170 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_normalizeTestCase.cpp @@ -0,0 +1,168 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013073, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_float2_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013074, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_float2_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013075, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_float3_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013076, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_float3_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013077, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_float4_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013078, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_float4_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013079, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_short2_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013080, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_short2_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013081, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_short3_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013082, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_short3_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013083, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_short4_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013084, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_short4_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013085, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_byte2_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013086, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_byte2_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013087, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_byte3_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013088, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_byte3_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013089, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_byte4_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013090, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_byte4_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013091, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.u", + "ser_ptr_0_0_unsigned_short2_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013092, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.us", + "er_ptr_0_0_unsigned_short2_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013093, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.u", + "ser_ptr_0_0_unsigned_short3_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013094, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.us", + "er_ptr_0_0_unsigned_short3_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013095, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.u", + "ser_ptr_0_0_unsigned_short4_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013096, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.us", + "er_ptr_0_0_unsigned_short4_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013097, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.", + "user_ptr_0_0_unsigned_byte2_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013098, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.u", + "ser_ptr_0_0_unsigned_byte2_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013099, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.", + "user_ptr_0_0_unsigned_byte3_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013100, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.u", + "ser_ptr_0_0_unsigned_byte3_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013101, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.", + "user_ptr_0_0_unsigned_byte4_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013102, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normalize.u", + "ser_ptr_0_0_unsigned_byte4_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013103, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_fixed2_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013104, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_fixed2_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013105, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_fixed3_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013106, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_fixed3_normalized_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013107, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normal", + "ize.user_ptr_0_0_fixed4_normalized_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013108, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.normali", + "ze.user_ptr_0_0_fixed4_normalized_vec4_dynamic_draw_quads_256"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_offsetTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_offsetTestCase.cpp new file mode 100644 index 000000000..d7bcc6112 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_offsetTestCase.cpp @@ -0,0 +1,184 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013295, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_4_8_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013296, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_32_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013297, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_8_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013298, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_4_32_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013299, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_8_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013300, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_32_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013301, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_32_8_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013302, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_32_32_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013303, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_1_2_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013304, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_1_17_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013305, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_1_32_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013306, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_1_2_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013307, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_1_17_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013308, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_1_32_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013309, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_4_2_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013310, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_4_17_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013311, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_4_32_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013312, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_2_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013313, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_17_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013314, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_32_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013315, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_17_2_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013316, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_17_17_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013317, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_17_32_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013318, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_17_2_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013319, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_17_17_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013320, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_17_32_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013321, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_32_2_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013322, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_17_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013323, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_32_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013324, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_2_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013325, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_32_17_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013326, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_32_32_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013327, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.offset.buffer_4_8_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013328, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_32_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013329, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_4_8_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013330, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_4_32_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013331, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_8_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013332, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".offset.buffer_32_32_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013333, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_32_8_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013334, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "offset.buffer_32_32_fixed2_vec2_dynamic_draw_quads_256"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp new file mode 100644 index 000000000..ae4ab1225 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_output_typesTestCase.cpp @@ -0,0 +1,456 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013109, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013110, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013111, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float3_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013112, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float3_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013113, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float4_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013114, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float4_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013115, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float2_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013116, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float2_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013117, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float3_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013118, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float3_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013119, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float4_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013120, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float4_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013121, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013122, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013123, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013124, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013125, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_float4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013126, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_float4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013127, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013128, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013129, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short3_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013130, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short3_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013131, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short4_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013132, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short4_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013133, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short2_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013134, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short2_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013135, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short3_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013136, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short3_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013137, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short4_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013138, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short4_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013139, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013140, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013141, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013142, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013143, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_short4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013144, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_short4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013145, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013146, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013147, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte3_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013148, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte3_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013149, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte4_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013150, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte4_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013151, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte2_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013152, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte2_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013153, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte3_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013154, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte3_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013155, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte4_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013156, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte4_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013157, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013158, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013159, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013160, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013161, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_byte4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013162, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_byte4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013163, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013164, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013165, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short3_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013166, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short3_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013167, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short4_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013168, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short4_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013169, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short2_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013170, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short2_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013171, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short3_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013172, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short3_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013173, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short4_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013174, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short4_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013175, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013176, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013177, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013178, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013179, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_short4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013180, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_t", + "ypes.user_ptr_0_0_unsigned_short4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013181, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013182, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013183, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte3_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013184, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte3_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013185, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte4_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013186, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte4_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013187, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte2_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013188, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte2_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013189, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte3_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013190, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte3_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013191, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte4_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013192, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte4_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013193, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013194, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013195, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013196, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013197, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output", + "_types.user_ptr_0_0_unsigned_byte4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013198, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.output_", + "types.user_ptr_0_0_unsigned_byte4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013199, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013200, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013201, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed3_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013202, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed3_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013203, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed4_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013204, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed4_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013205, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed2_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013206, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed2_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013207, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed3_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013208, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed3_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013209, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed4_vec3_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013210, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed4_vec3_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013211, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013212, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013213, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013214, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013215, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.ou", + "tput_types.user_ptr_0_0_fixed4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013216, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.out", + "put_types.user_ptr_0_0_fixed4_vec4_dynamic_draw_quads_256"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_stridesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_stridesTestCase.cpp new file mode 100644 index 000000000..193a5caf6 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_stridesTestCase.cpp @@ -0,0 +1,240 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013019, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_8_float2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013020, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_float2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013021, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_8_float2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013022, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_float2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013023, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_12_float3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013024, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_float3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013025, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_12_float3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013026, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_float3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013027, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_16_float4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013028, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_float4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013029, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_16_float4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013030, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_float4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013031, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_4_short2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013032, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_short2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013033, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_4_short2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013034, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_short2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013035, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_6_short3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013036, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_short3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013037, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_6_short3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013038, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_short3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013039, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_8_short4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013040, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_short4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013041, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_8_short4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013042, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_short4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013043, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.strides.buffer_0_2_byte2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013044, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_17_byte2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013045, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_byte2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013046, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_2_byte2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013047, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_17_byte2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013048, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_byte2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013049, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.strides.buffer_0_3_byte3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013050, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_17_byte3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013051, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_byte3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013052, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_3_byte3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013053, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_17_byte3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013054, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_byte3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013055, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.strides.buffer_0_4_byte4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013056, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_17_byte4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013057, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_byte4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013058, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_4_byte4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013059, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_17_byte4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013060, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_byte4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013061, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_8_fixed2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013062, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_fixed2_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013063, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_8_fixed2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013064, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_fixed2_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013065, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_12_fixed3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013066, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_fixed3_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013067, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_12_fixed3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013068, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_fixed3_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013069, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_16_fixed4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013070, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".strides.buffer_0_32_fixed4_vec4_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013071, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_16_fixed4_vec4_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013072, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "strides.buffer_0_32_fixed4_vec4_dynamic_draw_quads_256"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_usagesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_usagesTestCase.cpp new file mode 100644 index 000000000..d974b8418 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2single_attribute_usagesTestCase.cpp @@ -0,0 +1,336 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20014TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013217, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_float2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013218, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_float2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013219, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013220, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_8_float2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013221, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_8_float2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013222, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_8_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013223, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_float2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013224, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_float2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013225, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_float2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013226, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_float2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013227, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_float2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013228, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013229, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_8_float2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013230, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_8_float2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013231, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_8_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013232, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_float2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013233, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_float2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013234, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "usages.buffer_0_32_float2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013235, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_fixed2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013236, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_fixed2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013237, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013238, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_8_fixed2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013239, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_8_fixed2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013240, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_8_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013241, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_fixed2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013242, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_fixed2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013243, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_fixed2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013244, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_fixed2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013245, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_fixed2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013246, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013247, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_8_fixed2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013248, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_8_fixed2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013249, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_8_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013250, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_fixed2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013251, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_fixed2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013252, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "usages.buffer_0_32_fixed2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013253, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_short2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013254, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_short2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013255, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_short2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013256, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_4_short2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013257, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_4_short2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013258, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_4_short2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013259, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_short2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013260, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_short2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013261, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_short2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013262, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_short2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013263, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_short2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013264, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_short2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013265, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_4_short2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013266, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_4_short2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013267, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_4_short2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013268, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_short2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013269, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_short2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013270, + "dEQP-GLES2.functional.vertex_arrays.single_attribute.", + "usages.buffer_0_32_short2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013271, + "dEQP-GLES2.functional.vertex_arrays.single_attribu", + "te.usages.buffer_0_0_byte2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013272, + "dEQP-GLES2.functional.vertex_arrays.single_attribu", + "te.usages.buffer_0_0_byte2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013273, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013274, + "dEQP-GLES2.functional.vertex_arrays.single_attribu", + "te.usages.buffer_0_2_byte2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013275, + "dEQP-GLES2.functional.vertex_arrays.single_attribu", + "te.usages.buffer_0_2_byte2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013276, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_2_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013277, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_17_byte2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013278, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_17_byte2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013279, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_17_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013280, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_byte2_vec2_static_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013281, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_byte2_vec2_stream_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013282, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_32_byte2_vec2_dynamic_draw_quads_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013283, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_byte2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013284, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_0_byte2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013285, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_0_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013286, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_2_byte2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013287, + "dEQP-GLES2.functional.vertex_arrays.single_attribut", + "e.usages.buffer_0_2_byte2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013288, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_2_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013289, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_17_byte2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013290, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_17_byte2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013291, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_17_byte2_vec2_dynamic_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013292, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_byte2_vec2_static_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013293, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_byte2_vec2_stream_draw_quads_256"); + +static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013294, + "dEQP-GLES2.functional.vertex_arrays.single_attribute", + ".usages.buffer_0_32_byte2_vec2_dynamic_draw_quads_256"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_2dTestCase.cpp new file mode 100644 index 000000000..b8c14596d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_2dTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010266, + "dEQP-GLES2.functional.t", + "exture.size.2d.64x64_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010267, + "dEQP-GLES2.functional.text", + "ure.size.2d.64x64_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010268, + "dEQP-GLES2.functional.text", + "ure.size.2d.64x64_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010269, + "dEQP-GLES2.functional.texture", + ".size.2d.64x64_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010270, + "dEQP-GLES2.functional.tex", + "ture.size.2d.64x64_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010271, + "dEQP-GLES2.functional.textur", + "e.size.2d.64x64_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010272, + "dEQP-GLES2.functional.text", + "ure.size.2d.64x64_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010273, + "dEQP-GLES2.functional.texture", + ".size.2d.64x64_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010274, + "dEQP-GLES2.functional.t", + "exture.size.2d.65x63_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010275, + "dEQP-GLES2.functional.tex", + "ture.size.2d.65x63_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010276, + "dEQP-GLES2.functional.text", + "ure.size.2d.65x63_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010277, + "dEQP-GLES2.functional.te", + "xture.size.2d.512x512_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010278, + "dEQP-GLES2.functional.textu", + "re.size.2d.512x512_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010279, + "dEQP-GLES2.functional.texture.", + "size.2d.512x512_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010280, + "dEQP-GLES2.functional.text", + "ure.size.2d.512x512_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010281, + "dEQP-GLES2.functional.texture", + ".size.2d.512x512_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010282, + "dEQP-GLES2.functional.textu", + "re.size.2d.512x512_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010283, + "dEQP-GLES2.functional.texture.", + "size.2d.512x512_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010284, + "dEQP-GLES2.functional.tex", + "ture.size.2d.1024x1024_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010285, + "dEQP-GLES2.functional.textur", + "e.size.2d.1024x1024_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010286, + "dEQP-GLES2.functional.texture.s", + "ize.2d.1024x1024_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010287, + "dEQP-GLES2.functional.textu", + "re.size.2d.1024x1024_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010288, + "dEQP-GLES2.functional.texture.", + "size.2d.1024x1024_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010289, + "dEQP-GLES2.functional.textur", + "e.size.2d.1024x1024_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010290, + "dEQP-GLES2.functional.texture.s", + "ize.2d.1024x1024_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010291, + "dEQP-GLES2.functional.tex", + "ture.size.2d.2048x2048_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010292, + "dEQP-GLES2.functional.textur", + "e.size.2d.2048x2048_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010293, + "dEQP-GLES2.functional.texture.s", + "ize.2d.2048x2048_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010294, + "dEQP-GLES2.functional.textu", + "re.size.2d.2048x2048_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010295, + "dEQP-GLES2.functional.texture.", + "size.2d.2048x2048_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010296, + "dEQP-GLES2.functional.textur", + "e.size.2d.2048x2048_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010297, + "dEQP-GLES2.functional.texture.s", + "ize.2d.2048x2048_rgba8888_mipmap"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_cubeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_cubeTestCase.cpp new file mode 100644 index 000000000..c94484690 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2size_cubeTestCase.cpp @@ -0,0 +1,192 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010298, + "dEQP-GLES2.functional.te", + "xture.size.cube.15x15_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010299, + "dEQP-GLES2.functional.textu", + "re.size.cube.15x15_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010300, + "dEQP-GLES2.functional.text", + "ure.size.cube.15x15_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010301, + "dEQP-GLES2.functional.textu", + "re.size.cube.15x15_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010302, + "dEQP-GLES2.functional.te", + "xture.size.cube.16x16_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010303, + "dEQP-GLES2.functional.textu", + "re.size.cube.16x16_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010304, + "dEQP-GLES2.functional.textu", + "re.size.cube.16x16_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010305, + "dEQP-GLES2.functional.texture.", + "size.cube.16x16_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010306, + "dEQP-GLES2.functional.text", + "ure.size.cube.16x16_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010307, + "dEQP-GLES2.functional.texture", + ".size.cube.16x16_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010308, + "dEQP-GLES2.functional.textu", + "re.size.cube.16x16_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010309, + "dEQP-GLES2.functional.texture.", + "size.cube.16x16_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010310, + "dEQP-GLES2.functional.te", + "xture.size.cube.64x64_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010311, + "dEQP-GLES2.functional.textu", + "re.size.cube.64x64_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010312, + "dEQP-GLES2.functional.textu", + "re.size.cube.64x64_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010313, + "dEQP-GLES2.functional.texture.", + "size.cube.64x64_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010314, + "dEQP-GLES2.functional.text", + "ure.size.cube.64x64_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010315, + "dEQP-GLES2.functional.texture", + ".size.cube.64x64_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010316, + "dEQP-GLES2.functional.textu", + "re.size.cube.64x64_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010317, + "dEQP-GLES2.functional.texture.", + "size.cube.64x64_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010318, + "dEQP-GLES2.functional.tex", + "ture.size.cube.128x128_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010319, + "dEQP-GLES2.functional.textur", + "e.size.cube.128x128_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010320, + "dEQP-GLES2.functional.textur", + "e.size.cube.128x128_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010321, + "dEQP-GLES2.functional.texture.s", + "ize.cube.128x128_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010322, + "dEQP-GLES2.functional.textu", + "re.size.cube.128x128_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010323, + "dEQP-GLES2.functional.texture.", + "size.cube.128x128_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010324, + "dEQP-GLES2.functional.textur", + "e.size.cube.128x128_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010325, + "dEQP-GLES2.functional.texture.s", + "ize.cube.128x128_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010326, + "dEQP-GLES2.functional.tex", + "ture.size.cube.256x256_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010327, + "dEQP-GLES2.functional.textur", + "e.size.cube.256x256_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010328, + "dEQP-GLES2.functional.texture.s", + "ize.cube.256x256_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010329, + "dEQP-GLES2.functional.textu", + "re.size.cube.256x256_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010330, + "dEQP-GLES2.functional.texture.", + "size.cube.256x256_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010331, + "dEQP-GLES2.functional.textur", + "e.size.cube.256x256_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010332, + "dEQP-GLES2.functional.texture.s", + "ize.cube.256x256_rgba8888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010333, + "dEQP-GLES2.functional.tex", + "ture.size.cube.512x512_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010334, + "dEQP-GLES2.functional.textur", + "e.size.cube.512x512_l8_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010335, + "dEQP-GLES2.functional.texture.s", + "ize.cube.512x512_rgba4444_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010336, + "dEQP-GLES2.functional.textu", + "re.size.cube.512x512_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010337, + "dEQP-GLES2.functional.texture.", + "size.cube.512x512_rgb888_mipmap"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010338, + "dEQP-GLES2.functional.textur", + "e.size.cube.512x512_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010339, + "dEQP-GLES2.functional.texture.s", + "ize.cube.512x512_rgba8888_mipmap"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp new file mode 100644 index 000000000..51308c8c0 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copyteximage2dTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010851, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_copyteximage2d.2d_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010852, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_copyteximage2d.2d_luminance"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010853, + "dEQP-GLES2.functional.texture.specificati", + "on.basic_copyteximage2d.2d_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010854, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_copyteximage2d.2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010855, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_copyteximage2d.2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010856, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_copyteximage2d.cube_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010857, + "dEQP-GLES2.functional.texture.specifica", + "tion.basic_copyteximage2d.cube_luminance"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010858, + "dEQP-GLES2.functional.texture.specificatio", + "n.basic_copyteximage2d.cube_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010859, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_copyteximage2d.cube_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010860, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_copyteximage2d.cube_rgba"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp new file mode 100644 index 000000000..654f30401 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_copytexsubimage2dTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010861, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_copytexsubimage2d.2d_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010862, + "dEQP-GLES2.functional.texture.specificat", + "ion.basic_copytexsubimage2d.2d_luminance"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010863, + "dEQP-GLES2.functional.texture.specification", + ".basic_copytexsubimage2d.2d_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010864, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_copytexsubimage2d.2d_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010865, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_copytexsubimage2d.2d_rgba"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010866, + "dEQP-GLES2.functional.texture.specifica", + "tion.basic_copytexsubimage2d.cube_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010867, + "dEQP-GLES2.functional.texture.specificati", + "on.basic_copytexsubimage2d.cube_luminance"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010868, + "dEQP-GLES2.functional.texture.specification.", + "basic_copytexsubimage2d.cube_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010869, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_copytexsubimage2d.cube_rgb"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010870, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_copytexsubimage2d.cube_rgba"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_teximage2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_teximage2dTestCase.cpp new file mode 100644 index 000000000..b32b8bec1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_teximage2dTestCase.cpp @@ -0,0 +1,128 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010679, + "dEQP-GLES2.functional.texture.spe", + "cification.basic_teximage2d.a8_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010680, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_teximage2d.a8_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010681, + "dEQP-GLES2.functional.texture.spe", + "cification.basic_teximage2d.l8_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010682, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_teximage2d.l8_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010683, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_teximage2d.la88_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010684, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.la88_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010685, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.rgb565_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010686, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgb565_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010687, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.rgb888_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010688, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgb888_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010689, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgba4444_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010690, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_teximage2d.rgba4444_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010691, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgba5551_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010692, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_teximage2d.rgba5551_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010693, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgba8888_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010694, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_teximage2d.rgba8888_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010695, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.rgba16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010696, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgba16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010697, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.rgb16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010698, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_teximage2d.rgb16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010699, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_teximage2d.la16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010700, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.la16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010701, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_teximage2d.l16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010702, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.l16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010703, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_teximage2d.a16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010704, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_teximage2d.a16f_cube"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_texsubimage2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_texsubimage2dTestCase.cpp new file mode 100644 index 000000000..5f28ad771 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_basic_texsubimage2dTestCase.cpp @@ -0,0 +1,128 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010759, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_texsubimage2d.a8_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010760, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_texsubimage2d.a8_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010761, + "dEQP-GLES2.functional.texture.spec", + "ification.basic_texsubimage2d.l8_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010762, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_texsubimage2d.l8_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010763, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_texsubimage2d.la88_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010764, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.la88_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010765, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.rgb565_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010766, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgb565_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010767, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.rgb888_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010768, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgb888_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010769, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgba4444_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010770, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_texsubimage2d.rgba4444_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010771, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgba5551_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010772, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_texsubimage2d.rgba5551_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010773, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgba8888_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010774, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_texsubimage2d.rgba8888_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010775, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgba16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010776, + "dEQP-GLES2.functional.texture.specific", + "ation.basic_texsubimage2d.rgba16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010777, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.rgb16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010778, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.rgb16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010779, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.la16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010780, + "dEQP-GLES2.functional.texture.specifi", + "cation.basic_texsubimage2d.la16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010781, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_texsubimage2d.l16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010782, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.l16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010783, + "dEQP-GLES2.functional.texture.speci", + "fication.basic_texsubimage2d.a16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010784, + "dEQP-GLES2.functional.texture.specif", + "ication.basic_texsubimage2d.a16f_cube"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_random_teximage2dTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_random_teximage2dTestCase.cpp new file mode 100644 index 000000000..758a3576c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_random_teximage2dTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010705, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010706, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010707, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010708, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010709, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010710, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010711, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010712, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010713, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010714, + "dEQP-GLES2.functional.texture.spe", + "cification.random_teximage2d.2d_9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010715, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010716, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010717, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010718, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010719, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010720, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010721, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010722, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010723, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010724, + "dEQP-GLES2.functional.texture.spec", + "ification.random_teximage2d.cube_9"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp new file mode 100644 index 000000000..5d53b6488 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_teximage2d_alignTestCase.cpp @@ -0,0 +1,160 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010725, + "dEQP-GLES2.functional.texture.speci", + "fication.teximage2d_align.2d_l8_4_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010726, + "dEQP-GLES2.functional.texture.speci", + "fication.teximage2d_align.2d_l8_63_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010727, + "dEQP-GLES2.functional.texture.speci", + "fication.teximage2d_align.2d_l8_63_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010728, + "dEQP-GLES2.functional.texture.speci", + "fication.teximage2d_align.2d_l8_63_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010729, + "dEQP-GLES2.functional.texture.speci", + "fication.teximage2d_align.2d_l8_63_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010730, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba4444_51_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010731, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba4444_51_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010732, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba4444_51_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010733, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba4444_51_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010734, + "dEQP-GLES2.functional.texture.specifi", + "cation.teximage2d_align.2d_rgb888_39_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010735, + "dEQP-GLES2.functional.texture.specifi", + "cation.teximage2d_align.2d_rgb888_39_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010736, + "dEQP-GLES2.functional.texture.specifi", + "cation.teximage2d_align.2d_rgb888_39_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010737, + "dEQP-GLES2.functional.texture.specifi", + "cation.teximage2d_align.2d_rgb888_39_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010738, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba8888_47_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010739, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba8888_47_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010740, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba8888_47_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010741, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.2d_rgba8888_47_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010742, + "dEQP-GLES2.functional.texture.specif", + "ication.teximage2d_align.cube_l8_4_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010743, + "dEQP-GLES2.functional.texture.specif", + "ication.teximage2d_align.cube_l8_63_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010744, + "dEQP-GLES2.functional.texture.specif", + "ication.teximage2d_align.cube_l8_63_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010745, + "dEQP-GLES2.functional.texture.specif", + "ication.teximage2d_align.cube_l8_63_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010746, + "dEQP-GLES2.functional.texture.specif", + "ication.teximage2d_align.cube_l8_63_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010747, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba4444_51_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010748, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba4444_51_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010749, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba4444_51_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010750, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba4444_51_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010751, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.cube_rgb888_39_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010752, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.cube_rgb888_39_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010753, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.cube_rgb888_39_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010754, + "dEQP-GLES2.functional.texture.specific", + "ation.teximage2d_align.cube_rgb888_39_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010755, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba8888_47_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010756, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba8888_47_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010757, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba8888_47_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010758, + "dEQP-GLES2.functional.texture.specifica", + "tion.teximage2d_align.cube_rgba8888_47_8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp new file mode 100644 index 000000000..d5f4e38f3 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_alignTestCase.cpp @@ -0,0 +1,184 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010811, + "dEQP-GLES2.functional.texture.specif", + "ication.texsubimage2d_align.2d_l8_1_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010812, + "dEQP-GLES2.functional.texture.specif", + "ication.texsubimage2d_align.2d_l8_1_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010813, + "dEQP-GLES2.functional.texture.specif", + "ication.texsubimage2d_align.2d_l8_1_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010814, + "dEQP-GLES2.functional.texture.specif", + "ication.texsubimage2d_align.2d_l8_1_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010815, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.2d_l8_63_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010816, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.2d_l8_63_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010817, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.2d_l8_63_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010818, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.2d_l8_63_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010819, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba4444_51_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010820, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba4444_51_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010821, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba4444_51_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010822, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba4444_51_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010823, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_align.2d_rgb888_39_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010824, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_align.2d_rgb888_39_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010825, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_align.2d_rgb888_39_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010826, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_align.2d_rgb888_39_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010827, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba8888_47_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010828, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba8888_47_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010829, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba8888_47_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010830, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.2d_rgba8888_47_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010831, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.cube_l8_1_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010832, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.cube_l8_1_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010833, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.cube_l8_1_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010834, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_align.cube_l8_1_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010835, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_align.cube_l8_63_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010836, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_align.cube_l8_63_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010837, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_align.cube_l8_63_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010838, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_align.cube_l8_63_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010839, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba4444_51_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010840, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba4444_51_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010841, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba4444_51_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010842, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba4444_51_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010843, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.cube_rgb888_39_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010844, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.cube_rgb888_39_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010845, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.cube_rgb888_39_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010846, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_align.cube_rgb888_39_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010847, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba8888_47_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010848, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba8888_47_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010849, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba8888_47_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010850, + "dEQP-GLES2.functional.texture.specificati", + "on.texsubimage2d_align.cube_rgba8888_47_8"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_empty_texTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_empty_texTestCase.cpp new file mode 100644 index 000000000..267369e7e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2specification_texsubimage2d_empty_texTestCase.cpp @@ -0,0 +1,128 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010785, + "dEQP-GLES2.functional.texture.specif", + "ication.texsubimage2d_empty_tex.a8_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010786, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_empty_tex.a8_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010787, + "dEQP-GLES2.functional.texture.specif", + "ication.texsubimage2d_empty_tex.l8_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010788, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_empty_tex.l8_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010789, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_empty_tex.la88_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010790, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.la88_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010791, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.rgb565_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010792, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgb565_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010793, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.rgb888_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010794, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgb888_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010795, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgba4444_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010796, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_empty_tex.rgba4444_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010797, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgba5551_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010798, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_empty_tex.rgba5551_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010799, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgba8888_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010800, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_empty_tex.rgba8888_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010801, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgba16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010802, + "dEQP-GLES2.functional.texture.specificat", + "ion.texsubimage2d_empty_tex.rgba16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010803, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.rgb16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010804, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.rgb16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010805, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.la16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010806, + "dEQP-GLES2.functional.texture.specifica", + "tion.texsubimage2d_empty_tex.la16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010807, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_empty_tex.l16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010808, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.l16f_cube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010809, + "dEQP-GLES2.functional.texture.specifi", + "cation.texsubimage2d_empty_tex.a16f_2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010810, + "dEQP-GLES2.functional.texture.specific", + "ation.texsubimage2d_empty_tex.a16f_cube"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.cpp new file mode 100644 index 000000000..99ef69259 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_booleanTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015305, + "dEQP-GLES2.functional.state_qu", + "ery.boolean.cull_face_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015306, + "dEQP-GLES2.functional.state_que", + "ry.boolean.cull_face_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015307, + "dEQP-GLES2.functional.state_que", + "ry.boolean.cull_face_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015308, + "dEQP-GLES2.functional.state_qu", + "ery.boolean.cull_face_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015309, + "dEQP-GLES2.functional.state_query.b", + "oolean.polygon_offset_fill_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015310, + "dEQP-GLES2.functional.state_query.bo", + "olean.polygon_offset_fill_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015311, + "dEQP-GLES2.functional.state_query.bo", + "olean.polygon_offset_fill_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015312, + "dEQP-GLES2.functional.state_query.b", + "oolean.polygon_offset_fill_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015313, + "dEQP-GLES2.functional.state_query.bool", + "ean.sample_alpha_to_coverage_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015314, + "dEQP-GLES2.functional.state_query.bool", + "ean.sample_alpha_to_coverage_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015315, + "dEQP-GLES2.functional.state_query.bool", + "ean.sample_alpha_to_coverage_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015316, + "dEQP-GLES2.functional.state_query.boo", + "lean.sample_alpha_to_coverage_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015317, + "dEQP-GLES2.functional.state_query", + ".boolean.sample_coverage_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015318, + "dEQP-GLES2.functional.state_query.", + "boolean.sample_coverage_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015319, + "dEQP-GLES2.functional.state_query.", + "boolean.sample_coverage_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015320, + "dEQP-GLES2.functional.state_query", + ".boolean.sample_coverage_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015321, + "dEQP-GLES2.functional.state_quer", + "y.boolean.scissor_test_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015322, + "dEQP-GLES2.functional.state_quer", + "y.boolean.scissor_test_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015323, + "dEQP-GLES2.functional.state_quer", + "y.boolean.scissor_test_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015324, + "dEQP-GLES2.functional.state_que", + "ry.boolean.scissor_test_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015325, + "dEQP-GLES2.functional.state_quer", + "y.boolean.stencil_test_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015326, + "dEQP-GLES2.functional.state_quer", + "y.boolean.stencil_test_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015327, + "dEQP-GLES2.functional.state_quer", + "y.boolean.stencil_test_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015328, + "dEQP-GLES2.functional.state_que", + "ry.boolean.stencil_test_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015329, + "dEQP-GLES2.functional.state_que", + "ry.boolean.depth_test_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015330, + "dEQP-GLES2.functional.state_que", + "ry.boolean.depth_test_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015331, + "dEQP-GLES2.functional.state_que", + "ry.boolean.depth_test_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015332, + "dEQP-GLES2.functional.state_qu", + "ery.boolean.depth_test_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015333, + "dEQP-GLES2.functional.state_", + "query.boolean.blend_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015334, + "dEQP-GLES2.functional.state_q", + "uery.boolean.blend_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015335, + "dEQP-GLES2.functional.state_q", + "uery.boolean.blend_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015336, + "dEQP-GLES2.functional.state_", + "query.boolean.blend_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015337, + "dEQP-GLES2.functional.state_q", + "uery.boolean.dither_isenabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015338, + "dEQP-GLES2.functional.state_q", + "uery.boolean.dither_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015339, + "dEQP-GLES2.functional.state_q", + "uery.boolean.dither_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015340, + "dEQP-GLES2.functional.state_", + "query.boolean.dither_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015341, + "dEQP-GLES2.functional.state_query.boo", + "lean.sample_coverage_invert_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015342, + "dEQP-GLES2.functional.state_query.boo", + "lean.sample_coverage_invert_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015343, + "dEQP-GLES2.functional.state_query.bo", + "olean.sample_coverage_invert_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015344, + "dEQP-GLES2.functional.state_query.", + "boolean.color_writemask_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015345, + "dEQP-GLES2.functional.state_query.", + "boolean.color_writemask_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015346, + "dEQP-GLES2.functional.state_query", + ".boolean.color_writemask_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015347, + "dEQP-GLES2.functional.state_query.", + "boolean.depth_writemask_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015348, + "dEQP-GLES2.functional.state_query.", + "boolean.depth_writemask_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015349, + "dEQP-GLES2.functional.state_query", + ".boolean.depth_writemask_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015350, + "dEQP-GLES2.functional.state_query.", + "boolean.shader_compiler_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015351, + "dEQP-GLES2.functional.state_query.", + "boolean.shader_compiler_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015352, + "dEQP-GLES2.functional.state_query", + ".boolean.shader_compiler_getfloat"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_buffer_objectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_buffer_objectTestCase.cpp new file mode 100644 index 000000000..aa3756295 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_buffer_objectTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015653, + "dEQP-GLES2.functional.state_query.buffe", + "r_object.buffer_size_getbufferparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015654, + "dEQP-GLES2.functional.state_query.buffer", + "_object.buffer_usage_getbufferparameteri"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_fboTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_fboTestCase.cpp new file mode 100644 index 000000000..6e04e6653 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_fboTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015655, + "dEQP-GLES2.functional.state_query", + ".fbo.framebuffer_attachment_object"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015656, + "dEQP-GLES2.functional.state_query.fbo", + ".framebuffer_attachment_texture_level"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015657, + "dEQP-GLES2.functional.state_query.fbo.fra", + "mebuffer_attachment_texture_cube_map_face"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_floatsTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_floatsTestCase.cpp new file mode 100644 index 000000000..f8be97695 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_floatsTestCase.cpp @@ -0,0 +1,132 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015605, + "dEQP-GLES2.functional.state_que", + "ry.floats.depth_range_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015606, + "dEQP-GLES2.functional.state_que", + "ry.floats.depth_range_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015607, + "dEQP-GLES2.functional.state_qu", + "ery.floats.depth_range_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015608, + "dEQP-GLES2.functional.state_que", + "ry.floats.line_width_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015609, + "dEQP-GLES2.functional.state_que", + "ry.floats.line_width_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015610, + "dEQP-GLES2.functional.state_qu", + "ery.floats.line_width_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015611, + "dEQP-GLES2.functional.state_query.fl", + "oats.polygon_offset_factor_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015612, + "dEQP-GLES2.functional.state_query.fl", + "oats.polygon_offset_factor_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015613, + "dEQP-GLES2.functional.state_query.f", + "loats.polygon_offset_factor_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015614, + "dEQP-GLES2.functional.state_query.fl", + "oats.polygon_offset_units_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015615, + "dEQP-GLES2.functional.state_query.fl", + "oats.polygon_offset_units_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015616, + "dEQP-GLES2.functional.state_query.f", + "loats.polygon_offset_units_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015617, + "dEQP-GLES2.functional.state_query.fl", + "oats.sample_coverage_value_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015618, + "dEQP-GLES2.functional.state_query.fl", + "oats.sample_coverage_value_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015619, + "dEQP-GLES2.functional.state_query.f", + "loats.sample_coverage_value_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015620, + "dEQP-GLES2.functional.state_query.", + "floats.color_clear_value_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015621, + "dEQP-GLES2.functional.state_query.", + "floats.color_clear_value_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015622, + "dEQP-GLES2.functional.state_query", + ".floats.color_clear_value_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015623, + "dEQP-GLES2.functional.state_query.", + "floats.depth_clear_value_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015624, + "dEQP-GLES2.functional.state_query.", + "floats.depth_clear_value_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015625, + "dEQP-GLES2.functional.state_query", + ".floats.depth_clear_value_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015626, + "dEQP-GLES2.functional.state_query.floa", + "ts.aliased_point_size_range_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015627, + "dEQP-GLES2.functional.state_query.floa", + "ts.aliased_point_size_range_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015628, + "dEQP-GLES2.functional.state_query.flo", + "ats.aliased_point_size_range_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015629, + "dEQP-GLES2.functional.state_query.floa", + "ts.aliased_line_width_range_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015630, + "dEQP-GLES2.functional.state_query.floa", + "ts.aliased_line_width_range_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015631, + "dEQP-GLES2.functional.state_query.flo", + "ats.aliased_line_width_range_getfloat"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_integersTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_integersTestCase.cpp new file mode 100644 index 000000000..5158973a8 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_integersTestCase.cpp @@ -0,0 +1,1032 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015353, + "dEQP-GLES2.functional.state_query", + ".integers.subpixel_bits_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015354, + "dEQP-GLES2.functional.state_quer", + "y.integers.subpixel_bits_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015355, + "dEQP-GLES2.functional.state_query.i", + "ntegers.max_texture_size_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015356, + "dEQP-GLES2.functional.state_query.", + "integers.max_texture_size_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015357, + "dEQP-GLES2.functional.state_query.integ", + "ers.max_cube_map_texture_size_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015358, + "dEQP-GLES2.functional.state_query.inte", + "gers.max_cube_map_texture_size_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015359, + "dEQP-GLES2.functional.state_query.in", + "tegers.max_vertex_attribs_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015360, + "dEQP-GLES2.functional.state_query.i", + "ntegers.max_vertex_attribs_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015361, + "dEQP-GLES2.functional.state_query.intege", + "rs.max_vertex_uniform_vectors_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015362, + "dEQP-GLES2.functional.state_query.integ", + "ers.max_vertex_uniform_vectors_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015363, + "dEQP-GLES2.functional.state_query.in", + "tegers.max_varying_vectors_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015364, + "dEQP-GLES2.functional.state_query.i", + "ntegers.max_varying_vectors_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015365, + "dEQP-GLES2.functional.state_query.integers.", + "max_combined_texture_image_units_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015366, + "dEQP-GLES2.functional.state_query.integers", + ".max_combined_texture_image_units_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015367, + "dEQP-GLES2.functional.state_query.integers", + ".max_vertex_texture_image_units_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015368, + "dEQP-GLES2.functional.state_query.integer", + "s.max_vertex_texture_image_units_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015369, + "dEQP-GLES2.functional.state_query.inte", + "gers.max_texture_image_units_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015370, + "dEQP-GLES2.functional.state_query.int", + "egers.max_texture_image_units_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015371, + "dEQP-GLES2.functional.state_query.integer", + "s.max_fragment_uniform_vectors_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015372, + "dEQP-GLES2.functional.state_query.intege", + "rs.max_fragment_uniform_vectors_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015373, + "dEQP-GLES2.functional.state_query.int", + "egers.max_renderbuffer_size_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015374, + "dEQP-GLES2.functional.state_query.in", + "tegers.max_renderbuffer_size_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015375, + "dEQP-GLES2.functional.state_query.", + "integers.sample_buffers_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015376, + "dEQP-GLES2.functional.state_query", + ".integers.sample_buffers_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015377, + "dEQP-GLES2.functional.state_qu", + "ery.integers.samples_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015378, + "dEQP-GLES2.functional.state_qu", + "ery.integers.samples_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015379, + "dEQP-GLES2.functional.state_q", + "uery.integers.samples_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015380, + "dEQP-GLES2.functional.state_query.int", + "egers.generate_mipmap_hint_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015381, + "dEQP-GLES2.functional.state_query.int", + "egers.generate_mipmap_hint_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015382, + "dEQP-GLES2.functional.state_query.in", + "tegers.generate_mipmap_hint_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015383, + "dEQP-GLES2.functional.state_quer", + "y.integers.depth_func_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015384, + "dEQP-GLES2.functional.state_quer", + "y.integers.depth_func_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015385, + "dEQP-GLES2.functional.state_que", + "ry.integers.depth_func_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015386, + "dEQP-GLES2.functional.state_query.", + "integers.cull_face_mode_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015387, + "dEQP-GLES2.functional.state_query.", + "integers.cull_face_mode_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015388, + "dEQP-GLES2.functional.state_query", + ".integers.cull_face_mode_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015389, + "dEQP-GLES2.functional.state_query.", + "integers.front_face_mode_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015390, + "dEQP-GLES2.functional.state_query.", + "integers.front_face_mode_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015391, + "dEQP-GLES2.functional.state_query", + ".integers.front_face_mode_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015392, + "dEQP-GLES2.functional.state_que", + "ry.integers.viewport_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015393, + "dEQP-GLES2.functional.state_que", + "ry.integers.viewport_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015394, + "dEQP-GLES2.functional.state_qu", + "ery.integers.viewport_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015395, + "dEQP-GLES2.functional.state_quer", + "y.integers.scissor_box_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015396, + "dEQP-GLES2.functional.state_quer", + "y.integers.scissor_box_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015397, + "dEQP-GLES2.functional.state_que", + "ry.integers.scissor_box_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015398, + "dEQP-GLES2.functional.state_query.i", + "ntegers.max_viewport_dims_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015399, + "dEQP-GLES2.functional.state_query.i", + "ntegers.max_viewport_dims_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015400, + "dEQP-GLES2.functional.state_query.", + "integers.max_viewport_dims_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015401, + "dEQP-GLES2.functional.state_query.int", + "egers.buffer_component_size_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015402, + "dEQP-GLES2.functional.state_query.int", + "egers.buffer_component_size_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015403, + "dEQP-GLES2.functional.state_query.in", + "tegers.buffer_component_size_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015404, + "dEQP-GLES2.functional.state_quer", + "y.integers.stencil_ref_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015405, + "dEQP-GLES2.functional.state_quer", + "y.integers.stencil_ref_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015406, + "dEQP-GLES2.functional.state_que", + "ry.integers.stencil_ref_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015407, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_back_ref_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015408, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_back_ref_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015409, + "dEQP-GLES2.functional.state_query.", + "integers.stencil_back_ref_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015410, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_ref_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015411, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_ref_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015412, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_ref_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015413, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_ref_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015414, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_ref_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015415, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_ref_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015416, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_back_ref_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015417, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_back_ref_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015418, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_ref_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015419, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_ref_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015420, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_ref_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015421, + "dEQP-GLES2.functional.state_query.integer", + "s.stencil_back_ref_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015422, + "dEQP-GLES2.functional.state_query", + ".integers.stencil_fail_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015423, + "dEQP-GLES2.functional.state_query", + ".integers.stencil_fail_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015424, + "dEQP-GLES2.functional.state_quer", + "y.integers.stencil_fail_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015425, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_back_fail_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015426, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_back_fail_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015427, + "dEQP-GLES2.functional.state_query.", + "integers.stencil_back_fail_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015428, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_fail_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015429, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_fail_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015430, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_fail_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015431, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_fail_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015432, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_fail_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015433, + "dEQP-GLES2.functional.state_query.integer", + "s.stencil_back_fail_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015434, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_fail_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015435, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_fail_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015436, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_fail_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015437, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_back_fail_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015438, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_back_fail_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015439, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_back_fail_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015440, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_depth_fail_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015441, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_depth_fail_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015442, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_depth_fail_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015443, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_depth_fail_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015444, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_depth_fail_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015445, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_back_depth_fail_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015446, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_depth_fail_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015447, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_depth_fail_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015448, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_depth_fail_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015449, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_depth_fail_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015450, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_depth_fail_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015451, + "dEQP-GLES2.functional.state_query.integers.s", + "tencil_back_depth_fail_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015452, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_depth_fail_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015453, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_depth_fail_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015454, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_depth_fail_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015455, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_back_depth_fail_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015456, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_back_depth_fail_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015457, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_depth_fail_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015458, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_depth_pass_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015459, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_depth_pass_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015460, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_depth_pass_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015461, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_depth_pass_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015462, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_depth_pass_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015463, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_back_depth_pass_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015464, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_depth_pass_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015465, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_depth_pass_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015466, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_depth_pass_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015467, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_depth_pass_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015468, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_depth_pass_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015469, + "dEQP-GLES2.functional.state_query.integers.s", + "tencil_back_depth_pass_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015470, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_depth_pass_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015471, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_depth_pass_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015472, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_depth_pass_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015473, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_back_depth_pass_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015474, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_back_depth_pass_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015475, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_depth_pass_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015476, + "dEQP-GLES2.functional.state_query", + ".integers.stencil_func_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015477, + "dEQP-GLES2.functional.state_query", + ".integers.stencil_func_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015478, + "dEQP-GLES2.functional.state_quer", + "y.integers.stencil_func_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015479, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_func_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015480, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_func_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015481, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_func_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015482, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_func_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015483, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_func_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015484, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_func_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015485, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_back_func_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015486, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_back_func_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015487, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_back_func_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015488, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_func_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015489, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_func_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015490, + "dEQP-GLES2.functional.state_query.integer", + "s.stencil_back_func_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015491, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_value_mask_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015492, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_value_mask_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015493, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_value_mask_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015494, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_value_mask_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015495, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_value_mask_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015496, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_back_value_mask_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015497, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_value_mask_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015498, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_value_mask_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015499, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_value_mask_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015500, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_value_mask_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015501, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_value_mask_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015502, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_value_mask_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015503, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_back_value_mask_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015504, + "dEQP-GLES2.functional.state_query.integers.", + "stencil_back_value_mask_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015505, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_value_mask_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015506, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_value_mask_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015507, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_value_mask_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015508, + "dEQP-GLES2.functional.state_query.integers.s", + "tencil_back_value_mask_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015509, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_writemask_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015510, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_writemask_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015511, + "dEQP-GLES2.functional.state_query.", + "integers.stencil_writemask_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015512, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_writemask_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015513, + "dEQP-GLES2.functional.state_query.inte", + "gers.stencil_back_writemask_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015514, + "dEQP-GLES2.functional.state_query.int", + "egers.stencil_back_writemask_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015515, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_writemask_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015516, + "dEQP-GLES2.functional.state_query.intege", + "rs.stencil_writemask_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015517, + "dEQP-GLES2.functional.state_query.integ", + "ers.stencil_writemask_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015518, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_writemask_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015519, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_writemask_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015520, + "dEQP-GLES2.functional.state_query.integer", + "s.stencil_writemask_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015521, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_writemask_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015522, + "dEQP-GLES2.functional.state_query.integers", + ".stencil_back_writemask_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015523, + "dEQP-GLES2.functional.state_query.integer", + "s.stencil_back_writemask_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015524, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_writemask_separate_both_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015525, + "dEQP-GLES2.functional.state_query.integers.st", + "encil_back_writemask_separate_both_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015526, + "dEQP-GLES2.functional.state_query.integers.s", + "tencil_back_writemask_separate_both_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015527, + "dEQP-GLES2.functional.state_query.i", + "ntegers.unpack_alignment_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015528, + "dEQP-GLES2.functional.state_query.i", + "ntegers.unpack_alignment_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015529, + "dEQP-GLES2.functional.state_query.", + "integers.unpack_alignment_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015530, + "dEQP-GLES2.functional.state_query.", + "integers.pack_alignment_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015531, + "dEQP-GLES2.functional.state_query.", + "integers.pack_alignment_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015532, + "dEQP-GLES2.functional.state_query", + ".integers.pack_alignment_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015533, + "dEQP-GLES2.functional.state_query", + ".integers.blend_src_rgb_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015534, + "dEQP-GLES2.functional.state_query", + ".integers.blend_src_rgb_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015535, + "dEQP-GLES2.functional.state_quer", + "y.integers.blend_src_rgb_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015536, + "dEQP-GLES2.functional.state_query.inte", + "gers.blend_src_rgb_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015537, + "dEQP-GLES2.functional.state_query.inte", + "gers.blend_src_rgb_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015538, + "dEQP-GLES2.functional.state_query.int", + "egers.blend_src_rgb_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015539, + "dEQP-GLES2.functional.state_query.", + "integers.blend_src_alpha_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015540, + "dEQP-GLES2.functional.state_query.", + "integers.blend_src_alpha_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015541, + "dEQP-GLES2.functional.state_query", + ".integers.blend_src_alpha_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015542, + "dEQP-GLES2.functional.state_query.integ", + "ers.blend_src_alpha_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015543, + "dEQP-GLES2.functional.state_query.integ", + "ers.blend_src_alpha_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015544, + "dEQP-GLES2.functional.state_query.inte", + "gers.blend_src_alpha_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015545, + "dEQP-GLES2.functional.state_query", + ".integers.blend_dst_rgb_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015546, + "dEQP-GLES2.functional.state_query", + ".integers.blend_dst_rgb_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015547, + "dEQP-GLES2.functional.state_quer", + "y.integers.blend_dst_rgb_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015548, + "dEQP-GLES2.functional.state_query.inte", + "gers.blend_dst_rgb_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015549, + "dEQP-GLES2.functional.state_query.inte", + "gers.blend_dst_rgb_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015550, + "dEQP-GLES2.functional.state_query.int", + "egers.blend_dst_rgb_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015551, + "dEQP-GLES2.functional.state_query.", + "integers.blend_dst_alpha_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015552, + "dEQP-GLES2.functional.state_query.", + "integers.blend_dst_alpha_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015553, + "dEQP-GLES2.functional.state_query", + ".integers.blend_dst_alpha_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015554, + "dEQP-GLES2.functional.state_query.integ", + "ers.blend_dst_alpha_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015555, + "dEQP-GLES2.functional.state_query.integ", + "ers.blend_dst_alpha_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015556, + "dEQP-GLES2.functional.state_query.inte", + "gers.blend_dst_alpha_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015557, + "dEQP-GLES2.functional.state_query.in", + "tegers.blend_equation_rgb_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015558, + "dEQP-GLES2.functional.state_query.in", + "tegers.blend_equation_rgb_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015559, + "dEQP-GLES2.functional.state_query.i", + "ntegers.blend_equation_rgb_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015560, + "dEQP-GLES2.functional.state_query.intege", + "rs.blend_equation_rgb_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015561, + "dEQP-GLES2.functional.state_query.intege", + "rs.blend_equation_rgb_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015562, + "dEQP-GLES2.functional.state_query.integ", + "ers.blend_equation_rgb_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015563, + "dEQP-GLES2.functional.state_query.int", + "egers.blend_equation_alpha_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015564, + "dEQP-GLES2.functional.state_query.int", + "egers.blend_equation_alpha_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015565, + "dEQP-GLES2.functional.state_query.in", + "tegers.blend_equation_alpha_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015566, + "dEQP-GLES2.functional.state_query.integer", + "s.blend_equation_alpha_separate_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015567, + "dEQP-GLES2.functional.state_query.integer", + "s.blend_equation_alpha_separate_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015568, + "dEQP-GLES2.functional.state_query.intege", + "rs.blend_equation_alpha_separate_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015569, + "dEQP-GLES2.functional.state_query.intege", + "rs.compressed_texture_formats_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015570, + "dEQP-GLES2.functional.state_query.intege", + "rs.compressed_texture_formats_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015571, + "dEQP-GLES2.functional.state_query.integ", + "ers.compressed_texture_formats_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015572, + "dEQP-GLES2.functional.state_query.int", + "egers.shader_binary_formats_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015573, + "dEQP-GLES2.functional.state_query.int", + "egers.shader_binary_formats_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015574, + "dEQP-GLES2.functional.state_query.in", + "tegers.shader_binary_formats_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015575, + "dEQP-GLES2.functional.state_query.int", + "egers.array_buffer_binding_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015576, + "dEQP-GLES2.functional.state_query.int", + "egers.array_buffer_binding_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015577, + "dEQP-GLES2.functional.state_query.in", + "tegers.array_buffer_binding_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015578, + "dEQP-GLES2.functional.state_query.integer", + "s.element_array_buffer_binding_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015579, + "dEQP-GLES2.functional.state_query.integer", + "s.element_array_buffer_binding_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015580, + "dEQP-GLES2.functional.state_query.intege", + "rs.element_array_buffer_binding_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015581, + "dEQP-GLES2.functional.state_query.inte", + "gers.current_program_binding_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015582, + "dEQP-GLES2.functional.state_query.inte", + "gers.current_program_binding_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015583, + "dEQP-GLES2.functional.state_query.int", + "egers.current_program_binding_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015584, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_clear_value_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015585, + "dEQP-GLES2.functional.state_query.in", + "tegers.stencil_clear_value_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015586, + "dEQP-GLES2.functional.state_query.i", + "ntegers.stencil_clear_value_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015587, + "dEQP-GLES2.functional.state_query.", + "integers.active_texture_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015588, + "dEQP-GLES2.functional.state_query.", + "integers.active_texture_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015589, + "dEQP-GLES2.functional.state_query", + ".integers.active_texture_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015590, + "dEQP-GLES2.functional.state_query.int", + "egers.renderbuffer_binding_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015591, + "dEQP-GLES2.functional.state_query.int", + "egers.renderbuffer_binding_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015592, + "dEQP-GLES2.functional.state_query.in", + "tegers.renderbuffer_binding_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015593, + "dEQP-GLES2.functional.state_query.in", + "tegers.texture_binding_2d_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015594, + "dEQP-GLES2.functional.state_query.in", + "tegers.texture_binding_2d_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015595, + "dEQP-GLES2.functional.state_query.i", + "ntegers.texture_binding_2d_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015596, + "dEQP-GLES2.functional.state_query.integ", + "ers.texture_binding_cube_map_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015597, + "dEQP-GLES2.functional.state_query.integ", + "ers.texture_binding_cube_map_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015598, + "dEQP-GLES2.functional.state_query.inte", + "gers.texture_binding_cube_map_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015599, + "dEQP-GLES2.functional.state_query.in", + "tegers.framebuffer_binding_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015600, + "dEQP-GLES2.functional.state_query.in", + "tegers.framebuffer_binding_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015601, + "dEQP-GLES2.functional.state_query.i", + "ntegers.framebuffer_binding_getfloat"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015602, + "dEQP-GLES2.functional.state_query.integ", + "ers.implementation_color_read_getboolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015603, + "dEQP-GLES2.functional.state_query.integ", + "ers.implementation_color_read_getinteger"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015604, + "dEQP-GLES2.functional.state_query.inte", + "gers.implementation_color_read_getfloat"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_rboTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_rboTestCase.cpp new file mode 100644 index 000000000..5bc6ca646 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_rboTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015658, + "dEQP-GLES2.functional.state", + "_query.rbo.renderbuffer_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015659, + "dEQP-GLES2.functional.state_query", + ".rbo.renderbuffer_internal_format"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015660, + "dEQP-GLES2.functional.state_query.r", + "bo.renderbuffer_component_size_color"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015661, + "dEQP-GLES2.functional.state_query.r", + "bo.renderbuffer_component_size_depth"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_shaderTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_shaderTestCase.cpp new file mode 100644 index 000000000..0ef3e8b31 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_shaderTestCase.cpp @@ -0,0 +1,180 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015662, + "dEQP-GLES2.functional.stat", + "e_query.shader.shader_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015663, + "dEQP-GLES2.functional.state_que", + "ry.shader.shader_compile_status"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015664, + "dEQP-GLES2.functional.state_que", + "ry.shader.shader_info_log_length"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015665, + "dEQP-GLES2.functional.state_qu", + "ery.shader.shader_source_length"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015666, + "dEQP-GLES2.functional.state", + "_query.shader.delete_status"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015667, + "dEQP-GLES2.functional.state_query.s", + "hader.current_vertex_attrib_initial"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015668, + "dEQP-GLES2.functional.state_query.", + "shader.current_vertex_attrib_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015669, + "dEQP-GLES2.functional.state_query.sha", + "der.current_vertex_attrib_float_to_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015670, + "dEQP-GLES2.functional.state_quer", + "y.shader.program_info_log_length"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015671, + "dEQP-GLES2.functional.state_quer", + "y.shader.program_validate_status"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015672, + "dEQP-GLES2.functional.state_quer", + "y.shader.program_attached_shaders"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015673, + "dEQP-GLES2.functional.state_query.", + "shader.program_active_uniform_name"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015674, + "dEQP-GLES2.functional.state_query.", + "shader.program_active_uniform_types"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015675, + "dEQP-GLES2.functional.state_q", + "uery.shader.active_attributes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015676, + "dEQP-GLES2.functional.state_q", + "uery.shader.vertex_attrib_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015677, + "dEQP-GLES2.functional.state_q", + "uery.shader.vertex_attrib_type"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015678, + "dEQP-GLES2.functional.state_qu", + "ery.shader.vertex_attrib_stride"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015679, + "dEQP-GLES2.functional.state_quer", + "y.shader.vertex_attrib_normalized"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015680, + "dEQP-GLES2.functional.state_query.", + "shader.vertex_attrib_array_enabled"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015681, + "dEQP-GLES2.functional.state_query.sha", + "der.vertex_attrib_array_buffer_binding"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015682, + "dEQP-GLES2.functional.state_que", + "ry.shader.vertex_attrib_pointerv"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015683, + "dEQP-GLES2.functional.state_qu", + "ery.shader.uniform_value_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015684, + "dEQP-GLES2.functional.state_q", + "uery.shader.uniform_value_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015685, + "dEQP-GLES2.functional.state_que", + "ry.shader.uniform_value_boolean"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015686, + "dEQP-GLES2.functional.state_que", + "ry.shader.uniform_value_sampler"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015687, + "dEQP-GLES2.functional.state_qu", + "ery.shader.uniform_value_array"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015688, + "dEQP-GLES2.functional.state_qu", + "ery.shader.uniform_value_matrix"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015689, + "dEQP-GLES2.functional.state_query.", + "shader.precision_vertex_lowp_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015690, + "dEQP-GLES2.functional.state_query.s", + "hader.precision_vertex_mediump_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015691, + "dEQP-GLES2.functional.state_query.", + "shader.precision_vertex_highp_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015692, + "dEQP-GLES2.functional.state_query", + ".shader.precision_vertex_lowp_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015693, + "dEQP-GLES2.functional.state_query.", + "shader.precision_vertex_mediump_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015694, + "dEQP-GLES2.functional.state_query", + ".shader.precision_vertex_highp_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015695, + "dEQP-GLES2.functional.state_query.s", + "hader.precision_fragment_lowp_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015696, + "dEQP-GLES2.functional.state_query.sh", + "ader.precision_fragment_mediump_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015697, + "dEQP-GLES2.functional.state_query.s", + "hader.precision_fragment_highp_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015698, + "dEQP-GLES2.functional.state_query.", + "shader.precision_fragment_lowp_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015699, + "dEQP-GLES2.functional.state_query.s", + "hader.precision_fragment_mediump_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015700, + "dEQP-GLES2.functional.state_query.", + "shader.precision_fragment_highp_int"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_stringTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_stringTestCase.cpp new file mode 100644 index 000000000..ff5eb2b59 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_stringTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015648, + "dEQP-GLES2.functional.st", + "ate_query.string.renderer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015649, + "dEQP-GLES2.functional.s", + "tate_query.string.vendor"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015650, + "dEQP-GLES2.functional.st", + "ate_query.string.version"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015651, + "dEQP-GLES2.functional.state_quer", + "y.string.shading_language_version"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015652, + "dEQP-GLES2.functional.sta", + "te_query.string.extensions"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_textureTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_textureTestCase.cpp new file mode 100644 index 000000000..228746766 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2state_query_textureTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015632, + "dEQP-GLES2.functional.state_query.texture.", + "texture_2d_texture_wrap_s_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015633, + "dEQP-GLES2.functional.state_query.texture.", + "texture_2d_texture_wrap_s_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015634, + "dEQP-GLES2.functional.state_query.texture.", + "texture_2d_texture_wrap_t_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015635, + "dEQP-GLES2.functional.state_query.texture.", + "texture_2d_texture_wrap_t_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015636, + "dEQP-GLES2.functional.state_query.texture.te", + "xture_2d_texture_mag_filter_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015637, + "dEQP-GLES2.functional.state_query.texture.te", + "xture_2d_texture_mag_filter_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015638, + "dEQP-GLES2.functional.state_query.texture.te", + "xture_2d_texture_min_filter_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015639, + "dEQP-GLES2.functional.state_query.texture.te", + "xture_2d_texture_min_filter_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015640, + "dEQP-GLES2.functional.state_query.texture.tex", + "ture_cube_map_texture_wrap_s_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015641, + "dEQP-GLES2.functional.state_query.texture.tex", + "ture_cube_map_texture_wrap_s_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015642, + "dEQP-GLES2.functional.state_query.texture.tex", + "ture_cube_map_texture_wrap_t_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015643, + "dEQP-GLES2.functional.state_query.texture.tex", + "ture_cube_map_texture_wrap_t_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015644, + "dEQP-GLES2.functional.state_query.texture.textu", + "re_cube_map_texture_mag_filter_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015645, + "dEQP-GLES2.functional.state_query.texture.textu", + "re_cube_map_texture_mag_filter_gettexparameterf"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015646, + "dEQP-GLES2.functional.state_query.texture.textu", + "re_cube_map_texture_min_filter_gettexparameteri"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015647, + "dEQP-GLES2.functional.state_query.texture.textu", + "re_cube_map_texture_min_filter_gettexparameterf"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_localTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_localTestCase.cpp new file mode 100644 index 000000000..455faeab5 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_localTestCase.cpp @@ -0,0 +1,280 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007682, + "dEQP-GLES2.functional.shade", + "rs.struct.local.basic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007683, + "dEQP-GLES2.functional.shader", + "s.struct.local.basic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007684, + "dEQP-GLES2.functional.shader", + "s.struct.local.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007685, + "dEQP-GLES2.functional.shaders", + ".struct.local.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007686, + "dEQP-GLES2.functional.shaders.s", + "truct.local.array_member_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007687, + "dEQP-GLES2.functional.shaders.st", + "ruct.local.array_member_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007688, + "dEQP-GLES2.functional.shaders.struct.l", + "ocal.array_member_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007689, + "dEQP-GLES2.functional.shaders.struct.lo", + "cal.array_member_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007690, + "dEQP-GLES2.functional.shaders.s", + "truct.local.struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007691, + "dEQP-GLES2.functional.shaders.st", + "ruct.local.struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007692, + "dEQP-GLES2.functional.shaders.struct.l", + "ocal.struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007693, + "dEQP-GLES2.functional.shaders.struct.lo", + "cal.struct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007694, + "dEQP-GLES2.functional.shaders.stru", + "ct.local.nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007695, + "dEQP-GLES2.functional.shaders.struc", + "t.local.nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007696, + "dEQP-GLES2.functional.shaders.struct.loca", + "l.nested_struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007697, + "dEQP-GLES2.functional.shaders.struct.local", + ".nested_struct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007698, + "dEQP-GLES2.functional.shaders", + ".struct.local.parameter_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007699, + "dEQP-GLES2.functional.shaders.", + "struct.local.parameter_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007700, + "dEQP-GLES2.functional.shaders.struc", + "t.local.parameter_inout_lowp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007701, + "dEQP-GLES2.functional.shaders.struct", + ".local.parameter_inout_lowp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007702, + "dEQP-GLES2.functional.shaders.struct", + ".local.parameter_inout_mediump_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007703, + "dEQP-GLES2.functional.shaders.struct.", + "local.parameter_inout_mediump_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007704, + "dEQP-GLES2.functional.shaders.struc", + "t.local.parameter_inout_highp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007705, + "dEQP-GLES2.functional.shaders.struct", + ".local.parameter_inout_highp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007706, + "dEQP-GLES2.functional.shaders.str", + "uct.local.parameter_nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007707, + "dEQP-GLES2.functional.shaders.stru", + "ct.local.parameter_nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007708, + "dEQP-GLES2.functional.shaders.stru", + "ct.local.parameter_out_lowp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007709, + "dEQP-GLES2.functional.shaders.struc", + "t.local.parameter_out_lowp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007710, + "dEQP-GLES2.functional.shaders.struc", + "t.local.parameter_out_mediump_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007711, + "dEQP-GLES2.functional.shaders.struct", + ".local.parameter_out_mediump_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007712, + "dEQP-GLES2.functional.shaders.stru", + "ct.local.parameter_out_highp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007713, + "dEQP-GLES2.functional.shaders.struc", + "t.local.parameter_out_highp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007714, + "dEQP-GLES2.functional.shader", + "s.struct.local.return_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007715, + "dEQP-GLES2.functional.shaders", + ".struct.local.return_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007716, + "dEQP-GLES2.functional.shaders.s", + "truct.local.return_nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007717, + "dEQP-GLES2.functional.shaders.st", + "ruct.local.return_nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007718, + "dEQP-GLES2.functional.shaders.struct", + ".local.conditional_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007719, + "dEQP-GLES2.functional.shaders.struct.", + "local.conditional_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007720, + "dEQP-GLES2.functional.shaders.st", + "ruct.local.loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007721, + "dEQP-GLES2.functional.shaders.str", + "uct.local.loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007722, + "dEQP-GLES2.functional.shaders.struct", + ".local.dynamic_loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007723, + "dEQP-GLES2.functional.shaders.struct.", + "local.dynamic_loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007724, + "dEQP-GLES2.functional.shaders.struct.lo", + "cal.nested_conditional_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007725, + "dEQP-GLES2.functional.shaders.struct.loc", + "al.nested_conditional_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007726, + "dEQP-GLES2.functional.shaders.struct", + ".local.nested_loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007727, + "dEQP-GLES2.functional.shaders.struct.", + "local.nested_loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007728, + "dEQP-GLES2.functional.shaders.struct.loc", + "al.nested_dynamic_loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007729, + "dEQP-GLES2.functional.shaders.struct.loca", + "l.nested_dynamic_loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007730, + "dEQP-GLES2.functional.shaders.str", + "uct.local.loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007731, + "dEQP-GLES2.functional.shaders.stru", + "ct.local.loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007732, + "dEQP-GLES2.functional.shaders.struct.", + "local.loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007733, + "dEQP-GLES2.functional.shaders.struct.l", + "ocal.loop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007734, + "dEQP-GLES2.functional.shaders.struct.", + "local.dynamic_loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007735, + "dEQP-GLES2.functional.shaders.struct.l", + "ocal.dynamic_loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007736, + "dEQP-GLES2.functional.shaders.struct.loca", + "l.dynamic_loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007737, + "dEQP-GLES2.functional.shaders.struct.local", + ".dynamic_loop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007738, + "dEQP-GLES2.functional.shaders.", + "struct.local.basic_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007739, + "dEQP-GLES2.functional.shaders.s", + "truct.local.basic_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007740, + "dEQP-GLES2.functional.shaders.st", + "ruct.local.basic_not_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007741, + "dEQP-GLES2.functional.shaders.str", + "uct.local.basic_not_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007742, + "dEQP-GLES2.functional.shaders.s", + "truct.local.nested_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007743, + "dEQP-GLES2.functional.shaders.st", + "ruct.local.nested_equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007744, + "dEQP-GLES2.functional.shaders.str", + "uct.local.nested_not_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007745, + "dEQP-GLES2.functional.shaders.stru", + "ct.local.nested_not_equal_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_uniformTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_uniformTestCase.cpp new file mode 100644 index 000000000..4f1101e4b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2struct_uniformTestCase.cpp @@ -0,0 +1,176 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007746, + "dEQP-GLES2.functional.shader", + "s.struct.uniform.basic_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007747, + "dEQP-GLES2.functional.shaders", + ".struct.uniform.basic_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007748, + "dEQP-GLES2.functional.shaders", + ".struct.uniform.nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007749, + "dEQP-GLES2.functional.shaders.", + "struct.uniform.nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007750, + "dEQP-GLES2.functional.shaders.st", + "ruct.uniform.array_member_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007751, + "dEQP-GLES2.functional.shaders.str", + "uct.uniform.array_member_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007752, + "dEQP-GLES2.functional.shaders.struct.un", + "iform.array_member_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007753, + "dEQP-GLES2.functional.shaders.struct.uni", + "form.array_member_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007754, + "dEQP-GLES2.functional.shaders.st", + "ruct.uniform.struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007755, + "dEQP-GLES2.functional.shaders.str", + "uct.uniform.struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007756, + "dEQP-GLES2.functional.shaders.struct.un", + "iform.struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007757, + "dEQP-GLES2.functional.shaders.struct.uni", + "form.struct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007758, + "dEQP-GLES2.functional.shaders.struc", + "t.uniform.nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007759, + "dEQP-GLES2.functional.shaders.struct", + ".uniform.nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007760, + "dEQP-GLES2.functional.shaders.struct.unifo", + "rm.nested_struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007761, + "dEQP-GLES2.functional.shaders.struct.unifor", + "m.nested_struct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007762, + "dEQP-GLES2.functional.shaders.stru", + "ct.uniform.loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007763, + "dEQP-GLES2.functional.shaders.struc", + "t.uniform.loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007764, + "dEQP-GLES2.functional.shaders.struct.u", + "niform.loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007765, + "dEQP-GLES2.functional.shaders.struct.un", + "iform.loop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007766, + "dEQP-GLES2.functional.shaders.struct.u", + "niform.dynamic_loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007767, + "dEQP-GLES2.functional.shaders.struct.un", + "iform.dynamic_loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007768, + "dEQP-GLES2.functional.shaders.struct.unifo", + "rm.dynamic_loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007769, + "dEQP-GLES2.functional.shaders.struct.unifor", + "m.dynamic_loop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007770, + "dEQP-GLES2.functional.shaders", + ".struct.uniform.sampler_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007771, + "dEQP-GLES2.functional.shaders.", + "struct.uniform.sampler_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007772, + "dEQP-GLES2.functional.shaders.str", + "uct.uniform.sampler_nested_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007773, + "dEQP-GLES2.functional.shaders.stru", + "ct.uniform.sampler_nested_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007774, + "dEQP-GLES2.functional.shaders.st", + "ruct.uniform.sampler_array_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007775, + "dEQP-GLES2.functional.shaders.str", + "uct.uniform.sampler_array_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007776, + "dEQP-GLES2.functional.shaders.struct.", + "uniform.sampler_in_function_arg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007777, + "dEQP-GLES2.functional.shaders.struct.u", + "niform.sampler_in_function_arg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007778, + "dEQP-GLES2.functional.shaders.struct.uni", + "form.sampler_in_array_function_arg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007779, + "dEQP-GLES2.functional.shaders.struct.unif", + "orm.sampler_in_array_function_arg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007780, + "dEQP-GLES2.functional.shader", + "s.struct.uniform.equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007781, + "dEQP-GLES2.functional.shaders", + ".struct.uniform.equal_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007782, + "dEQP-GLES2.functional.shaders.", + "struct.uniform.not_equal_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007783, + "dEQP-GLES2.functional.shaders.s", + "truct.uniform.not_equal_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_fragmentTestCase.cpp new file mode 100644 index 000000000..37abbebfa --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_fragmentTestCase.cpp @@ -0,0 +1,224 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008982, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008983, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008984, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008985, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008986, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008987, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008988, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008989, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008990, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008991, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008992, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008993, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008994, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008995, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008996, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008997, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008998, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008999, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009000, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009001, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009002, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009003, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009004, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009005, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009006, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009007, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009008, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009009, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009010, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009011, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009012, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009013, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009014, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009015, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009016, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009017, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009018, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009019, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009020, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009021, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009022, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009023, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009024, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009025, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009026, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009027, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009028, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009029, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009030, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_009031, + "dEQP-GLES2.functional.shader", + "s.random.swizzle.fragment.49"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_vertexTestCase.cpp new file mode 100644 index 000000000..50470db8b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzle_vertexTestCase.cpp @@ -0,0 +1,224 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20009TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008932, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008933, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008934, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008935, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008936, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008937, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008938, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008939, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008940, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008941, + "dEQP-GLES2.functional.shad", + "ers.random.swizzle.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008942, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008943, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008944, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008945, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008946, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008947, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008948, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008949, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008950, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008951, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008952, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008953, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008954, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008955, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008956, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008957, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008958, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008959, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008960, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008961, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008962, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008963, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008964, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008965, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008966, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008967, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008968, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008969, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008970, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008971, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008972, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008973, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008974, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008975, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008976, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008977, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008978, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008979, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008980, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20009TestSuite, TestCase_008981, + "dEQP-GLES2.functional.shade", + "rs.random.swizzle.vertex.49"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase.cpp new file mode 100644 index 000000000..91d2d7a0c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2swizzles_vector_swizzlesTestCase.cpp @@ -0,0 +1,2616 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001348, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001349, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001350, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_xx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001351, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_xx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001352, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_xy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001353, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_xy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001354, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_yx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001355, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_yx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001356, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_yxy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001357, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_yxy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001358, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_xyxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001359, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_xyxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001360, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_yyyy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001361, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_yyyy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001362, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001363, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001364, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_ss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001365, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_ss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001366, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_st_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001367, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_st_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001368, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_ts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001369, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_ts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001370, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_tst_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001371, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_tst_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001372, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_stss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001373, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_stss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001374, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_tttt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001375, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_tttt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001376, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001377, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001378, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_rr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001379, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_rr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001380, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_rg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001381, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_rg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001382, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec2_gr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001383, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_gr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001384, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_grg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001385, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_grg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001386, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_rgrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001387, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_rgrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001388, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec2_gggg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001389, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec2_gggg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001390, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001391, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001392, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_z_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001393, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_z_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001394, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_xz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001395, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_xz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001396, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_zz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001397, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_zz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001398, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_xyz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001399, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_xyz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001400, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_zyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001401, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_zyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001402, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_xxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001403, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_xxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001404, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_zzz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001405, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_zzz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001406, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_zzy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001407, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_zzy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001408, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_yxy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001409, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_yxy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001410, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_xzx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001411, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_xzx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001412, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_xyyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001413, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_xyyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001414, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_zzzz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001415, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_zzzz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001416, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001417, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001418, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_p_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001419, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_p_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001420, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_sp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001421, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_sp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001422, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_pp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001423, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_pp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001424, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_stp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001425, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_stp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001426, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_pts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001427, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_pts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001428, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_sss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001429, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_sss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001430, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_ppp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001431, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_ppp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001432, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_ppt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001433, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_ppt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001434, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_tst_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001435, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_tst_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001436, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_sps_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001437, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_sps_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001438, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_stts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001439, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_stts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001440, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_pppp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001441, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_pppp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001442, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001443, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001444, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_b_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001445, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_b_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001446, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_rb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001447, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_rb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001448, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec3_bb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001449, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_bb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001450, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_rgb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001451, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_rgb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001452, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_bgr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001453, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_bgr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001454, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_rrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001455, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_rrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001456, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_bbb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001457, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_bbb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001458, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_bbg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001459, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_bbg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001460, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_grg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001461, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_grg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001462, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_rbr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001463, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_rbr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001464, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_rggr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001465, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_rggr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001466, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec3_bbbb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001467, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec3_bbbb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001468, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001469, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001470, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_w_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001471, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_w_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001472, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_wx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001473, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001474, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_wz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001475, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001476, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_www_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001477, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_www_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001478, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_yyw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001479, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_yyw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001480, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wzy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001481, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_wzy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001482, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_xyzw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001483, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_xyzw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001484, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wzyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001485, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_wzyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001486, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_xxxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001487, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_xxxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001488, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_yyyy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001489, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_yyyy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001490, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wwww_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001491, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_wwww_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001492, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wzzw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001493, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_wzzw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001494, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_wwwy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001495, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_wwwy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001496, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_xyxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001497, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_xyxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001498, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_zzwz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001499, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_zzwz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001500, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001501, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001502, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_q_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001503, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_q_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001504, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_qs_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001505, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qs_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001506, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_qp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001507, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001508, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qqq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001509, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_qqq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001510, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_ttq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001511, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_ttq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001512, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qpt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001513, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_qpt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001514, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_stpq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001515, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_stpq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001516, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qpts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001517, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_qpts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001518, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_ssss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001519, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_ssss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001520, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_tttt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001521, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_tttt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001522, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qqqq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001523, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_qqqq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001524, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qppq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001525, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_qppq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001526, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_qqqt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001527, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_qqqt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001528, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_stss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001529, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_stss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001530, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_ppqp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001531, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_ppqp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001532, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001533, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001534, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_a_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001535, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_a_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001536, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_ar_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001537, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_ar_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001538, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_vec4_ab_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001539, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_ab_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001540, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_aaa_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001541, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_aaa_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001542, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_gga_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001543, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_gga_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001544, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_abg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001545, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_abg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001546, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_rgba_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001547, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_rgba_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001548, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_abgr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001549, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_abgr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001550, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_rrrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001551, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_rrrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001552, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_gggg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001553, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_gggg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001554, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_aaaa_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001555, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_aaaa_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001556, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_abba_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001557, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_abba_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001558, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_aaag_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001559, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_aaag_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001560, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_rgrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001561, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_rgrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001562, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_vec4_bbab_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001563, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_vec4_bbab_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001564, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec2_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001565, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001566, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_xx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001567, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_xx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001568, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_xy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001569, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_xy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001570, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_yx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001571, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_yx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001572, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_yxy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001573, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_yxy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001574, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_xyxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001575, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec2_xyxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001576, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_yyyy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001577, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec2_yyyy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001578, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec2_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001579, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001580, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_ss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001581, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_ss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001582, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_st_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001583, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_st_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001584, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_ts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001585, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_ts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001586, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_tst_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001587, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_tst_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001588, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_stss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001589, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec2_stss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001590, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_tttt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001591, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec2_tttt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001592, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec2_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001593, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001594, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_rr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001595, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_rr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001596, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_rg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001597, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_rg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001598, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_gr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001599, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_gr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001600, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec2_grg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001601, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_grg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001602, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_rgrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001603, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec2_rgrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001604, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec2_gggg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001605, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec2_gggg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001606, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec3_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001607, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001608, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec3_z_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001609, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_z_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001610, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_xz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001611, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_xz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001612, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_zz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001613, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_zz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001614, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_xyz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001615, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_xyz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001616, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_zyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001617, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_zyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001618, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_xxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001619, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_xxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001620, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_zzz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001621, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_zzz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001622, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_zzy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001623, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_zzy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001624, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_yxy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001625, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_yxy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001626, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_xzx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001627, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_xzx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001628, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_xyyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001629, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec3_xyyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001630, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_zzzz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001631, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec3_zzzz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001632, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec3_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001633, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001634, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec3_p_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001635, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_p_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001636, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_sp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001637, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_sp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001638, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_pp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001639, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_pp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001640, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_stp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001641, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_stp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001642, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_pts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001643, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_pts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001644, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_sss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001645, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_sss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001646, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_ppp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001647, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_ppp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001648, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_ppt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001649, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_ppt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001650, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_tst_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001651, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_tst_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001652, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_sps_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001653, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_sps_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001654, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_stts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001655, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec3_stts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001656, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_pppp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001657, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec3_pppp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001658, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec3_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001659, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001660, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec3_b_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001661, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_b_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001662, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_rb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001663, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_rb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001664, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_bb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001665, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_bb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001666, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_rgb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001667, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_rgb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001668, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_bgr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001669, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_bgr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001670, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_rrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001671, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_rrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001672, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_bbb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001673, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_bbb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001674, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_bbg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001675, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_bbg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001676, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_grg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001677, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_grg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001678, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec3_rbr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001679, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_rbr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001680, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_rggr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001681, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec3_rggr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001682, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec3_bbbb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001683, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec3_bbbb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001684, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec4_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001685, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001686, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec4_w_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001687, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_w_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001688, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_wx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001689, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001690, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_wz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001691, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001692, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_www_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001693, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_www_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001694, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_yyw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001695, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_yyw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001696, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_wzy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001697, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wzy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001698, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_xyzw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001699, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_xyzw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001700, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wzyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001701, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_wzyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001702, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_xxxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001703, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_xxxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001704, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_yyyy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001705, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_yyyy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001706, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wwww_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001707, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_wwww_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001708, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wzzw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001709, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_wzzw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001710, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_wwwy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001711, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_wwwy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001712, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_xyxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001713, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_xyxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001714, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_zzwz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001715, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_zzwz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001716, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec4_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001717, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001718, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec4_q_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001719, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_q_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001720, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_qs_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001721, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qs_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001722, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_qp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001723, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001724, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_qqq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001725, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qqq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001726, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_ttq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001727, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_ttq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001728, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_qpt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001729, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qpt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001730, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_stpq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001731, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_stpq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001732, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qpts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001733, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_qpts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001734, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_ssss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001735, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_ssss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001736, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_tttt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001737, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_tttt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001738, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qqqq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001739, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_qqqq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001740, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qppq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001741, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_qppq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001742, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_qqqt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001743, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_qqqt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001744, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_stss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001745, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_stss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001746, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_ppqp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001747, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_ppqp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001748, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec4_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001749, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001750, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_ivec4_a_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001751, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_a_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001752, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_ar_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001753, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_ar_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001754, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_ab_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001755, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_ab_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001756, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_aaa_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001757, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_aaa_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001758, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_gga_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001759, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_gga_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001760, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_ivec4_abg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001761, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_abg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001762, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_rgba_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001763, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_rgba_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001764, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_abgr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001765, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_abgr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001766, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_rrrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001767, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_rrrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001768, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_gggg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001769, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_gggg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001770, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_aaaa_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001771, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_aaaa_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001772, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_abba_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001773, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_abba_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001774, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_aaag_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001775, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_aaag_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001776, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_rgrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001777, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_rgrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001778, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_ivec4_bbab_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001779, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_ivec4_bbab_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001780, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec2_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001781, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001782, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_xx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001783, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_xx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001784, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_xy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001785, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_xy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001786, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_yx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001787, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_yx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001788, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_yxy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001789, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_yxy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001790, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_xyxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001791, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec2_xyxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001792, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_yyyy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001793, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec2_yyyy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001794, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec2_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001795, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001796, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_ss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001797, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_ss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001798, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_st_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001799, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_st_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001800, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_ts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001801, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_ts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001802, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_tst_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001803, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_tst_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001804, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_stss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001805, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec2_stss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001806, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_tttt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001807, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec2_tttt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001808, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec2_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001809, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001810, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_rr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001811, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_rr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001812, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_rg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001813, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_rg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001814, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_gr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001815, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_gr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001816, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec2_grg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001817, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_grg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001818, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_rgrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001819, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec2_rgrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001820, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec2_gggg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001821, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec2_gggg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001822, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec3_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001823, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001824, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec3_z_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001825, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_z_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001826, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_xz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001827, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_xz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001828, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_zz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001829, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_zz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001830, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_xyz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001831, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_xyz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001832, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_zyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001833, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_zyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001834, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_xxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001835, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_xxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001836, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_zzz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001837, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_zzz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001838, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_zzy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001839, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_zzy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001840, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_yxy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001841, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_yxy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001842, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_xzx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001843, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_xzx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001844, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_xyyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001845, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec3_xyyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001846, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_zzzz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001847, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec3_zzzz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001848, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec3_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001849, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001850, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec3_p_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001851, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_p_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001852, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_sp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001853, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_sp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001854, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_pp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001855, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_pp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001856, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_stp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001857, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_stp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001858, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_pts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001859, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_pts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001860, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_sss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001861, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_sss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001862, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_ppp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001863, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_ppp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001864, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_ppt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001865, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_ppt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001866, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_tst_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001867, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_tst_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001868, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_sps_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001869, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_sps_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001870, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_stts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001871, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec3_stts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001872, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_pppp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001873, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec3_pppp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001874, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec3_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001875, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001876, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec3_b_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001877, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_b_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001878, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_rb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001879, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_rb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001880, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_bb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001881, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_bb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001882, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_rgb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001883, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_rgb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001884, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_bgr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001885, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_bgr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001886, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_rrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001887, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_rrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001888, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_bbb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001889, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_bbb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001890, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_bbg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001891, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_bbg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001892, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_grg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001893, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_grg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001894, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec3_rbr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001895, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_rbr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001896, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_rggr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001897, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec3_rggr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001898, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec3_bbbb_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001899, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec3_bbbb_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001900, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec4_x_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001901, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_x_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001902, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec4_w_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001903, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_w_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001904, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_wx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001905, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001906, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_wz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001907, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001908, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_www_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001909, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_www_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001910, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_yyw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001911, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_yyw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001912, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_wzy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001913, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wzy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001914, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_xyzw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001915, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_xyzw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001916, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wzyx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001917, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_wzyx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001918, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_xxxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001919, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_xxxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001920, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_yyyy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001921, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_yyyy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001922, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wwww_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001923, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_wwww_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001924, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wzzw_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001925, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_wzzw_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001926, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_wwwy_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001927, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_wwwy_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001928, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_xyxx_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001929, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_xyxx_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001930, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_zzwz_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001931, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_zzwz_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001932, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec4_s_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001933, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_s_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001934, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec4_q_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001935, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_q_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001936, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_qs_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001937, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qs_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001938, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_qp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001939, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001940, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_qqq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001941, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qqq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001942, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_ttq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001943, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_ttq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001944, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_qpt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001945, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qpt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001946, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_stpq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001947, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_stpq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001948, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qpts_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001949, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_qpts_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001950, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_ssss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001951, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_ssss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001952, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_tttt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001953, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_tttt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001954, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qqqq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001955, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_qqqq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001956, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qppq_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001957, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_qppq_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001958, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_qqqt_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001959, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_qqqt_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001960, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_stss_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001961, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_stss_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001962, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_ppqp_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001963, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_ppqp_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001964, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec4_r_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001965, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_r_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001966, + "dEQP-GLES2.functional.shaders.swizzles", + ".vector_swizzles.mediump_bvec4_a_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001967, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_a_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001968, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_ar_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001969, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_ar_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001970, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_ab_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001971, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_ab_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001972, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_aaa_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001973, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_aaa_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001974, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_gga_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001975, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_gga_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001976, + "dEQP-GLES2.functional.shaders.swizzles.", + "vector_swizzles.mediump_bvec4_abg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001977, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_abg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001978, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_rgba_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001979, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_rgba_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001980, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_abgr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001981, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_abgr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001982, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_rrrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001983, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_rrrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001984, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_gggg_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001985, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_gggg_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001986, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_aaaa_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001987, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_aaaa_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001988, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_abba_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001989, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_abba_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001990, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_aaag_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001991, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_aaag_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001992, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_rgrr_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001993, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_rgrr_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001994, + "dEQP-GLES2.functional.shaders.swizzles.v", + "ector_swizzles.mediump_bvec4_bbab_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20002TestSuite, TestCase_001995, + "dEQP-GLES2.functional.shaders.swizzles.ve", + "ctor_swizzles.mediump_bvec4_bbab_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_color0TestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_color0TestCase.cpp new file mode 100644 index 000000000..50d64a8b9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_color0TestCase.cpp @@ -0,0 +1,204 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012798, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.texture.color0.depth_component_unsigned_short"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012799, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.texture.color0.depth_component_unsigned_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012800, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.red_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012801, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.color0.red_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012802, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.red_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012803, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.rgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012804, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.color0.rgb_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012805, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.texture.color0.rgb_unsigned_short_5_6_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012806, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.color0.rgb_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012807, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.color0.rgb_unsigned_int_10f_11f_11f_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012808, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.rgb_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012809, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.rgba_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012810, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.color0.rgba_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012811, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.texture.color0.rgba_unsigned_short_4_4_4_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012812, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.texture.color0.rgba_unsigned_short_5_5_5_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012813, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.color0.rgba_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012814, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.texture.color0.rgba_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012815, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.color0.rgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012816, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.color0.rgb10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012817, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.color0.rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012818, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.color0.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012819, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.color0.rgba8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012820, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.color0.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012821, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012822, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.depth_component24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012823, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.depth_component32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012824, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.color0.rg_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012825, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.color0.rg_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012826, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.rg_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012827, + "dEQP-GLES2.functional.fbo.complet", + "eness.renderable.texture.color0.r8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012828, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.color0.rg8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012829, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.color0.r16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012830, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.color0.rg16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012831, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.color0.depth_stencil_unsigned_int_24_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012832, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.color0.rgba16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012833, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.color0.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012834, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.texture.color0.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012835, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.color0.srgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012836, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.color0.srgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012837, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.texture.color0.srgb_alpha_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012838, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.texture.color0.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012839, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.texture.color0.stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012840, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.color0.rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012841, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.color0.sr8_ext"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012842, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.color0.srg8_ext"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_depthTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_depthTestCase.cpp new file mode 100644 index 000000000..9e441e572 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_depthTestCase.cpp @@ -0,0 +1,208 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012889, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.texture.depth.depth_component_unsigned_short"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012890, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.texture.depth.depth_component_unsigned_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012891, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.red_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012892, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.depth.red_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012893, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.depth.red_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012894, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.rgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012895, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.depth.rgb_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012896, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.texture.depth.rgb_unsigned_short_5_6_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012897, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.texture.depth.rgb_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012898, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.depth.rgb_unsigned_int_10f_11f_11f_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012899, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.depth.rgb_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012900, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.depth.rgba_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012901, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.depth.rgba_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012902, + "dEQP-GLES2.functional.fbo.completeness.render", + "able.texture.depth.rgba_unsigned_short_4_4_4_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012903, + "dEQP-GLES2.functional.fbo.completeness.render", + "able.texture.depth.rgba_unsigned_short_5_5_5_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012904, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.depth.rgba_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012905, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.depth.rgba_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012906, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.rgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012907, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.rgb10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012908, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012909, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.depth.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012910, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.rgba8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012911, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.depth.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012912, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012913, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.depth_component24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012914, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.depth_component32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012915, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.rg_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012916, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.depth.rg_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012917, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.rg_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012918, + "dEQP-GLES2.functional.fbo.complet", + "eness.renderable.texture.depth.r8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012919, + "dEQP-GLES2.functional.fbo.complet", + "eness.renderable.texture.depth.rg8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012920, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.r16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012921, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.rg16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012922, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.texture.depth.depth_stencil_unsigned_int_24_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012923, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.depth.rgba16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012924, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.depth.rgb16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012925, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.depth.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012926, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.texture.depth.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012927, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.depth.srgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012928, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.depth.srgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012929, + "dEQP-GLES2.functional.fbo.completeness.rende", + "rable.texture.depth.srgb_alpha_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012930, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.texture.depth.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012931, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.texture.depth.stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012932, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.depth.rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012933, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.depth.sr8_ext"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012934, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.depth.srg8_ext"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_formatTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_formatTestCase.cpp new file mode 100644 index 000000000..c561b078d --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_formatTestCase.cpp @@ -0,0 +1,168 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010230, + "dEQP-GLES2.functional.t", + "exture.format.a8_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010231, + "dEQP-GLES2.functional.t", + "exture.format.a8_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010232, + "dEQP-GLES2.functional.te", + "xture.format.a8_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010233, + "dEQP-GLES2.functional.te", + "xture.format.a8_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010234, + "dEQP-GLES2.functional.t", + "exture.format.l8_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010235, + "dEQP-GLES2.functional.t", + "exture.format.l8_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010236, + "dEQP-GLES2.functional.te", + "xture.format.l8_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010237, + "dEQP-GLES2.functional.te", + "xture.format.l8_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010238, + "dEQP-GLES2.functional.te", + "xture.format.la88_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010239, + "dEQP-GLES2.functional.te", + "xture.format.la88_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010240, + "dEQP-GLES2.functional.tex", + "ture.format.la88_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010241, + "dEQP-GLES2.functional.tex", + "ture.format.la88_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010242, + "dEQP-GLES2.functional.tex", + "ture.format.rgb565_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010243, + "dEQP-GLES2.functional.tex", + "ture.format.rgb565_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010244, + "dEQP-GLES2.functional.text", + "ure.format.rgb565_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010245, + "dEQP-GLES2.functional.text", + "ure.format.rgb565_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010246, + "dEQP-GLES2.functional.tex", + "ture.format.rgb888_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010247, + "dEQP-GLES2.functional.tex", + "ture.format.rgb888_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010248, + "dEQP-GLES2.functional.text", + "ure.format.rgb888_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010249, + "dEQP-GLES2.functional.text", + "ure.format.rgb888_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010250, + "dEQP-GLES2.functional.text", + "ure.format.rgba4444_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010251, + "dEQP-GLES2.functional.text", + "ure.format.rgba4444_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010252, + "dEQP-GLES2.functional.textu", + "re.format.rgba4444_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010253, + "dEQP-GLES2.functional.textu", + "re.format.rgba4444_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010254, + "dEQP-GLES2.functional.text", + "ure.format.rgba5551_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010255, + "dEQP-GLES2.functional.text", + "ure.format.rgba5551_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010256, + "dEQP-GLES2.functional.textu", + "re.format.rgba5551_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010257, + "dEQP-GLES2.functional.textu", + "re.format.rgba5551_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010258, + "dEQP-GLES2.functional.text", + "ure.format.rgba8888_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010259, + "dEQP-GLES2.functional.text", + "ure.format.rgba8888_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010260, + "dEQP-GLES2.functional.textu", + "re.format.rgba8888_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010261, + "dEQP-GLES2.functional.textu", + "re.format.rgba8888_cube_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010262, + "dEQP-GLES2.functional.te", + "xture.format.etc1_2d_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010263, + "dEQP-GLES2.functional.te", + "xture.format.etc1_2d_npot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010264, + "dEQP-GLES2.functional.tex", + "ture.format.etc1_cube_pot"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010265, + "dEQP-GLES2.functional.tex", + "ture.format.etc1_cube_npot"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_fragmentTestCase.cpp new file mode 100644 index 000000000..2829a5f0b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_fragmentTestCase.cpp @@ -0,0 +1,624 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009882, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009883, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009884, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009885, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009886, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009887, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009888, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009889, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009890, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009891, + "dEQP-GLES2.functional.shade", + "rs.random.texture.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009892, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009893, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009894, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009895, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009896, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009897, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009898, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009899, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009900, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009901, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009902, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009903, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009904, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009905, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009906, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009907, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009908, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009909, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009910, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009911, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009912, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009913, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009914, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009915, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009916, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009917, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009918, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009919, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009920, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009921, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009922, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009923, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009924, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009925, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009926, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009927, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009928, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009929, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009930, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009931, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009932, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009933, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009934, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009935, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009936, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009937, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009938, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009939, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009940, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009941, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009942, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009943, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009944, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009945, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009946, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009947, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009948, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009949, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009950, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009951, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009952, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009953, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009954, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009955, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009956, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009957, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009958, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009959, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009960, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009961, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009962, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009963, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009964, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009965, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009966, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009967, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009968, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009969, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009970, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009971, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009972, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009973, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009974, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009975, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009976, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009977, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009978, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009979, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009980, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009981, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.99"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009982, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.100"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009983, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.101"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009984, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.102"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009985, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.103"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009986, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.104"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009987, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.105"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009988, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.106"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009989, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.107"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009990, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.108"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009991, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.109"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009992, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.110"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009993, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.111"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009994, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.112"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009995, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.113"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009996, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.114"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009997, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.115"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009998, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.116"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009999, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.117"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010000, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.118"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010001, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.119"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010002, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.120"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010003, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.121"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010004, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.122"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010005, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.123"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010006, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.124"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010007, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.125"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010008, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.126"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010009, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.127"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010010, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.128"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010011, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.129"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010012, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.130"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010013, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.131"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010014, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.132"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010015, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.133"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010016, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.134"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010017, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.135"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010018, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.136"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010019, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.137"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010020, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.138"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010021, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.139"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010022, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.140"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010023, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.141"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010024, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.142"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010025, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.143"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010026, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.144"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010027, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.145"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010028, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.146"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010029, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.147"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010030, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.148"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_010031, + "dEQP-GLES2.functional.shader", + "s.random.texture.fragment.149"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_fragmentTestCase.cpp new file mode 100644 index 000000000..b13866705 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_fragmentTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007814, + "dEQP-GLES2.functional.shaders.tex", + "ture_functions.fragment.texture2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007815, + "dEQP-GLES2.functional.shaders.textu", + "re_functions.fragment.texture2d_bias"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007816, + "dEQP-GLES2.functional.shaders.texture", + "_functions.fragment.texture2dproj_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007817, + "dEQP-GLES2.functional.shaders.texture", + "_functions.fragment.texture2dproj_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007818, + "dEQP-GLES2.functional.shaders.texture_fu", + "nctions.fragment.texture2dproj_vec3_bias"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007819, + "dEQP-GLES2.functional.shaders.texture_fu", + "nctions.fragment.texture2dproj_vec4_bias"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007820, + "dEQP-GLES2.functional.shaders.text", + "ure_functions.fragment.texturecube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007821, + "dEQP-GLES2.functional.shaders.textur", + "e_functions.fragment.texturecube_bias"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_invalidTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_invalidTestCase.cpp new file mode 100644 index 000000000..cf3acecdb --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_invalidTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007822, + "dEQP-GLES2.functional.shaders.texture_fun", + "ctions.invalid.texturecubelod_in_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_vertexTestCase.cpp new file mode 100644 index 000000000..06bf83629 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_functions_vertexTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20008TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007806, + "dEQP-GLES2.functional.shaders.te", + "xture_functions.vertex.texture2d"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007807, + "dEQP-GLES2.functional.shaders.textur", + "e_functions.vertex.texture2dproj_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007808, + "dEQP-GLES2.functional.shaders.textur", + "e_functions.vertex.texture2dproj_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007809, + "dEQP-GLES2.functional.shaders.tex", + "ture_functions.vertex.texture2dlod"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007810, + "dEQP-GLES2.functional.shaders.texture_", + "functions.vertex.texture2dprojlod_vec3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007811, + "dEQP-GLES2.functional.shaders.texture_", + "functions.vertex.texture2dprojlod_vec4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007812, + "dEQP-GLES2.functional.shaders.tex", + "ture_functions.vertex.texturecube"); + +static SHRINK_HWTEST_F(ActsDeqpgles20008TestSuite, TestCase_007813, + "dEQP-GLES2.functional.shaders.text", + "ure_functions.vertex.texturecubelod"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp new file mode 100644 index 000000000..075ed0173 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_stencilTestCase.cpp @@ -0,0 +1,208 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20013TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012843, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.stencil.depth_component_unsigned_short"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012844, + "dEQP-GLES2.functional.fbo.completeness.renderab", + "le.texture.stencil.depth_component_unsigned_int"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012845, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.red_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012846, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.stencil.red_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012847, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.texture.stencil.red_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012848, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.rgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012849, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.stencil.rgb_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012850, + "dEQP-GLES2.functional.fbo.completeness.render", + "able.texture.stencil.rgb_unsigned_short_5_6_5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012851, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.stencil.rgb_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012852, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".texture.stencil.rgb_unsigned_int_10f_11f_11f_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012853, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.texture.stencil.rgb_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012854, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.texture.stencil.rgba_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012855, + "dEQP-GLES2.functional.fbo.completeness", + ".renderable.texture.stencil.rgba_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012856, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.texture.stencil.rgba_unsigned_short_4_4_4_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012857, + "dEQP-GLES2.functional.fbo.completeness.rendera", + "ble.texture.stencil.rgba_unsigned_short_5_5_5_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012858, + "dEQP-GLES2.functional.fbo.completeness.renderable", + ".texture.stencil.rgba_unsigned_int_2_10_10_10_rev"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012859, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.texture.stencil.rgba_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012860, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.rgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012861, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.rgb10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012862, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.rgba4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012863, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.stencil.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012864, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.rgba8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012865, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.stencil.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012866, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.depth_component16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012867, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.depth_component24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012868, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.depth_component32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012869, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.rg_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012870, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.stencil.rg_float"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012871, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.rg_half_float_oes"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012872, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.stencil.r8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012873, + "dEQP-GLES2.functional.fbo.complete", + "ness.renderable.texture.stencil.rg8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012874, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.r16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012875, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.rg16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012876, + "dEQP-GLES2.functional.fbo.completeness.renderabl", + "e.texture.stencil.depth_stencil_unsigned_int_24_8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012877, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.stencil.rgba16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012878, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.stencil.rgb16f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012879, + "dEQP-GLES2.functional.fbo.completeness.re", + "nderable.texture.stencil.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012880, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.stencil.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012881, + "dEQP-GLES2.functional.fbo.completeness.ren", + "derable.texture.stencil.srgb_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012882, + "dEQP-GLES2.functional.fbo.completen", + "ess.renderable.texture.stencil.srgb8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012883, + "dEQP-GLES2.functional.fbo.completeness.render", + "able.texture.stencil.srgb_alpha_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012884, + "dEQP-GLES2.functional.fbo.completeness.", + "renderable.texture.stencil.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012885, + "dEQP-GLES2.functional.fbo.completeness.r", + "enderable.texture.stencil.stencil_index8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012886, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.stencil.rgb565"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012887, + "dEQP-GLES2.functional.fbo.completene", + "ss.renderable.texture.stencil.sr8_ext"); + +static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012888, + "dEQP-GLES2.functional.fbo.completenes", + "s.renderable.texture.stencil.srg8_ext"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_vertexTestCase.cpp new file mode 100644 index 000000000..6c3710406 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_vertexTestCase.cpp @@ -0,0 +1,224 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009832, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009833, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009834, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009835, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009836, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009837, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009838, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009839, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009840, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009841, + "dEQP-GLES2.functional.shad", + "ers.random.texture.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009842, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009843, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009844, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009845, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009846, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009847, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009848, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009849, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009850, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009851, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009852, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009853, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009854, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009855, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009856, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009857, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009858, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009859, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009860, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009861, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009862, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009863, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009864, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009865, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009866, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009867, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009868, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009869, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009870, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009871, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009872, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009873, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009874, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009875, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009876, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009877, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009878, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009879, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009880, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009881, + "dEQP-GLES2.functional.shade", + "rs.random.texture.vertex.49"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_wrapTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_wrapTestCase.cpp new file mode 100644 index 000000000..4956c32dd --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2texture_wrapTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20011TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010340, + "dEQP-GLES2.functional.texture.wra", + "p.clamp_clamp_nearest_npot_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010341, + "dEQP-GLES2.functional.texture.w", + "rap.clamp_clamp_nearest_npot_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010342, + "dEQP-GLES2.functional.texture.wra", + "p.clamp_clamp_linear_pot_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010343, + "dEQP-GLES2.functional.texture.wr", + "ap.clamp_clamp_linear_pot_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010344, + "dEQP-GLES2.functional.texture.wra", + "p.clamp_clamp_linear_pot_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010345, + "dEQP-GLES2.functional.texture.", + "wrap.clamp_clamp_linear_pot_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010346, + "dEQP-GLES2.functional.texture.wra", + "p.clamp_clamp_linear_npot_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010347, + "dEQP-GLES2.functional.texture.wr", + "ap.clamp_clamp_linear_npot_rgb888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010348, + "dEQP-GLES2.functional.texture.wra", + "p.clamp_clamp_linear_npot_rgba4444"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010349, + "dEQP-GLES2.functional.texture.", + "wrap.clamp_clamp_linear_npot_l8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010350, + "dEQP-GLES2.functional.texture.wra", + "p.clamp_mirror_linear_pot_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010351, + "dEQP-GLES2.functional.texture.wra", + "p.mirror_clamp_linear_pot_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010352, + "dEQP-GLES2.functional.texture.wrap", + ".mirror_mirror_linear_pot_rgba8888"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010353, + "dEQP-GLES2.functional.texture.wr", + "ap.clamp_clamp_nearest_npot_etc1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010354, + "dEQP-GLES2.functional.texture.w", + "rap.clamp_clamp_linear_npot_etc1"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_oneTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_oneTestCase.cpp new file mode 100644 index 000000000..2606c1b9e --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_oneTestCase.cpp @@ -0,0 +1,128 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015785, + "dEQP-GLES2.functional.clipping.tr", + "iangle_vertex.clip_one.clip_neg_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015786, + "dEQP-GLES2.functional.clipping.tr", + "iangle_vertex.clip_one.clip_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015787, + "dEQP-GLES2.functional.clipping.tr", + "iangle_vertex.clip_one.clip_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015788, + "dEQP-GLES2.functional.clipping.tr", + "iangle_vertex.clip_one.clip_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015789, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015790, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015791, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015792, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015793, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015794, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015795, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015796, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015797, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015798, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015799, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015800, + "dEQP-GLES2.functional.clipping.trian", + "gle_vertex.clip_one.clip_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015801, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015802, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015803, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015804, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015805, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015806, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015807, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015808, + "dEQP-GLES2.functional.clipping.triangle", + "_vertex.clip_one.clip_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015809, + "dEQP-GLES2.functional.clipping.tr", + "iangle_vertex.clip_one.clip_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015810, + "dEQP-GLES2.functional.clipping.tr", + "iangle_vertex.clip_one.clip_neg_z"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_threeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_threeTestCase.cpp new file mode 100644 index 000000000..dee31944a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_threeTestCase.cpp @@ -0,0 +1,1080 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20017TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016039, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_three.clip_neg_x_and_pos_x_and_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016040, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_three.clip_neg_x_and_pos_x_and_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016041, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016042, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016043, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016044, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016045, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016046, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016047, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016048, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_x_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016049, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016050, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016051, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016052, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016053, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016054, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016055, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016056, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016057, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_three.clip_neg_x_and_pos_y_and_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016058, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_pos_y_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016059, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_neg_x_and_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016060, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_neg_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016061, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016062, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016063, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016064, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_and_neg_y_neg_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016065, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_x_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016066, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_and_pos_y_neg_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016067, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_and_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016068, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_and_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016069, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016070, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_and_pos_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016071, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016072, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016073, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_and_pos_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016074, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016075, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_three.clip_pos_x_and_pos_y_and_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016076, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_x_and_pos_y_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016077, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_x_and_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016078, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_x_and_neg_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016079, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_x_and_neg_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016080, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_x_and_pos_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016081, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_x_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016082, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_and_neg_y_neg_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016083, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_x_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016084, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_and_pos_y_neg_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016085, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_and_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016086, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_and_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016087, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016088, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_and_neg_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016089, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016090, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016091, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_and_neg_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016092, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016093, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016094, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016095, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016096, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016097, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016098, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016099, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016100, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_three.clip_pos_y_and_neg_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016101, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016102, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016103, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016104, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016105, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016106, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016107, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016108, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_y_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016109, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_x_neg_y_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016110, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016111, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_pos_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016112, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016113, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_y_and_neg_x_neg_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016114, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_pos_y_and_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016115, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_y_and_pos_x_neg_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016116, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_y_and_pos_x_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016117, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_y_and_neg_x_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016118, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_and_neg_x_neg_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016119, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016120, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_and_pos_x_neg_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016121, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016122, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016123, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016124, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_y_and_neg_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016125, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_y_and_pos_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016126, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_y_and_pos_x_pos_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016127, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_y_and_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016128, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_y_and_neg_x_neg_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016129, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_three.clip_neg_y_and_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016130, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_y_and_pos_x_neg_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016131, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_y_and_pos_x_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016132, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_y_and_neg_x_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016133, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016134, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016135, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016136, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_and_pos_x_pos_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016137, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016138, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_and_neg_x_pos_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016139, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016140, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016141, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016142, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016143, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016144, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016145, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016146, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016147, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016148, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016149, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016150, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_y_and_pos_x_pos_y_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016151, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016152, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_y_and_pos_x_pos_y_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016153, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_y_and_pos_x_pos_y_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016154, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016155, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016156, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016157, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_x_pos_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016158, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016159, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_y_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016160, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_y_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016161, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_y_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016162, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_pos_x_pos_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016163, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016164, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016165, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016166, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016167, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016168, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016169, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016170, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_y_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016171, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_y_and_neg_x_pos_y_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016172, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_y_and_neg_x_pos_y_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016173, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_y_and_neg_x_pos_y_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016174, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_y_and_neg_x_pos_y_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016175, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016176, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016177, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016178, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_x_pos_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016179, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016180, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_y_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016181, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_y_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016182, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_y_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016183, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_y_and_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016184, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_y_and_neg_x_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016185, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_y_and_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016186, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_y_and_neg_x_pos_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016187, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_y_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016188, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_y_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016189, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_y_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016190, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_y_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016191, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_y_and_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016192, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_y_and_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016193, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_y_and_pos_x_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016194, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_y_and_pos_x_pos_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016195, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_y_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016196, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_y_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016197, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_y_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016198, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_y_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016199, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016200, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_z_and_pos_x_pos_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016201, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_z_and_pos_x_pos_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016202, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016203, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016204, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016205, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016206, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016207, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016208, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016209, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016210, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016211, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_z_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016212, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_neg_z_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016213, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016214, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_z_and_pos_x_neg_y_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016215, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016216, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016217, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_neg_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016218, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_z_and_neg_x_pos_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016219, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_z_and_neg_x_pos_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016220, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_z_and_neg_x_pos_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016221, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_z_and_neg_x_pos_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016222, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016223, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016224, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016225, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016226, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016227, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016228, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016229, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_x_neg_z_and_neg_x_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016230, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_z_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016231, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_neg_z_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016232, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_z_and_neg_x_neg_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016233, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016234, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016235, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016236, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_neg_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016237, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_z_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016238, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_pos_x_pos_z_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016239, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016240, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016241, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016242, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016243, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_x_pos_z_and_neg_x_neg_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016244, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_z_and_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016245, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_t", + "hree.clip_neg_x_pos_z_and_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016246, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016247, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016248, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016249, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016250, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_x_pos_z_and_pos_x_neg_y_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016251, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016252, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016253, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016254, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016255, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016256, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016257, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016258, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_neg_y_neg_z_and_pos_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016259, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_neg_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016260, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_neg_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016261, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_neg_z_and_pos_x_pos_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016262, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_neg_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016263, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_neg_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016264, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016265, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016266, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016267, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016268, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016269, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016270, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016271, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_thre", + "e.clip_pos_y_neg_z_and_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016272, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_neg_z_and_neg_x_neg_y_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016273, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_neg_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016274, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_neg_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016275, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_neg_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016276, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_neg_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016277, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_pos_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016278, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_pos_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016279, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_pos_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016280, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016281, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_pos_y_pos_z_and_neg_x_neg_y_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016282, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_pos_z_and_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016283, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_pos_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016284, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_pos_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016285, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016286, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.c", + "lip_neg_y_pos_z_and_pos_x_pos_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016287, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_neg_y_pos_z_and_pos_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016288, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_neg_y_pos_z_and_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016289, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_neg_y_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016290, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_neg_y_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016291, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_neg_y_pos_z_and_pos_x_neg_y_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016292, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016293, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_neg_y_pos_z_and_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016294, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_neg_y_pos_z_and_pos_x_pos_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016295, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_neg_y_pos_z_and_neg_x_neg_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016296, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_neg_y_pos_z_and_pos_x_pos_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016297, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_pos_y_pos_z_and_neg_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016298, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_pos_y_pos_z_and_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016299, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016300, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016301, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_pos_y_pos_z_and_neg_x_neg_y_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20017TestSuite, TestCase_016302, + "dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip", + "_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z_and_pos_x_pos_y_neg_z"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_twoTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_twoTestCase.cpp new file mode 100644 index 000000000..390b0be16 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2triangle_vertex_clip_twoTestCase.cpp @@ -0,0 +1,936 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015811, + "dEQP-GLES2.functional.clipping.triangl", + "e_vertex.clip_two.clip_neg_x_and_pos_x"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015812, + "dEQP-GLES2.functional.clipping.triangl", + "e_vertex.clip_two.clip_neg_x_and_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015813, + "dEQP-GLES2.functional.clipping.triangl", + "e_vertex.clip_two.clip_neg_x_and_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015814, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015815, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015816, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015817, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015818, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015819, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015820, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015821, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_x_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015822, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015823, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015824, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015825, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015826, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015827, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015828, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015829, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015830, + "dEQP-GLES2.functional.clipping.triangl", + "e_vertex.clip_two.clip_pos_x_and_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015831, + "dEQP-GLES2.functional.clipping.triangl", + "e_vertex.clip_two.clip_pos_x_and_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015832, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015833, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015834, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015835, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015836, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015837, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015838, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015839, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_x_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015840, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015841, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015842, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015843, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015844, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015845, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015846, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015847, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015848, + "dEQP-GLES2.functional.clipping.triangl", + "e_vertex.clip_two.clip_pos_y_and_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015849, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015850, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015851, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015852, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015853, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015854, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015855, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015856, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_pos_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015857, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015858, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015859, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015860, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015861, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015862, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015863, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015864, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015865, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_neg_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015866, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015867, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015868, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015869, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015870, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015871, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015872, + "dEQP-GLES2.functional.clipping.triangle_v", + "ertex.clip_two.clip_neg_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015873, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015874, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015875, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015876, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015877, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015878, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015879, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015880, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015881, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_pos_x_neg_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015882, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015883, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015884, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015885, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015886, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015887, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015888, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015889, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015890, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015891, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_y_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015892, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_y_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015893, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_y_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015894, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_y_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015895, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_y_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015896, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_pos_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015897, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015898, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015899, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015900, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015901, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015902, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015903, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015904, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015905, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_y_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015906, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_y_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015907, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_y_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015908, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_y_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015909, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_y_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015910, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_neg_x_pos_y"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015911, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015912, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015913, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015914, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015915, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015916, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015917, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015918, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_y_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015919, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_y_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015920, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_y_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015921, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_y_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015922, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_y_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015923, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_neg_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015924, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_pos_x_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015925, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015926, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015927, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015928, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015929, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015930, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_y_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015931, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_y_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015932, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_y_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015933, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_y_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015934, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_y_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015935, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_z_and_pos_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015936, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015937, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015938, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015939, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015940, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015941, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015942, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015943, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015944, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015945, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015946, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015947, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015948, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_z_and_neg_x_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015949, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015950, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015951, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015952, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015953, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015954, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015955, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015956, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015957, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015958, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015959, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015960, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015961, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015962, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015963, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015964, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_x_pos_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015965, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015966, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015967, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015968, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015969, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015970, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015971, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015972, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_x_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015973, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_z_and_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015974, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_z_and_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015975, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015976, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_x_pos_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015977, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015978, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015979, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015980, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015981, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015982, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015983, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015984, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_x_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015985, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_neg_y_neg_z_and_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015986, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015987, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015988, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015989, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015990, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015991, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015992, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015993, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015994, + "dEQP-GLES2.functional.clipping.triangle_vert", + "ex.clip_two.clip_pos_y_neg_z_and_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015995, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015996, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015997, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015998, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015999, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016000, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016001, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016002, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016003, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016004, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016005, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016006, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016007, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016008, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016009, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016010, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_pos_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016011, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_neg_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016012, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016013, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016014, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016015, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016016, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016017, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016018, + "dEQP-GLES2.functional.clipping.triangle_vertex.", + "clip_two.clip_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016019, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_pos_z_and_pos_x_neg_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016020, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016021, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016022, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016023, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016024, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_neg_y_pos_z_and_pos_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016025, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_neg_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016026, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_neg_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016027, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_neg_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016028, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_pos_y_pos_z_and_neg_x_pos_y_pos_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016029, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016030, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016031, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_pos_y_pos_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016032, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_pos_y_pos_z_and_neg_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016033, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_pos_y_pos_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016034, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_pos_y_pos_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016035, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_neg_z_and_pos_x_neg_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016036, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_neg_x_neg_y_neg_z_and_neg_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016037, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_neg_y_neg_z_and_pos_x_pos_y_neg_z"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_016038, + "dEQP-GLES2.functional.clipping.triangle_vertex.cli", + "p_two.clip_pos_x_pos_y_neg_z_and_neg_x_pos_y_neg_z"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_fragmentTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_fragmentTestCase.cpp new file mode 100644 index 000000000..b12aa64f4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_fragmentTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009532, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009533, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009534, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009535, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009536, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009537, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009538, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009539, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009540, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009541, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.fragment.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009542, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009543, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009544, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009545, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009546, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009547, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009548, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009549, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009550, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009551, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009552, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009553, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009554, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009555, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009556, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009557, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009558, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009559, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009560, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009561, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009562, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009563, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009564, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009565, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009566, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009567, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009568, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009569, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009570, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009571, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009572, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009573, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009574, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009575, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009576, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009577, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009578, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009579, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009580, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009581, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009582, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009583, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009584, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009585, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009586, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009587, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009588, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009589, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009590, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009591, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009592, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009593, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009594, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009595, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009596, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009597, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009598, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009599, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009600, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009601, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009602, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009603, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009604, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009605, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009606, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009607, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009608, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009609, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009610, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009611, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009612, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009613, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009614, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009615, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009616, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009617, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009618, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009619, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009620, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009621, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009622, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009623, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009624, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009625, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009626, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009627, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009628, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009629, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009630, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009631, + "dEQP-GLES2.functional.shaders.r", + "andom.trigonometric.fragment.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_vertexTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_vertexTestCase.cpp new file mode 100644 index 000000000..ebb4df596 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2trigonometric_vertexTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20010TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009432, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009433, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009434, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009435, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009436, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009437, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009438, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009439, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009440, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009441, + "dEQP-GLES2.functional.shaders", + ".random.trigonometric.vertex.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009442, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009443, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009444, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009445, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009446, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009447, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009448, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009449, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009450, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009451, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009452, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009453, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009454, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009455, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009456, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009457, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009458, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009459, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009460, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009461, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009462, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009463, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009464, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009465, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009466, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009467, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009468, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009469, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009470, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009471, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009472, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009473, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009474, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009475, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009476, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009477, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009478, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009479, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009480, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009481, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009482, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009483, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009484, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009485, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009486, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009487, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009488, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009489, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009490, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009491, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009492, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009493, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009494, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009495, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009496, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009497, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009498, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009499, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009500, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009501, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009502, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009503, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009504, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009505, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009506, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009507, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009508, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009509, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009510, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009511, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009512, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009513, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009514, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009515, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009516, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009517, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009518, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009519, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009520, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009521, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009522, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009523, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009524, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009525, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009526, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009527, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009528, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009529, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009530, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20010TestSuite, TestCase_009531, + "dEQP-GLES2.functional.shaders.", + "random.trigonometric.vertex.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.cpp new file mode 100644 index 000000000..da4be3e62 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_minusTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003980, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003981, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003982, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003983, + "dEQP-GLES2.functional.shaders.operator.un", + "ary_operator.minus.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003984, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003985, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003986, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003987, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003988, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003989, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003990, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003991, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003992, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003993, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003994, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003995, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003996, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003997, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003998, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003999, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004000, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004001, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004002, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004003, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004004, + "dEQP-GLES2.functional.shaders.operato", + "r.unary_operator.minus.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004005, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004006, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004007, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004008, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004009, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004010, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004011, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004012, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004013, + "dEQP-GLES2.functional.shaders.operator.un", + "ary_operator.minus.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004014, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004015, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004016, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004017, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004018, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004019, + "dEQP-GLES2.functional.shaders.operator.un", + "ary_operator.minus.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004020, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004021, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004022, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.minus.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004023, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004024, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004025, + "dEQP-GLES2.functional.shaders.operator.un", + "ary_operator.minus.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004026, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.minus.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_004027, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.minus.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_notTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_notTestCase.cpp new file mode 100644 index 000000000..9338283b1 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_notTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004028, + "dEQP-GLES2.functional.shaders.oper", + "ator.unary_operator.not.bool_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004029, + "dEQP-GLES2.functional.shaders.opera", + "tor.unary_operator.not.bool_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp new file mode 100644 index 000000000..fe188b233 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_plusTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003932, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003933, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003934, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003935, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003936, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003937, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003938, + "dEQP-GLES2.functional.shaders.operato", + "r.unary_operator.plus.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003939, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003940, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003941, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003942, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003943, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003944, + "dEQP-GLES2.functional.shaders.operato", + "r.unary_operator.plus.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003945, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003946, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003947, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003948, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003949, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003950, + "dEQP-GLES2.functional.shaders.operato", + "r.unary_operator.plus.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003951, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003952, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003953, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003954, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003955, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003956, + "dEQP-GLES2.functional.shaders.operato", + "r.unary_operator.plus.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003957, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003958, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003959, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003960, + "dEQP-GLES2.functional.shaders.operato", + "r.unary_operator.plus.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003961, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003962, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003963, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003964, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003965, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003966, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003967, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003968, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003969, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003970, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003971, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003972, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003973, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003974, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003975, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003976, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003977, + "dEQP-GLES2.functional.shaders.operator.u", + "nary_operator.plus.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003978, + "dEQP-GLES2.functional.shaders.operator", + ".unary_operator.plus.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20004TestSuite, TestCase_003979, + "dEQP-GLES2.functional.shaders.operator.", + "unary_operator.plus.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_effectTestCase.cpp new file mode 100644 index 000000000..b31bfdbd2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_effectTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004174, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004175, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004176, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004177, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004178, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004179, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004180, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004181, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004182, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004183, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004184, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004185, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004186, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004187, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004188, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004189, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004190, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004191, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004192, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004193, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004194, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004195, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004196, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004197, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004198, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.post_decrement_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004199, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004200, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004201, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004202, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004203, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004204, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004205, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004206, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004207, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004208, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004209, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004210, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004211, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004212, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004213, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004214, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004215, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004216, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004217, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004218, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004219, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004220, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004221, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_effect.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_resultTestCase.cpp new file mode 100644 index 000000000..757bd2f8a --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_decrement_resultTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004366, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004367, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004368, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004369, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004370, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004371, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004372, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004373, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004374, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004375, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004376, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004377, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004378, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004379, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004380, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004381, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004382, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004383, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004384, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004385, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004386, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004387, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004388, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004389, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004390, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.post_decrement_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004391, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004392, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004393, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004394, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004395, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004396, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004397, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004398, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004399, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004400, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004401, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004402, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004403, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004404, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004405, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004406, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004407, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004408, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_decrement_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004409, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004410, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004411, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_decrement_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004412, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_decrement_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004413, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_decrement_result.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_effectTestCase.cpp new file mode 100644 index 000000000..63d0514e4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_effectTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004126, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004127, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004128, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004129, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004130, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004131, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004132, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004133, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004134, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004135, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004136, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004137, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004138, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004139, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004140, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004141, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004142, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004143, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004144, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004145, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004146, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004147, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004148, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004149, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004150, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.post_increment_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004151, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004152, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004153, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004154, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004155, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004156, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004157, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004158, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004159, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004160, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004161, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004162, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004163, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004164, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004165, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004166, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004167, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004168, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004169, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004170, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004171, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004172, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004173, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_effect.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_resultTestCase.cpp new file mode 100644 index 000000000..fe087fea2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_post_increment_resultTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004318, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004319, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004320, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004321, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004322, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004323, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004324, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004325, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004326, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004327, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004328, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004329, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004330, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004331, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004332, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004333, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004334, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004335, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004336, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004337, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004338, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004339, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004340, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004341, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004342, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.post_increment_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004343, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004344, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004345, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004346, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004347, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004348, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004349, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004350, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004351, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004352, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004353, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004354, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004355, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004356, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004357, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004358, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004359, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004360, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.post_increment_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004361, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004362, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004363, + "dEQP-GLES2.functional.shaders.operator.unary_oper", + "ator.post_increment_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004364, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.post_increment_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004365, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.post_increment_result.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp new file mode 100644 index 000000000..39f3f0cd4 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_effectTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004078, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004079, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004080, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004081, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004082, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004083, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004084, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004085, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004086, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004087, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004088, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004089, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004090, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004091, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004092, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004093, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004094, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004095, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004096, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004097, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004098, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004099, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004100, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004101, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004102, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004103, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004104, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004105, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004106, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004107, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004108, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004109, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004110, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004111, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004112, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004113, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004114, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004115, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004116, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004117, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004118, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004119, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004120, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004121, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004122, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004123, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004124, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004125, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_effect.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp new file mode 100644 index 000000000..9cee6f17c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_decrement_resultTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004270, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004271, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004272, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004273, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004274, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004275, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004276, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004277, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004278, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004279, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004280, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004281, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004282, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004283, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004284, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004285, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004286, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004287, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004288, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004289, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004290, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004291, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004292, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004293, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004294, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004295, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004296, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004297, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004298, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_decrement_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004299, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004300, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004301, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004302, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004303, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004304, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004305, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004306, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004307, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004308, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004309, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004310, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004311, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004312, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004313, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004314, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004315, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_decrement_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004316, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_decrement_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004317, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_decrement_result.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp new file mode 100644 index 000000000..78db09023 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_effectTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004030, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004031, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004032, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004033, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004034, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004035, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004036, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_effect.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004037, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004038, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004039, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004040, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004041, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004042, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_effect.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004043, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004044, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004045, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004046, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004047, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004048, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_effect.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004049, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004050, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004051, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004052, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004053, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004054, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_effect.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004055, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004056, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004057, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004058, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_effect.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004059, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004060, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004061, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004062, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004063, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004064, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004065, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004066, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004067, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004068, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004069, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004070, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004071, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004072, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004073, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004074, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004075, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_effect.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004076, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_effect.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004077, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_effect.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_resultTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_resultTestCase.cpp new file mode 100644 index 000000000..a8c082f69 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2unary_operator_pre_increment_resultTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004222, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004223, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.lowp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004224, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004225, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004226, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004227, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004228, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_result.lowp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004229, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004230, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004231, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004232, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004233, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004234, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_result.lowp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004235, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004236, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004237, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004238, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004239, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004240, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_result.lowp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004241, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004242, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004243, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004244, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004245, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004246, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_result.lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004247, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004248, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004249, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004250, + "dEQP-GLES2.functional.shaders.operator.unary_", + "operator.pre_increment_result.highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004251, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004252, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004253, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.lowp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004254, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004255, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004256, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004257, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004258, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004259, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.lowp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004260, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004261, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004262, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004263, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004264, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.lowp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004265, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.lowp_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004266, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.mediump_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004267, + "dEQP-GLES2.functional.shaders.operator.unary_ope", + "rator.pre_increment_result.mediump_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004268, + "dEQP-GLES2.functional.shaders.operator.unary_o", + "perator.pre_increment_result.highp_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsDeqpgles20005TestSuite, TestCase_004269, + "dEQP-GLES2.functional.shaders.operator.unary_op", + "erator.pre_increment_result.highp_ivec4_fragment"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2uniform_api_randomTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2uniform_api_randomTestCase.cpp new file mode 100644 index 000000000..bc583e7f2 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2uniform_api_randomTestCase.cpp @@ -0,0 +1,424 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20016TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015149, + "dEQP-GLES2.functional", + ".uniform_api.random.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015150, + "dEQP-GLES2.functional", + ".uniform_api.random.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015151, + "dEQP-GLES2.functional", + ".uniform_api.random.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015152, + "dEQP-GLES2.functional", + ".uniform_api.random.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015153, + "dEQP-GLES2.functional", + ".uniform_api.random.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015154, + "dEQP-GLES2.functional", + ".uniform_api.random.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015155, + "dEQP-GLES2.functional", + ".uniform_api.random.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015156, + "dEQP-GLES2.functional", + ".uniform_api.random.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015157, + "dEQP-GLES2.functional", + ".uniform_api.random.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015158, + "dEQP-GLES2.functional", + ".uniform_api.random.9"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015159, + "dEQP-GLES2.functional", + ".uniform_api.random.10"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015160, + "dEQP-GLES2.functional", + ".uniform_api.random.11"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015161, + "dEQP-GLES2.functional", + ".uniform_api.random.12"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015162, + "dEQP-GLES2.functional", + ".uniform_api.random.13"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015163, + "dEQP-GLES2.functional", + ".uniform_api.random.14"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015164, + "dEQP-GLES2.functional", + ".uniform_api.random.15"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015165, + "dEQP-GLES2.functional", + ".uniform_api.random.16"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015166, + "dEQP-GLES2.functional", + ".uniform_api.random.17"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015167, + "dEQP-GLES2.functional", + ".uniform_api.random.18"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015168, + "dEQP-GLES2.functional", + ".uniform_api.random.19"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015169, + "dEQP-GLES2.functional", + ".uniform_api.random.20"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015170, + "dEQP-GLES2.functional", + ".uniform_api.random.21"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015171, + "dEQP-GLES2.functional", + ".uniform_api.random.22"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015172, + "dEQP-GLES2.functional", + ".uniform_api.random.23"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015173, + "dEQP-GLES2.functional", + ".uniform_api.random.24"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015174, + "dEQP-GLES2.functional", + ".uniform_api.random.25"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015175, + "dEQP-GLES2.functional", + ".uniform_api.random.26"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015176, + "dEQP-GLES2.functional", + ".uniform_api.random.27"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015177, + "dEQP-GLES2.functional", + ".uniform_api.random.28"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015178, + "dEQP-GLES2.functional", + ".uniform_api.random.29"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015179, + "dEQP-GLES2.functional", + ".uniform_api.random.30"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015180, + "dEQP-GLES2.functional", + ".uniform_api.random.31"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015181, + "dEQP-GLES2.functional", + ".uniform_api.random.32"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015182, + "dEQP-GLES2.functional", + ".uniform_api.random.33"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015183, + "dEQP-GLES2.functional", + ".uniform_api.random.34"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015184, + "dEQP-GLES2.functional", + ".uniform_api.random.35"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015185, + "dEQP-GLES2.functional", + ".uniform_api.random.36"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015186, + "dEQP-GLES2.functional", + ".uniform_api.random.37"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015187, + "dEQP-GLES2.functional", + ".uniform_api.random.38"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015188, + "dEQP-GLES2.functional", + ".uniform_api.random.39"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015189, + "dEQP-GLES2.functional", + ".uniform_api.random.40"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015190, + "dEQP-GLES2.functional", + ".uniform_api.random.41"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015191, + "dEQP-GLES2.functional", + ".uniform_api.random.42"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015192, + "dEQP-GLES2.functional", + ".uniform_api.random.43"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015193, + "dEQP-GLES2.functional", + ".uniform_api.random.44"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015194, + "dEQP-GLES2.functional", + ".uniform_api.random.45"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015195, + "dEQP-GLES2.functional", + ".uniform_api.random.46"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015196, + "dEQP-GLES2.functional", + ".uniform_api.random.47"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015197, + "dEQP-GLES2.functional", + ".uniform_api.random.48"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015198, + "dEQP-GLES2.functional", + ".uniform_api.random.49"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015199, + "dEQP-GLES2.functional", + ".uniform_api.random.50"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015200, + "dEQP-GLES2.functional", + ".uniform_api.random.51"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015201, + "dEQP-GLES2.functional", + ".uniform_api.random.52"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015202, + "dEQP-GLES2.functional", + ".uniform_api.random.53"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015203, + "dEQP-GLES2.functional", + ".uniform_api.random.54"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015204, + "dEQP-GLES2.functional", + ".uniform_api.random.55"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015205, + "dEQP-GLES2.functional", + ".uniform_api.random.56"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015206, + "dEQP-GLES2.functional", + ".uniform_api.random.57"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015207, + "dEQP-GLES2.functional", + ".uniform_api.random.58"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015208, + "dEQP-GLES2.functional", + ".uniform_api.random.59"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015209, + "dEQP-GLES2.functional", + ".uniform_api.random.60"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015210, + "dEQP-GLES2.functional", + ".uniform_api.random.61"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015211, + "dEQP-GLES2.functional", + ".uniform_api.random.62"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015212, + "dEQP-GLES2.functional", + ".uniform_api.random.63"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015213, + "dEQP-GLES2.functional", + ".uniform_api.random.64"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015214, + "dEQP-GLES2.functional", + ".uniform_api.random.65"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015215, + "dEQP-GLES2.functional", + ".uniform_api.random.66"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015216, + "dEQP-GLES2.functional", + ".uniform_api.random.67"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015217, + "dEQP-GLES2.functional", + ".uniform_api.random.68"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015218, + "dEQP-GLES2.functional", + ".uniform_api.random.69"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015219, + "dEQP-GLES2.functional", + ".uniform_api.random.70"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015220, + "dEQP-GLES2.functional", + ".uniform_api.random.71"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015221, + "dEQP-GLES2.functional", + ".uniform_api.random.72"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015222, + "dEQP-GLES2.functional", + ".uniform_api.random.73"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015223, + "dEQP-GLES2.functional", + ".uniform_api.random.74"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015224, + "dEQP-GLES2.functional", + ".uniform_api.random.75"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015225, + "dEQP-GLES2.functional", + ".uniform_api.random.76"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015226, + "dEQP-GLES2.functional", + ".uniform_api.random.77"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015227, + "dEQP-GLES2.functional", + ".uniform_api.random.78"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015228, + "dEQP-GLES2.functional", + ".uniform_api.random.79"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015229, + "dEQP-GLES2.functional", + ".uniform_api.random.80"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015230, + "dEQP-GLES2.functional", + ".uniform_api.random.81"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015231, + "dEQP-GLES2.functional", + ".uniform_api.random.82"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015232, + "dEQP-GLES2.functional", + ".uniform_api.random.83"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015233, + "dEQP-GLES2.functional", + ".uniform_api.random.84"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015234, + "dEQP-GLES2.functional", + ".uniform_api.random.85"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015235, + "dEQP-GLES2.functional", + ".uniform_api.random.86"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015236, + "dEQP-GLES2.functional", + ".uniform_api.random.87"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015237, + "dEQP-GLES2.functional", + ".uniform_api.random.88"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015238, + "dEQP-GLES2.functional", + ".uniform_api.random.89"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015239, + "dEQP-GLES2.functional", + ".uniform_api.random.90"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015240, + "dEQP-GLES2.functional", + ".uniform_api.random.91"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015241, + "dEQP-GLES2.functional", + ".uniform_api.random.92"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015242, + "dEQP-GLES2.functional", + ".uniform_api.random.93"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015243, + "dEQP-GLES2.functional", + ".uniform_api.random.94"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015244, + "dEQP-GLES2.functional", + ".uniform_api.random.95"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015245, + "dEQP-GLES2.functional", + ".uniform_api.random.96"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015246, + "dEQP-GLES2.functional", + ".uniform_api.random.97"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015247, + "dEQP-GLES2.functional", + ".uniform_api.random.98"); + +static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015248, + "dEQP-GLES2.functional", + ".uniform_api.random.99"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_index_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_index_arrayTestCase.cpp new file mode 100644 index 000000000..d3a84089b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_index_arrayTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000072, + "dEQP-GLES2.functional.buffer", + ".write.use.index_array.array"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000073, + "dEQP-GLES2.functional.buffer.wri", + "te.use.index_array.element_array"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_vertex_arrayTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_vertex_arrayTestCase.cpp new file mode 100644 index 000000000..cb3cc1178 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2use_vertex_arrayTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000070, + "dEQP-GLES2.functional.buffer", + ".write.use.vertex_array.array"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000071, + "dEQP-GLES2.functional.buffer.wri", + "te.use.vertex_array.element_array"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_invalidTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_invalidTestCase.cpp new file mode 100644 index 000000000..fd916228c --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_invalidTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002374, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.variables.invalid.invariant_precision_storage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002375, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.variables.invalid.storage_invariant_precision"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002376, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.variables.invalid.storage_precision_invariant"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002377, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.variables.invalid.precision_invariant_storage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002378, + "dEQP-GLES2.functional.shaders.qualification_ord", + "er.variables.invalid.precision_storage_invariant"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002379, + "dEQP-GLES2.functional.shaders.qualificatio", + "n_order.variables.invalid.precision_storage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002380, + "dEQP-GLES2.functional.shaders.qualificatio", + "n_order.variables.invalid.storage_invariant"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_validTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_validTestCase.cpp new file mode 100644 index 000000000..25d52df40 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2variables_validTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002371, + "dEQP-GLES2.functional.shaders.qualification_or", + "der.variables.valid.invariant_storage_precision"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002372, + "dEQP-GLES2.functional.shaders.qualificati", + "on_order.variables.valid.storage_precision"); + +static SHRINK_HWTEST_F(ActsDeqpgles20003TestSuite, TestCase_002373, + "dEQP-GLES2.functional.shaders.qualificati", + "on_order.variables.valid.invariant_storage"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basicTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basicTestCase.cpp new file mode 100644 index 000000000..e21492b66 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basicTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000064, + "dEQP-GLES2.functional.buffer.", + "write.basic.array_stream_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000065, + "dEQP-GLES2.functional.buffer.", + "write.basic.array_static_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000066, + "dEQP-GLES2.functional.buffer.", + "write.basic.array_dynamic_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000067, + "dEQP-GLES2.functional.buffer.writ", + "e.basic.element_array_stream_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000068, + "dEQP-GLES2.functional.buffer.writ", + "e.basic.element_array_static_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000069, + "dEQP-GLES2.functional.buffer.writ", + "e.basic.element_array_dynamic_draw"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basic_subdataTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basic_subdataTestCase.cpp new file mode 100644 index 000000000..9638ff321 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_basic_subdataTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000084, + "dEQP-GLES2.functional.buffer.writ", + "e.basic_subdata.array_stream_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000085, + "dEQP-GLES2.functional.buffer.writ", + "e.basic_subdata.array_static_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000086, + "dEQP-GLES2.functional.buffer.writ", + "e.basic_subdata.array_dynamic_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000087, + "dEQP-GLES2.functional.buffer.write.ba", + "sic_subdata.element_array_stream_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000088, + "dEQP-GLES2.functional.buffer.write.ba", + "sic_subdata.element_array_static_draw"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000089, + "dEQP-GLES2.functional.buffer.write.ba", + "sic_subdata.element_array_dynamic_draw"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_partial_specifyTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_partial_specifyTestCase.cpp new file mode 100644 index 000000000..d494d44e7 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_partial_specifyTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000090, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.whole_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000091, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.whole_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000092, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.whole_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000093, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.whole_4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000094, + "dEQP-GLES2.functional.buffer", + ".write.partial_specify.low_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000095, + "dEQP-GLES2.functional.buffer", + ".write.partial_specify.low_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000096, + "dEQP-GLES2.functional.buffer", + ".write.partial_specify.low_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000097, + "dEQP-GLES2.functional.buffer", + ".write.partial_specify.high_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000098, + "dEQP-GLES2.functional.buffer", + ".write.partial_specify.high_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000099, + "dEQP-GLES2.functional.buffer", + ".write.partial_specify.high_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000100, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.middle_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000101, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.middle_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000102, + "dEQP-GLES2.functional.buffer.", + "write.partial_specify.middle_3"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_randomTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_randomTestCase.cpp new file mode 100644 index 000000000..0d0d951d9 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_randomTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000103, + "dEQP-GLES2.functional", + ".buffer.write.random.0"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000104, + "dEQP-GLES2.functional", + ".buffer.write.random.1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000105, + "dEQP-GLES2.functional", + ".buffer.write.random.2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000106, + "dEQP-GLES2.functional", + ".buffer.write.random.3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000107, + "dEQP-GLES2.functional", + ".buffer.write.random.4"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000108, + "dEQP-GLES2.functional", + ".buffer.write.random.5"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000109, + "dEQP-GLES2.functional", + ".buffer.write.random.6"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000110, + "dEQP-GLES2.functional", + ".buffer.write.random.7"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000111, + "dEQP-GLES2.functional", + ".buffer.write.random.8"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000112, + "dEQP-GLES2.functional", + ".buffer.write.random.9"); diff --git a/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_recreate_storeTestCase.cpp b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_recreate_storeTestCase.cpp new file mode 100644 index 000000000..606aec603 --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/functional/Deqpgles2write_recreate_storeTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000074, + "dEQP-GLES2.functional.buffer.w", + "rite.recreate_store.identical_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000075, + "dEQP-GLES2.functional.buffer.w", + "rite.recreate_store.identical_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000076, + "dEQP-GLES2.functional.buffer.write", + ".recreate_store.different_target_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000077, + "dEQP-GLES2.functional.buffer.write", + ".recreate_store.different_target_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000078, + "dEQP-GLES2.functional.buffer.wri", + "te.recreate_store.different_usage"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000079, + "dEQP-GLES2.functional.buffer.wri", + "te.recreate_store.different_size"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000080, + "dEQP-GLES2.functional.buffer.", + "write.recreate_store.random_1"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000081, + "dEQP-GLES2.functional.buffer.", + "write.recreate_store.random_2"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000082, + "dEQP-GLES2.functional.buffer.", + "write.recreate_store.random_3"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000083, + "dEQP-GLES2.functional.buffer.", + "write.recreate_store.random_4"); diff --git a/graphic/vkgl/src/deqpgles2/info/Deqpgles2dEQP-GLES2_infoTestCase.cpp b/graphic/vkgl/src/deqpgles2/info/Deqpgles2dEQP-GLES2_infoTestCase.cpp new file mode 100644 index 000000000..2e3a5c01b --- /dev/null +++ b/graphic/vkgl/src/deqpgles2/info/Deqpgles2dEQP-GLES2_infoTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Deqpgles2BaseFunc.h" +#include "../ActsDeqpgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000001, + "dEQP-GLES2.", + "info.vendor"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000002, + "dEQP-GLES2.i", + "nfo.renderer"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000003, + "dEQP-GLES2.", + "info.version"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000004, + "dEQP-GLES2.info.shad", + "ing_language_version"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000005, + "dEQP-GLES2.in", + "fo.extensions"); + +static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000006, + "dEQP-GLES2.inf", + "o.render_target"); -- GitLab From 220f80f8687c7c7e86c1a63f553496ef8eb51560 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:44:19 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=9A=84khrgles2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- .../khrgles2/ActsKhrgles20001TestSuite.cpp | 60 + .../src/khrgles2/ActsKhrgles20001TestSuite.h | 40 + .../src/khrgles2/ActsKhrgles2TestSuite.cpp | 60 + .../vkgl/src/khrgles2/ActsKhrgles2TestSuite.h | 40 + .../vkgl/src/khrgles2/Khrgles2BaseFunc.cpp | 81 + graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h | 32 + graphic/vkgl/src/khrgles2/build0001/BUILD.gn | 70 + graphic/vkgl/src/khrgles2/build0001/Test.json | 38 + .../vkgl/src/khrgles2/build0001/logdefine.cpp | 20 + ...2internalformat_copy_tex_imageTestCase.cpp | 80 + ...es2internalformat_renderbufferTestCase.cpp | 64 + ...rgles2internalformat_texture2dTestCase.cpp | 172 +++ ...aders_aggressive_optimizationsTestCase.cpp | 72 + .../Khrgles2shaders_negativeTestCase.cpp | 32 + ...Khrgles2filtering_combinationsTestCase.cpp | 1324 +++++++++++++++++ .../Khrgles2filtering_formatsTestCase.cpp | 48 + .../Khrgles2filtering_sizesTestCase.cpp | 144 ++ ...2texture_3d_compressed_textureTestCase.cpp | 144 ++ ...gles2texture_3d_copy_sub_imageTestCase.cpp | 32 + ...texture_3d_framebuffer_textureTestCase.cpp | 32 + .../Khrgles2texture_3d_sub_imageTestCase.cpp | 32 + 21 files changed, 2617 insertions(+) create mode 100644 graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h create mode 100644 graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h create mode 100644 graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp create mode 100644 graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h create mode 100644 graphic/vkgl/src/khrgles2/build0001/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles2/build0001/Test.json create mode 100644 graphic/vkgl/src/khrgles2/build0001/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_renderbufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp diff --git a/graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp b/graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp new file mode 100644 index 000000000..e30c01a2c --- /dev/null +++ b/graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles2BaseFunc.h" +#include "ActsKhrgles20001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles20001TestSuite::startTime; + time_t ActsKhrgles20001TestSuite::endTime; + FuncRunResult ActsKhrgles20001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles20001TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles20001TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles20001TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles20001TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h b/graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h new file mode 100644 index 000000000..44d52c932 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/ActsKhrgles20001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES2_TESTCASE_H +#define KHRGLES2_TESTCASE_H + +#include +#include "Khrgles2BaseFunc.h" + +namespace OHOS { + class ActsKhrgles20001TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp b/graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp new file mode 100644 index 000000000..bf5554903 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles2BaseFunc.h" +#include "ActsKhrgles2TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles2TestSuite::startTime; + time_t ActsKhrgles2TestSuite::endTime; + FuncRunResult ActsKhrgles2TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles2TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles2TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles2TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles2TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h b/graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h new file mode 100644 index 000000000..6c12f7817 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/ActsKhrgles2TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES2_TESTCASE_H +#define KHRGLES2_TESTCASE_H + +#include +#include "Khrgles2BaseFunc.h" + +namespace OHOS { + class ActsKhrgles2TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES2_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp b/graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp new file mode 100644 index 000000000..f19e082b0 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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. + */ + +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "Khrgles2BaseFunc.h" + +static tcu::TestPackage* createKhrgles2Package(tcu::TestContext& testCtx) +{ + return new es2cts::TestPackage(testCtx, "KHR-GLES2"); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("KHR-GLES2", createKhrgles2Package); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h b/graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h new file mode 100644 index 000000000..97bbcbf1c --- /dev/null +++ b/graphic/vkgl/src/khrgles2/Khrgles2BaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef KHRGLES2_FUNC_H +#define KHRGLES2_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // KHRGLES2_FUNC_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/build0001/BUILD.gn b/graphic/vkgl/src/khrgles2/build0001/BUILD.gn new file mode 100644 index 000000000..e88f7ef89 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/build0001/BUILD.gn @@ -0,0 +1,70 @@ +# 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("libkhrgles2func0001") { + sources = common_src + sources += [ "../Khrgles2BaseFunc.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("ActsKhrgles2TestSuite0001") { + sources = [ + "../ActsKhrgles20001TestSuite.cpp", + "../core/Khrgles2internalformat_copy_tex_imageTestCase.cpp", + "../core/Khrgles2internalformat_renderbufferTestCase.cpp", + "../core/Khrgles2internalformat_texture2dTestCase.cpp", + "../shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp", + "../shaders/Khrgles2shaders_negativeTestCase.cpp", + "../texture_3d/Khrgles2filtering_combinationsTestCase.cpp", + "../texture_3d/Khrgles2filtering_formatsTestCase.cpp", + "../texture_3d/Khrgles2filtering_sizesTestCase.cpp", + "../texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp", + "../texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp", + "../texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp", + "../texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles2func0001" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles2/build0001/Test.json b/graphic/vkgl/src/khrgles2/build0001/Test.json new file mode 100644 index 000000000..7ce3fd605 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/build0001/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles2TestSuite0001 test cases", + "driver": { + "module-name": "ActsKhrgles2TestSuite0001", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles2TestSuite0001->/data/local/tmp/ActsKhrgles2TestSuite0001", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/build0001/logdefine.cpp b/graphic/vkgl/src/khrgles2/build0001/logdefine.cpp new file mode 100644 index 000000000..f4b5825e9 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/build0001/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles2TestSuite0001.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp b/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp new file mode 100644 index 000000000..53782b1b3 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_copy_tex_imageTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000449, + "KHR-GLES2.core.internalf", + "ormat.copy_tex_image.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000450, + "KHR-GLES2.core.internalf", + "ormat.copy_tex_image.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000451, + "KHR-GLES2.core.internalfo", + "rmat.copy_tex_image.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000452, + "KHR-GLES2.core.internalform", + "at.copy_tex_image.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000453, + "KHR-GLES2.core.internalformat.", + "copy_tex_image.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000454, + "KHR-GLES2.core.internalfor", + "mat.copy_tex_image.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000455, + "KHR-GLES2.core.internalfo", + "rmat.copy_tex_image.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000456, + "KHR-GLES2.core.internalfo", + "rmat.copy_tex_image.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000457, + "KHR-GLES2.core.internalformat.cop", + "y_tex_image.luminance4_alpha4_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000458, + "KHR-GLES2.core.internalformat.cop", + "y_tex_image.luminance8_alpha8_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000459, + "KHR-GLES2.core.internalformat", + ".copy_tex_image.luminance8_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000460, + "KHR-GLES2.core.internalform", + "at.copy_tex_image.alpha8_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000461, + "KHR-GLES2.core.internalfor", + "mat.copy_tex_image.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000462, + "KHR-GLES2.core.internalfo", + "rmat.copy_tex_image.rgb10"); diff --git a/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_renderbufferTestCase.cpp b/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_renderbufferTestCase.cpp new file mode 100644 index 000000000..e8142e1b0 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_renderbufferTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000463, + "KHR-GLES2.core.internalf", + "ormat.renderbuffer.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000464, + "KHR-GLES2.core.internal", + "format.renderbuffer.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000465, + "KHR-GLES2.core.internalformat.", + "renderbuffer.stencil_index1_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000466, + "KHR-GLES2.core.internalformat.", + "renderbuffer.stencil_index4_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000467, + "KHR-GLES2.core.internalforma", + "t.renderbuffer.stencil_index8"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000468, + "KHR-GLES2.core.internalformat.", + "renderbuffer.depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000469, + "KHR-GLES2.core.internalformat.", + "renderbuffer.depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000470, + "KHR-GLES2.core.internalformat.", + "renderbuffer.depth_component32"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000471, + "KHR-GLES2.core.internalformat", + ".renderbuffer.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000472, + "KHR-GLES2.core.internalfo", + "rmat.renderbuffer.rgb5_a1"); diff --git a/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp b/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp new file mode 100644 index 000000000..1123ab0b2 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/core/Khrgles2internalformat_texture2dTestCase.cpp @@ -0,0 +1,172 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000412, + "KHR-GLES2.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000413, + "KHR-GLES2.core.internalformat.", + "texture2d.rgb_unsigned_byte_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000414, + "KHR-GLES2.core.internalformat.textur", + "e2d.rgba_unsigned_short_4_4_4_4_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000415, + "KHR-GLES2.core.internalformat.texture2d.lu", + "minance_alpha_unsigned_byte_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000416, + "KHR-GLES2.core.internalformat.textur", + "e2d.luminance_unsigned_byte_luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000417, + "KHR-GLES2.core.internalformat.te", + "xture2d.alpha_unsigned_byte_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000418, + "KHR-GLES2.core.internalformat.texture2", + "d.rgba_unsigned_int_2_10_10_10_rev_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000419, + "KHR-GLES2.core.internalformat.texture2d.", + "rgba_unsigned_int_2_10_10_10_rev_rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000420, + "KHR-GLES2.core.internalformat.texture2d.", + "rgba_unsigned_int_2_10_10_10_rev_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000421, + "KHR-GLES2.core.internalformat.texture", + "2d.rgb_unsigned_int_2_10_10_10_rev_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000422, + "KHR-GLES2.core.internalformat.texture2d.dep", + "th_component_unsigned_short_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000423, + "KHR-GLES2.core.internalformat.texture2d.de", + "pth_component_unsigned_int_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000424, + "KHR-GLES2.core.internalformat.texture2d.de", + "pth_stencil_unsigned_int_24_8_depth_stencil"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000425, + "KHR-GLES2.core.internalformat.t", + "exture2d.rgb_half_float_oes_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000426, + "KHR-GLES2.core.internalformat.te", + "xture2d.rgba_half_float_oes_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000427, + "KHR-GLES2.core.internalformat.text", + "ure2d.rgb_half_float_oes_rgb_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000428, + "KHR-GLES2.core.internalformat.textu", + "re2d.rgba_half_float_oes_rgba_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000429, + "KHR-GLES2.core.internalforma", + "t.texture2d.rgb_float_rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000430, + "KHR-GLES2.core.internalformat", + ".texture2d.rgba_float_rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000431, + "KHR-GLES2.core.internalformat.t", + "exture2d.rgb_float_rgb32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000432, + "KHR-GLES2.core.internalformat.te", + "xture2d.rgba_float_rgba32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000433, + "KHR-GLES2.core.internalformat.tex", + "ture2d.rgba_unsigned_byte_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000434, + "KHR-GLES2.core.internalformat.te", + "xture2d.rgba_unsigned_byte_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000435, + "KHR-GLES2.core.internalformat.te", + "xture2d.rgb_unsigned_byte_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000436, + "KHR-GLES2.core.internalformat.textur", + "e2d.rgba_unsigned_short_4_4_4_4_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000437, + "KHR-GLES2.core.internalformat.textur", + "e2d.rgba_unsigned_short_5_5_5_1_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000438, + "KHR-GLES2.core.internalformat.texture", + "2d.rgba_unsigned_short_5_5_5_1_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000439, + "KHR-GLES2.core.internalformat.text", + "ure2d.rgb_unsigned_short_5_6_5_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000440, + "KHR-GLES2.core.internalformat.textu", + "re2d.rgb_unsigned_short_5_6_5_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000441, + "KHR-GLES2.core.internalformat.texture2d.lumin", + "ance_alpha_unsigned_byte_luminance8_alpha8_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000442, + "KHR-GLES2.core.internalformat.texture2d.lumin", + "ance_alpha_unsigned_byte_luminance4_alpha4_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000443, + "KHR-GLES2.core.internalformat.texture2d", + ".luminance_unsigned_byte_luminance8_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000444, + "KHR-GLES2.core.internalformat.textu", + "re2d.alpha_unsigned_byte_alpha8_oes"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000445, + "KHR-GLES2.core.internalformat.texture2d.dep", + "th_component_unsigned_int_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000446, + "KHR-GLES2.core.internalformat.texture2d.dept", + "h_component_unsigned_short_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000447, + "KHR-GLES2.core.internalformat.texture2d.dep", + "th_component_unsigned_int_depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000448, + "KHR-GLES2.core.internalformat.texture2d.dep", + "th_component_unsigned_int_depth_component32"); diff --git a/graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp b/graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp new file mode 100644 index 000000000..1e133da18 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_aggressive_optimizationsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000003, + "KHR-GLES2.shaders.aggressive", + "_optimizations.sin_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000004, + "KHR-GLES2.shaders.aggressive", + "_optimizations.sin_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000005, + "KHR-GLES2.shaders.aggressive", + "_optimizations.sin_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000006, + "KHR-GLES2.shaders.aggressive", + "_optimizations.sin_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000007, + "KHR-GLES2.shaders.aggressive", + "_optimizations.sin_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000008, + "KHR-GLES2.shaders.aggressive", + "_optimizations.sin_vec3_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000009, + "KHR-GLES2.shaders.aggressive", + "_optimizations.cos_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000010, + "KHR-GLES2.shaders.aggressive", + "_optimizations.cos_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000011, + "KHR-GLES2.shaders.aggressive", + "_optimizations.cos_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000012, + "KHR-GLES2.shaders.aggressive", + "_optimizations.cos_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000013, + "KHR-GLES2.shaders.aggressive", + "_optimizations.cos_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000014, + "KHR-GLES2.shaders.aggressive", + "_optimizations.cos_vec3_frag"); diff --git a/graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp b/graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp new file mode 100644 index 000000000..99050bb8d --- /dev/null +++ b/graphic/vkgl/src/khrgles2/shaders/Khrgles2shaders_negativeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000001, + "KHR-GLES2.shaders.", + "negative.initialize"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000002, + "KHR-GLES2.shaders.nega", + "tive.constant_sequence"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp new file mode 100644 index 000000000..66c7be7cd --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_combinationsTestCase.cpp @@ -0,0 +1,1324 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000051, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_nearest_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000052, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000053, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000054, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000055, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000056, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000057, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000058, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000059, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000060, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000061, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000062, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000063, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000064, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000065, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000066, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000067, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000068, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000069, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000070, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000071, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000072, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000073, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000074, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000075, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_nearest_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000076, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000077, + "KHR-GLES2.texture_3d.filtering.combinati", + "ons.nearest_nearest_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000078, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000079, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000080, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000081, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000082, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000083, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000084, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000085, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000086, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000087, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000088, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000089, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000090, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000091, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000092, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000093, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000094, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000095, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000096, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.nearest_linear_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000097, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000098, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000099, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000100, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000101, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000102, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000103, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000104, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.nearest_linear_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000105, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000106, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000107, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000108, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000109, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000110, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000111, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000112, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000113, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000114, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000115, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000116, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000117, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000118, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000119, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000120, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000121, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000122, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000123, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_nearest_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000124, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000125, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000126, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000127, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000128, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000129, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000130, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000131, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_nearest_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000132, + "KHR-GLES2.texture_3d.filtering.combin", + "ations.linear_linear_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000133, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000134, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000135, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000136, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000137, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000138, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000139, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000140, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000141, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000142, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000143, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000144, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000145, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000146, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000147, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000148, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000149, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000150, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000151, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000152, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000153, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000154, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000155, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000156, + "KHR-GLES2.texture_3d.filtering.combina", + "tions.linear_linear_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000157, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000158, + "KHR-GLES2.texture_3d.filtering.combinat", + "ions.linear_linear_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000159, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000160, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000161, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000162, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000163, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000164, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000165, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000166, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000167, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000168, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000169, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000170, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000171, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000172, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000173, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000174, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000175, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000176, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000177, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_nearest_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000178, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000179, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000180, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000181, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000182, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000183, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000184, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000185, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_nearest_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000186, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_nearest_linear_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000187, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000188, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000189, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000190, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000191, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000192, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000193, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000194, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000195, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000196, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000197, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000198, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000199, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000200, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000201, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000202, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000203, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000204, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000205, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000206, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000207, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000208, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000209, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000210, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_nearest_linear_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000211, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000212, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_nearest_linear_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000213, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_nearest_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000214, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000215, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000216, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000217, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000218, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000219, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000220, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000221, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000222, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000223, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000224, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000225, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000226, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000227, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000228, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000229, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000230, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000231, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000232, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000233, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000234, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000235, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000236, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000237, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_nearest_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000238, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000239, + "KHR-GLES2.texture_3d.filtering.combinations.lin", + "ear_mipmap_nearest_nearest_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000240, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000241, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000242, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000243, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000244, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000245, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000246, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000247, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000248, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000249, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000250, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000251, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000252, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000253, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000254, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000255, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000256, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000257, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000258, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_nearest_linear_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000259, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000260, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000261, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000262, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000263, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000264, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000265, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000266, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_nearest_linear_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000267, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_nearest_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000268, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000269, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000270, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000271, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000272, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000273, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000274, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000275, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000276, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000277, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000278, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000279, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000280, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000281, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000282, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000283, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000284, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000285, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000286, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000287, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000288, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000289, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000290, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000291, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_nearest_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000292, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000293, + "KHR-GLES2.texture_3d.filtering.combinations.nea", + "rest_mipmap_linear_nearest_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000294, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000295, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000296, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000297, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000298, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000299, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000300, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000301, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000302, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000303, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000304, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000305, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000306, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000307, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000308, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000309, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000310, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000311, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000312, + "KHR-GLES2.texture_3d.filtering.combinations.n", + "earest_mipmap_linear_linear_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000313, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000314, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000315, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000316, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000317, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000318, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000319, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000320, + "KHR-GLES2.texture_3d.filtering.combinations.ne", + "arest_mipmap_linear_linear_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000321, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000322, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000323, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000324, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000325, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000326, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000327, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000328, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000329, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000330, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000331, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000332, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000333, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000334, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000335, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000336, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000337, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000338, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000339, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_nearest_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000340, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000341, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000342, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000343, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000344, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000345, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000346, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000347, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_nearest_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000348, + "KHR-GLES2.texture_3d.filtering.combinations.", + "linear_mipmap_linear_linear_clamp_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000349, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000350, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000351, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000352, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000353, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000354, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000355, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000356, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_clamp_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000357, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_repeat_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000358, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_repeat_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000359, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_repeat_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000360, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_repeat_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000361, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_repeat_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000362, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_repeat_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000363, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_repeat_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000364, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_repeat_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000365, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_repeat_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000366, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_mirror_clamp_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000367, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_mirror_clamp_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000368, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_mirror_clamp_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000369, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_mirror_repeat_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000370, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_mirror_repeat_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000371, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_mirror_repeat_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000372, + "KHR-GLES2.texture_3d.filtering.combinations.l", + "inear_mipmap_linear_linear_mirror_mirror_clamp"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000373, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_mirror_mirror_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000374, + "KHR-GLES2.texture_3d.filtering.combinations.li", + "near_mipmap_linear_linear_mirror_mirror_mirror"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000375, + "KHR-GLES2.texture_3d.filte", + "ring.combinations.negative"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp new file mode 100644 index 000000000..de17398cf --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_formatsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000015, + "KHR-GLES2.texture_3d.filte", + "ring.formats.rgba8_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000016, + "KHR-GLES2.texture_3d.filt", + "ering.formats.rgba8_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000017, + "KHR-GLES2.texture_3d.filtering.fo", + "rmats.rgba8_nearest_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000018, + "KHR-GLES2.texture_3d.filtering.fo", + "rmats.rgba8_linear_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000019, + "KHR-GLES2.texture_3d.filtering.fo", + "rmats.rgba8_nearest_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000020, + "KHR-GLES2.texture_3d.filtering.f", + "ormats.rgba8_linear_mipmap_linear"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp new file mode 100644 index 000000000..2160ce37e --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2filtering_sizesTestCase.cpp @@ -0,0 +1,144 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000021, + "KHR-GLES2.texture_3d.filt", + "ering.sizes.4x8x8_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000022, + "KHR-GLES2.texture_3d.fil", + "tering.sizes.4x8x8_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000023, + "KHR-GLES2.texture_3d.filtering.s", + "izes.4x8x8_nearest_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000024, + "KHR-GLES2.texture_3d.filtering.s", + "izes.4x8x8_linear_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000025, + "KHR-GLES2.texture_3d.filtering.s", + "izes.4x8x8_nearest_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000026, + "KHR-GLES2.texture_3d.filtering.", + "sizes.4x8x8_linear_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000027, + "KHR-GLES2.texture_3d.filte", + "ring.sizes.32x64x16_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000028, + "KHR-GLES2.texture_3d.filte", + "ring.sizes.32x64x16_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000029, + "KHR-GLES2.texture_3d.filtering.siz", + "es.32x64x16_nearest_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000030, + "KHR-GLES2.texture_3d.filtering.si", + "zes.32x64x16_linear_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000031, + "KHR-GLES2.texture_3d.filtering.si", + "zes.32x64x16_nearest_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000032, + "KHR-GLES2.texture_3d.filtering.si", + "zes.32x64x16_linear_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000033, + "KHR-GLES2.texture_3d.filter", + "ing.sizes.128x32x64_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000034, + "KHR-GLES2.texture_3d.filte", + "ring.sizes.128x32x64_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000035, + "KHR-GLES2.texture_3d.filtering.siz", + "es.128x32x64_nearest_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000036, + "KHR-GLES2.texture_3d.filtering.siz", + "es.128x32x64_linear_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000037, + "KHR-GLES2.texture_3d.filtering.siz", + "es.128x32x64_nearest_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000038, + "KHR-GLES2.texture_3d.filtering.si", + "zes.128x32x64_linear_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000039, + "KHR-GLES2.texture_3d.filt", + "ering.sizes.3x7x5_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000040, + "KHR-GLES2.texture_3d.fil", + "tering.sizes.3x7x5_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000041, + "KHR-GLES2.texture_3d.filtering.s", + "izes.3x7x5_nearest_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000042, + "KHR-GLES2.texture_3d.filtering.s", + "izes.3x7x5_linear_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000043, + "KHR-GLES2.texture_3d.filtering.s", + "izes.3x7x5_nearest_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000044, + "KHR-GLES2.texture_3d.filtering.", + "sizes.3x7x5_linear_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000045, + "KHR-GLES2.texture_3d.filte", + "ring.sizes.63x63x63_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000046, + "KHR-GLES2.texture_3d.filte", + "ring.sizes.63x63x63_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000047, + "KHR-GLES2.texture_3d.filtering.siz", + "es.63x63x63_nearest_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000048, + "KHR-GLES2.texture_3d.filtering.si", + "zes.63x63x63_linear_mipmap_nearest"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000049, + "KHR-GLES2.texture_3d.filtering.si", + "zes.63x63x63_nearest_mipmap_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000050, + "KHR-GLES2.texture_3d.filtering.si", + "zes.63x63x63_linear_mipmap_linear"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp new file mode 100644 index 000000000..eb998ddee --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_compressed_textureTestCase.cpp @@ -0,0 +1,144 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000382, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_4x4_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000383, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_5x4_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000384, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_5x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000385, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_6x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000386, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_6x6_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000387, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_8x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000388, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_8x6_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000389, + "KHR-GLES2.texture_3d.compres", + "sed_texture.rgba_astc_8x8_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000390, + "KHR-GLES2.texture_3d.compress", + "ed_texture.rgba_astc_10x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000391, + "KHR-GLES2.texture_3d.compress", + "ed_texture.rgba_astc_10x6_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000392, + "KHR-GLES2.texture_3d.compress", + "ed_texture.rgba_astc_10x8_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000393, + "KHR-GLES2.texture_3d.compress", + "ed_texture.rgba_astc_10x10_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000394, + "KHR-GLES2.texture_3d.compress", + "ed_texture.rgba_astc_12x10_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000395, + "KHR-GLES2.texture_3d.compress", + "ed_texture.rgba_astc_12x12_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000396, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_4x4_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000397, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_5x4_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000398, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_5x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000399, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_6x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000400, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_6x6_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000401, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_8x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000402, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_8x6_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000403, + "KHR-GLES2.texture_3d.compressed_", + "texture.srgb8_alpha8_astc_8x8_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000404, + "KHR-GLES2.texture_3d.compressed_", + "texture.sgb8_alpha8_astc_10x5_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000405, + "KHR-GLES2.texture_3d.compressed_t", + "exture.srgb8_alpha8_astc_10x6_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000406, + "KHR-GLES2.texture_3d.compressed_t", + "exture.srgb8_alpha8_astc_10x8_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000407, + "KHR-GLES2.texture_3d.compressed_t", + "exture.srgb8_alpha8_astc_10x10_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000408, + "KHR-GLES2.texture_3d.compressed_t", + "exture.srgb8_alpha8_astc_12x10_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000409, + "KHR-GLES2.texture_3d.compressed_t", + "exture.srgb8_alpha8_astc_12x12_khr"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000410, + "KHR-GLES2.texture_3d.compressed_te", + "xture.negative_compressed_tex_image"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000411, + "KHR-GLES2.texture_3d.compressed_text", + "ure.negative_compressed_tex_sub_image"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp new file mode 100644 index 000000000..fd36d31f3 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_copy_sub_imageTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000378, + "KHR-GLES2.texture_3d", + ".copy_sub_image.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000379, + "KHR-GLES2.texture_3d.c", + "opy_sub_image.negative"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp new file mode 100644 index 000000000..465119fe0 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_framebuffer_textureTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000380, + "KHR-GLES2.texture_3d.f", + "ramebuffer_texture.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000381, + "KHR-GLES2.texture_3d.fra", + "mebuffer_texture.negative"); diff --git a/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp new file mode 100644 index 000000000..80d0abc22 --- /dev/null +++ b/graphic/vkgl/src/khrgles2/texture_3d/Khrgles2texture_3d_sub_imageTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles2BaseFunc.h" +#include "../ActsKhrgles20001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000376, + "KHR-GLES2.texture_", + "3d.sub_image.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000377, + "KHR-GLES2.texture_3", + "d.sub_image.negative"); -- GitLab From b8e7b69f08f56c2e7748808230ecf103904fc3a4 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:44:42 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=9A=84khrgles3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- .../khrgles3/ActsKhrgles30001TestSuite.cpp | 60 + .../src/khrgles3/ActsKhrgles30001TestSuite.h | 40 + .../khrgles3/ActsKhrgles30002TestSuite.cpp | 60 + .../src/khrgles3/ActsKhrgles30002TestSuite.h | 40 + .../khrgles3/ActsKhrgles30003TestSuite.cpp | 60 + .../src/khrgles3/ActsKhrgles30003TestSuite.h | 40 + .../khrgles3/ActsKhrgles30004TestSuite.cpp | 60 + .../src/khrgles3/ActsKhrgles30004TestSuite.h | 40 + .../khrgles3/ActsKhrgles30005TestSuite.cpp | 60 + .../src/khrgles3/ActsKhrgles30005TestSuite.h | 40 + .../src/khrgles3/ActsKhrgles3TestSuite.cpp | 60 + .../vkgl/src/khrgles3/ActsKhrgles3TestSuite.h | 40 + .../vkgl/src/khrgles3/Khrgles3BaseFunc.cpp | 81 + graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h | 32 + graphic/vkgl/src/khrgles3/build0001/BUILD.gn | 86 + graphic/vkgl/src/khrgles3/build0001/Test.json | 38 + .../vkgl/src/khrgles3/build0001/logdefine.cpp | 20 + graphic/vkgl/src/khrgles3/build0002/BUILD.gn | 86 + graphic/vkgl/src/khrgles3/build0002/Test.json | 38 + .../vkgl/src/khrgles3/build0002/logdefine.cpp | 20 + graphic/vkgl/src/khrgles3/build0003/BUILD.gn | 83 + graphic/vkgl/src/khrgles3/build0003/Test.json | 38 + .../vkgl/src/khrgles3/build0003/logdefine.cpp | 20 + graphic/vkgl/src/khrgles3/build0004/BUILD.gn | 81 + graphic/vkgl/src/khrgles3/build0004/Test.json | 38 + .../vkgl/src/khrgles3/build0004/logdefine.cpp | 20 + graphic/vkgl/src/khrgles3/build0005/BUILD.gn | 59 + graphic/vkgl/src/khrgles3/build0005/Test.json | 38 + .../vkgl/src/khrgles3/build0005/logdefine.cpp | 20 + ...ex_image_conversions_forbiddenTestCase.cpp | 304 ++ ...tex_image_conversions_requiredTestCase.cpp | 304 ++ ...gles3core_constant_expressionsTestCase.cpp | 1880 ++++++++++++ .../Khrgles3core_nearest_edgeTestCase.cpp | 32 + .../Khrgles3core_shader_macrosTestCase.cpp | 32 + ...3internalformat_copy_tex_imageTestCase.cpp | 76 + ...es3internalformat_renderbufferTestCase.cpp | 48 + ...rgles3internalformat_texture2dTestCase.cpp | 356 +++ ...s3KHR-GLES3_exposed_extensionsTestCase.cpp | 28 + ...GLES3_framebuffer_completenessTestCase.cpp | 80 + ...rgles3KHR-GLES3_number_parsingTestCase.cpp | 96 + ...gles3packed_depth_stencil_blitTestCase.cpp | 32 + ...ked_depth_stencil_clear_bufferTestCase.cpp | 32 + ...ed_depth_stencil_renderbuffersTestCase.cpp | 32 + ...epth_stencil_stencil_texturingTestCase.cpp | 32 + ..._depth_stencil_validate_errorsTestCase.cpp | 32 + ...encil_verify_mixed_attachmentsTestCase.cpp | 32 + ...epth_stencil_verify_parametersTestCase.cpp | 32 + ...cil_verify_partial_attachmentsTestCase.cpp | 32 + ...pth_stencil_verify_read_pixelsTestCase.cpp | 32 + ...es3packed_pixels_pbo_rectangleTestCase.cpp | 260 ++ ...hrgles3packed_pixels_rectangleTestCase.cpp | 264 ++ ...packed_pixels_varied_rectangleTestCase.cpp | 260 ++ ...-GLES3_parallel_shader_compileTestCase.cpp | 36 + ...gles3declarations_declarationsTestCase.cpp | 64 + .../Khrgles3fragdepth_compareTestCase.cpp | 60 + .../Khrgles3fragdepth_writeTestCase.cpp | 60 + ...gles3indexing_matrix_subscriptTestCase.cpp | 456 +++ .../Khrgles3indexing_tmp_arrayTestCase.cpp | 220 ++ ...Khrgles3indexing_uniform_arrayTestCase.cpp | 152 + ...Khrgles3indexing_varying_arrayTestCase.cpp | 264 ++ ...gles3indexing_vector_subscriptTestCase.cpp | 216 ++ ...stance_array_basic_type_packedTestCase.cpp | 196 ++ ...stance_array_basic_type_sharedTestCase.cpp | 196 ++ ...stance_array_basic_type_std140TestCase.cpp | 196 ++ ...s_do_while_constant_iterationsTestCase.cpp | 264 ++ ...ps_do_while_dynamic_iterationsTestCase.cpp | 264 ++ ...ps_do_while_uniform_iterationsTestCase.cpp | 264 ++ ...3loops_for_constant_iterationsTestCase.cpp | 272 ++ ...s3loops_for_dynamic_iterationsTestCase.cpp | 272 ++ ...s3loops_for_uniform_iterationsTestCase.cpp | 272 ++ ...oops_while_constant_iterationsTestCase.cpp | 272 ++ ...loops_while_dynamic_iterationsTestCase.cpp | 272 ++ ...loops_while_uniform_iterationsTestCase.cpp | 272 ++ ...i_basic_types_per_block_bufferTestCase.cpp | 64 + ...ulti_basic_types_single_bufferTestCase.cpp | 64 + ...nested_struct_per_block_bufferTestCase.cpp | 64 + ...ti_nested_struct_single_bufferTestCase.cpp | 64 + .../Khrgles3name_hiding_basicTestCase.cpp | 48 + .../Khrgles3preprocessor_basicTestCase.cpp | 88 + .../Khrgles3preprocessor_builtinTestCase.cpp | 40 + .../Khrgles3preprocessor_commentsTestCase.cpp | 64 + ...rocessor_conditional_inclusionTestCase.cpp | 72 + ...gles3preprocessor_conditionalsTestCase.cpp | 96 + ...rgles3preprocessor_definitionsTestCase.cpp | 80 + ...Khrgles3preprocessor_directiveTestCase.cpp | 120 + ...rgles3preprocessor_expressionsTestCase.cpp | 184 ++ ...hrgles3preprocessor_extensionsTestCase.cpp | 136 + ...processor_function_definitionsTestCase.cpp | 48 + ...ocessor_function_redefinitionsTestCase.cpp | 72 + ...processor_invalid_conditionalsTestCase.cpp | 256 ++ ...eprocessor_invalid_definitionsTestCase.cpp | 48 + ...eprocessor_invalid_expressionsTestCase.cpp | 88 + ...r_invalid_function_definitionsTestCase.cpp | 152 + ...rgles3preprocessor_invalid_opsTestCase.cpp | 96 + ...rocessor_invalid_redefinitionsTestCase.cpp | 40 + ...preprocessor_line_continuationTestCase.cpp | 64 + ...processor_object_redefinitionsTestCase.cpp | 144 + ...eprocessor_operator_precedenceTestCase.cpp | 384 +++ .../Khrgles3preprocessor_pragmasTestCase.cpp | 40 + ...preprocessor_predefined_macrosTestCase.cpp | 88 + ...Khrgles3preprocessor_recursionTestCase.cpp | 64 + .../Khrgles3preprocessor_semanticTestCase.cpp | 40 + ...rocessor_undefined_identifiersTestCase.cpp | 136 + ...s3random_all_per_block_buffersTestCase.cpp | 104 + ...rgles3random_all_shared_bufferTestCase.cpp | 104 + .../Khrgles3random_basic_arraysTestCase.cpp | 64 + ...s3random_basic_instance_arraysTestCase.cpp | 64 + .../Khrgles3random_basic_typesTestCase.cpp | 64 + .../Khrgles3random_nested_structsTestCase.cpp | 64 + ...s3random_nested_structs_arraysTestCase.cpp | 64 + ...structs_arrays_instance_arraysTestCase.cpp | 64 + ...nested_structs_instance_arraysTestCase.cpp | 64 + .../Khrgles3random_scalar_typesTestCase.cpp | 64 + .../Khrgles3random_vector_typesTestCase.cpp | 64 + ...aders_aggressive_optimizationsTestCase.cpp | 72 + ...gles3shaders_glsl_constructorsTestCase.cpp | 2616 +++++++++++++++++ ...hrgles3shaders_literal_parsingTestCase.cpp | 56 + .../Khrgles3shaders_negativeTestCase.cpp | 32 + ...les3shaders_shader_integer_mixTestCase.cpp | 52 + ...gles3single_basic_array_packedTestCase.cpp | 196 ++ ...gles3single_basic_array_sharedTestCase.cpp | 196 ++ ...gles3single_basic_array_std140TestCase.cpp | 196 ++ ...rgles3single_basic_type_packedTestCase.cpp | 508 ++++ ...rgles3single_basic_type_sharedTestCase.cpp | 508 ++++ ...rgles3single_basic_type_std140TestCase.cpp | 508 ++++ .../shaders/Khrgles3struct_localTestCase.cpp | 200 ++ .../Khrgles3struct_uniformTestCase.cpp | 144 + .../Khrgles3uniform_block_commonTestCase.cpp | 32 + ...orm_block_single_nested_structTestCase.cpp | 60 + ...ock_single_nested_struct_arrayTestCase.cpp | 60 + ...es3uniform_block_single_structTestCase.cpp | 60 + ...form_block_single_struct_arrayTestCase.cpp | 60 + ...ES3_texture_filter_anisotropicTestCase.cpp | 32 + ...3KHR-GLES3_texture_repeat_modeTestCase.cpp | 672 +++++ 134 files changed, 20234 insertions(+) create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h create mode 100644 graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp create mode 100644 graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h create mode 100644 graphic/vkgl/src/khrgles3/build0001/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles3/build0001/Test.json create mode 100644 graphic/vkgl/src/khrgles3/build0001/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles3/build0002/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles3/build0002/Test.json create mode 100644 graphic/vkgl/src/khrgles3/build0002/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles3/build0003/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles3/build0003/Test.json create mode 100644 graphic/vkgl/src/khrgles3/build0003/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles3/build0004/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles3/build0004/Test.json create mode 100644 graphic/vkgl/src/khrgles3/build0004/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles3/build0005/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles3/build0005/Test.json create mode 100644 graphic/vkgl/src/khrgles3/build0005/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/core/Khrgles3core_constant_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/core/Khrgles3core_nearest_edgeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/core/Khrgles3core_shader_macrosTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_copy_tex_imageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_renderbufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_texture2dTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3declarations_declarationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_tmp_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_uniform_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_vector_subscriptTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_packedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_sharedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_std140TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_constant_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_dynamic_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_uniform_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_constant_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_dynamic_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_uniform_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_constant_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_dynamic_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_uniform_iterationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_per_block_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_single_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_per_block_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_single_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3name_hiding_basicTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_basicTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_builtinTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_commentsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditional_inclusionTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditionalsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_directiveTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_extensionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_redefinitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_conditionalsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_function_definitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_opsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_redefinitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_line_continuationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_object_redefinitionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_operator_precedenceTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_pragmasTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_recursionTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_semanticTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_undefined_identifiersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_per_block_buffersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_shared_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_instance_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_typesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arrays_instance_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_instance_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_scalar_typesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3random_vector_typesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_aggressive_optimizationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_literal_parsingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_negativeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_shader_integer_mixTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_packedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_sharedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_std140TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_packedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_std140TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_localTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_uniformTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_commonTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_structTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_struct_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_structTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_struct_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles3/texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp b/graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp new file mode 100644 index 000000000..1cf056d6b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles3BaseFunc.h" +#include "ActsKhrgles30001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles30001TestSuite::startTime; + time_t ActsKhrgles30001TestSuite::endTime; + FuncRunResult ActsKhrgles30001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles30001TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles30001TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles30001TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles30001TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h b/graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h new file mode 100644 index 000000000..375b42789 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_TESTCASE_H +#define KHRGLES3_TESTCASE_H + +#include +#include "Khrgles3BaseFunc.h" + +namespace OHOS { + class ActsKhrgles30001TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp b/graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp new file mode 100644 index 000000000..54891f5bf --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles3BaseFunc.h" +#include "ActsKhrgles30002TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles30002TestSuite::startTime; + time_t ActsKhrgles30002TestSuite::endTime; + FuncRunResult ActsKhrgles30002TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles30002TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles30002TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles30002TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles30002TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h b/graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h new file mode 100644 index 000000000..80c54a8cf --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30002TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_TESTCASE_H +#define KHRGLES3_TESTCASE_H + +#include +#include "Khrgles3BaseFunc.h" + +namespace OHOS { + class ActsKhrgles30002TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp b/graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp new file mode 100644 index 000000000..f545aee23 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles3BaseFunc.h" +#include "ActsKhrgles30003TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles30003TestSuite::startTime; + time_t ActsKhrgles30003TestSuite::endTime; + FuncRunResult ActsKhrgles30003TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles30003TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles30003TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles30003TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles30003TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h b/graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h new file mode 100644 index 000000000..29fe24c27 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30003TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_TESTCASE_H +#define KHRGLES3_TESTCASE_H + +#include +#include "Khrgles3BaseFunc.h" + +namespace OHOS { + class ActsKhrgles30003TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp b/graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp new file mode 100644 index 000000000..c1bfd2a2c --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles3BaseFunc.h" +#include "ActsKhrgles30004TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles30004TestSuite::startTime; + time_t ActsKhrgles30004TestSuite::endTime; + FuncRunResult ActsKhrgles30004TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles30004TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles30004TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles30004TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles30004TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h b/graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h new file mode 100644 index 000000000..962941ffd --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30004TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_TESTCASE_H +#define KHRGLES3_TESTCASE_H + +#include +#include "Khrgles3BaseFunc.h" + +namespace OHOS { + class ActsKhrgles30004TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp b/graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp new file mode 100644 index 000000000..4201c62df --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles3BaseFunc.h" +#include "ActsKhrgles30005TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles30005TestSuite::startTime; + time_t ActsKhrgles30005TestSuite::endTime; + FuncRunResult ActsKhrgles30005TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles30005TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles30005TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles30005TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles30005TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h b/graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h new file mode 100644 index 000000000..f56a5f9c9 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles30005TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_TESTCASE_H +#define KHRGLES3_TESTCASE_H + +#include +#include "Khrgles3BaseFunc.h" + +namespace OHOS { + class ActsKhrgles30005TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp b/graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp new file mode 100644 index 000000000..a85bd0b06 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles3BaseFunc.h" +#include "ActsKhrgles3TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles3TestSuite::startTime; + time_t ActsKhrgles3TestSuite::endTime; + FuncRunResult ActsKhrgles3TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles3TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles3TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles3TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles3TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h b/graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h new file mode 100644 index 000000000..600c2cc28 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/ActsKhrgles3TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_TESTCASE_H +#define KHRGLES3_TESTCASE_H + +#include +#include "Khrgles3BaseFunc.h" + +namespace OHOS { + class ActsKhrgles3TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES3_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp b/graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp new file mode 100644 index 000000000..20ee21382 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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. + */ + +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "Khrgles3BaseFunc.h" + +static tcu::TestPackage* createKhrgles3Package(tcu::TestContext& testCtx) +{ + return new es3cts::ES30TestPackage(testCtx, "KHR-GLES3"); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("KHR-GLES3", createKhrgles3Package); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h b/graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h new file mode 100644 index 000000000..0845a01e3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/Khrgles3BaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef KHRGLES3_FUNC_H +#define KHRGLES3_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // KHRGLES3_FUNC_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0001/BUILD.gn b/graphic/vkgl/src/khrgles3/build0001/BUILD.gn new file mode 100644 index 000000000..8bf50b1de --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0001/BUILD.gn @@ -0,0 +1,86 @@ +# 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("libkhrgles3func0001") { + sources = common_src + sources += [ "../Khrgles3BaseFunc.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("ActsKhrgles3TestSuite0001") { + sources = [ + "../ActsKhrgles30001TestSuite.cpp", + "../shaders/Khrgles3declarations_declarationsTestCase.cpp", + "../shaders/Khrgles3fragdepth_compareTestCase.cpp", + "../shaders/Khrgles3fragdepth_writeTestCase.cpp", + "../shaders/Khrgles3indexing_matrix_subscriptTestCase.cpp", + "../shaders/Khrgles3indexing_tmp_arrayTestCase.cpp", + "../shaders/Khrgles3indexing_uniform_arrayTestCase.cpp", + "../shaders/Khrgles3indexing_varying_arrayTestCase.cpp", + "../shaders/Khrgles3indexing_vector_subscriptTestCase.cpp", + "../shaders/Khrgles3loops_do_while_constant_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_do_while_dynamic_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_do_while_uniform_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_for_constant_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_for_dynamic_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_for_uniform_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_while_constant_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_while_dynamic_iterationsTestCase.cpp", + "../shaders/Khrgles3loops_while_uniform_iterationsTestCase.cpp", + "../shaders/Khrgles3preprocessor_basicTestCase.cpp", + "../shaders/Khrgles3preprocessor_commentsTestCase.cpp", + "../shaders/Khrgles3preprocessor_definitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_function_definitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_function_redefinitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_invalid_definitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_invalid_function_definitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_invalid_redefinitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_line_continuationTestCase.cpp", + "../shaders/Khrgles3preprocessor_object_redefinitionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_recursionTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles3func0001" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles3/build0001/Test.json b/graphic/vkgl/src/khrgles3/build0001/Test.json new file mode 100644 index 000000000..2bf030f4d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0001/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles3TestSuite0001 test cases", + "driver": { + "module-name": "ActsKhrgles3TestSuite0001", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles3TestSuite0001->/data/local/tmp/ActsKhrgles3TestSuite0001", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0001/logdefine.cpp b/graphic/vkgl/src/khrgles3/build0001/logdefine.cpp new file mode 100644 index 000000000..4104de166 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0001/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles3TestSuite0001.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0002/BUILD.gn b/graphic/vkgl/src/khrgles3/build0002/BUILD.gn new file mode 100644 index 000000000..0f20f1811 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0002/BUILD.gn @@ -0,0 +1,86 @@ +# 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("libkhrgles3func0002") { + sources = common_src + sources += [ "../Khrgles3BaseFunc.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("ActsKhrgles3TestSuite0002") { + sources = [ + "../ActsKhrgles30002TestSuite.cpp", + "../shaders/Khrgles3name_hiding_basicTestCase.cpp", + "../shaders/Khrgles3preprocessor_builtinTestCase.cpp", + "../shaders/Khrgles3preprocessor_conditional_inclusionTestCase.cpp", + "../shaders/Khrgles3preprocessor_conditionalsTestCase.cpp", + "../shaders/Khrgles3preprocessor_directiveTestCase.cpp", + "../shaders/Khrgles3preprocessor_expressionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_extensionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_invalid_conditionalsTestCase.cpp", + "../shaders/Khrgles3preprocessor_invalid_expressionsTestCase.cpp", + "../shaders/Khrgles3preprocessor_invalid_opsTestCase.cpp", + "../shaders/Khrgles3preprocessor_operator_precedenceTestCase.cpp", + "../shaders/Khrgles3preprocessor_pragmasTestCase.cpp", + "../shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp", + "../shaders/Khrgles3preprocessor_semanticTestCase.cpp", + "../shaders/Khrgles3preprocessor_undefined_identifiersTestCase.cpp", + "../shaders/Khrgles3shaders_literal_parsingTestCase.cpp", + "../shaders/Khrgles3single_basic_array_packedTestCase.cpp", + "../shaders/Khrgles3single_basic_array_sharedTestCase.cpp", + "../shaders/Khrgles3single_basic_array_std140TestCase.cpp", + "../shaders/Khrgles3single_basic_type_packedTestCase.cpp", + "../shaders/Khrgles3single_basic_type_sharedTestCase.cpp", + "../shaders/Khrgles3single_basic_type_std140TestCase.cpp", + "../shaders/Khrgles3struct_localTestCase.cpp", + "../shaders/Khrgles3struct_uniformTestCase.cpp", + "../shaders/Khrgles3uniform_block_single_nested_structTestCase.cpp", + "../shaders/Khrgles3uniform_block_single_nested_struct_arrayTestCase.cpp", + "../shaders/Khrgles3uniform_block_single_structTestCase.cpp", + "../shaders/Khrgles3uniform_block_single_struct_arrayTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles3func0002" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles3/build0002/Test.json b/graphic/vkgl/src/khrgles3/build0002/Test.json new file mode 100644 index 000000000..ce0050225 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0002/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles3TestSuite0002 test cases", + "driver": { + "module-name": "ActsKhrgles3TestSuite0002", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles3TestSuite0002->/data/local/tmp/ActsKhrgles3TestSuite0002", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0002/logdefine.cpp b/graphic/vkgl/src/khrgles3/build0002/logdefine.cpp new file mode 100644 index 000000000..b2f0f2dbd --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0002/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles3TestSuite0002.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0003/BUILD.gn b/graphic/vkgl/src/khrgles3/build0003/BUILD.gn new file mode 100644 index 000000000..2de0843ec --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0003/BUILD.gn @@ -0,0 +1,83 @@ +# 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("libkhrgles3func0003") { + sources = common_src + sources += [ "../Khrgles3BaseFunc.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("ActsKhrgles3TestSuite0003") { + sources = [ + "../ActsKhrgles30003TestSuite.cpp", + "../shaders/Khrgles3instance_array_basic_type_packedTestCase.cpp", + "../shaders/Khrgles3instance_array_basic_type_sharedTestCase.cpp", + "../shaders/Khrgles3instance_array_basic_type_std140TestCase.cpp", + "../shaders/Khrgles3multi_basic_types_per_block_bufferTestCase.cpp", + "../shaders/Khrgles3multi_basic_types_single_bufferTestCase.cpp", + "../shaders/Khrgles3multi_nested_struct_per_block_bufferTestCase.cpp", + "../shaders/Khrgles3multi_nested_struct_single_bufferTestCase.cpp", + "../shaders/Khrgles3random_all_per_block_buffersTestCase.cpp", + "../shaders/Khrgles3random_all_shared_bufferTestCase.cpp", + "../shaders/Khrgles3random_basic_arraysTestCase.cpp", + "../shaders/Khrgles3random_basic_instance_arraysTestCase.cpp", + "../shaders/Khrgles3random_basic_typesTestCase.cpp", + "../shaders/Khrgles3random_nested_structsTestCase.cpp", + "../shaders/Khrgles3random_nested_structs_arraysTestCase.cpp", + "../shaders/Khrgles3random_nested_structs_arrays_instance_arraysTestCase.cpp", + "../shaders/Khrgles3random_nested_structs_instance_arraysTestCase.cpp", + "../shaders/Khrgles3random_scalar_typesTestCase.cpp", + "../shaders/Khrgles3random_vector_typesTestCase.cpp", + "../shaders/Khrgles3shaders_aggressive_optimizationsTestCase.cpp", + "../shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp", + "../shaders/Khrgles3shaders_negativeTestCase.cpp", + "../shaders/Khrgles3shaders_shader_integer_mixTestCase.cpp", + "../shaders/Khrgles3uniform_block_commonTestCase.cpp", + "../texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp", + "../texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles3func0003" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles3/build0003/Test.json b/graphic/vkgl/src/khrgles3/build0003/Test.json new file mode 100644 index 000000000..bbc49e793 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0003/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles3TestSuite0003 test cases", + "driver": { + "module-name": "ActsKhrgles3TestSuite0003", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles3TestSuite0003->/data/local/tmp/ActsKhrgles3TestSuite0003", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0003/logdefine.cpp b/graphic/vkgl/src/khrgles3/build0003/logdefine.cpp new file mode 100644 index 000000000..010500ebd --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0003/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles3TestSuite0003.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0004/BUILD.gn b/graphic/vkgl/src/khrgles3/build0004/BUILD.gn new file mode 100644 index 000000000..6a404d8f1 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0004/BUILD.gn @@ -0,0 +1,81 @@ +# 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("libkhrgles3func0004") { + sources = common_src + sources += [ "../Khrgles3BaseFunc.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("ActsKhrgles3TestSuite0004") { + sources = [ + "../ActsKhrgles30004TestSuite.cpp", + "../copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp", + "../copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp", + "../core/Khrgles3core_constant_expressionsTestCase.cpp", + "../core/Khrgles3core_nearest_edgeTestCase.cpp", + "../core/Khrgles3core_shader_macrosTestCase.cpp", + "../core/Khrgles3internalformat_copy_tex_imageTestCase.cpp", + "../core/Khrgles3internalformat_renderbufferTestCase.cpp", + "../core/Khrgles3internalformat_texture2dTestCase.cpp", + "../exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp", + "../framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp", + "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp", + "../packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp", + "../packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp", + "../packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp", + "../parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles3func0004" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles3/build0004/Test.json b/graphic/vkgl/src/khrgles3/build0004/Test.json new file mode 100644 index 000000000..468d0a5c6 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0004/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles3TestSuite0004 test cases", + "driver": { + "module-name": "ActsKhrgles3TestSuite0004", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles3TestSuite0004->/data/local/tmp/ActsKhrgles3TestSuite0004", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0004/logdefine.cpp b/graphic/vkgl/src/khrgles3/build0004/logdefine.cpp new file mode 100644 index 000000000..c5f32423a --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0004/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles3TestSuite0004.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0005/BUILD.gn b/graphic/vkgl/src/khrgles3/build0005/BUILD.gn new file mode 100644 index 000000000..8dd488112 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0005/BUILD.gn @@ -0,0 +1,59 @@ +# 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("libkhrgles3func0005") { + sources = common_src + sources += [ "../Khrgles3BaseFunc.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("ActsKhrgles3TestSuite0005") { + sources = [ + "../ActsKhrgles30005TestSuite.cpp", + "../number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles3func0005" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles3/build0005/Test.json b/graphic/vkgl/src/khrgles3/build0005/Test.json new file mode 100644 index 000000000..aeca1d3e3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0005/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles3TestSuite0005 test cases", + "driver": { + "module-name": "ActsKhrgles3TestSuite0005", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles3TestSuite0005->/data/local/tmp/ActsKhrgles3TestSuite0005", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/build0005/logdefine.cpp b/graphic/vkgl/src/khrgles3/build0005/logdefine.cpp new file mode 100644 index 000000000..ed11a8d48 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/build0005/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles3TestSuite0005.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp b/graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp new file mode 100644 index 000000000..4620102ec --- /dev/null +++ b/graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003922, + "KHR-GLES3.copy_tex_image_conversi", + "ons.forbidden.texture2d_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003923, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture2d_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003924, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture2d_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003925, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture2d_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003926, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture2d_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003927, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture2d_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003928, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture2d_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003929, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.cubemap_negx_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003930, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negx_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003931, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negx_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003932, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negx_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003933, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negx_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003934, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negx_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003935, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negx_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003936, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.cubemap_negy_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003937, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negy_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003938, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negy_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003939, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negy_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003940, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negy_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003941, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negy_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003942, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negy_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003943, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.cubemap_negz_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003944, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negz_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003945, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negz_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003946, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negz_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003947, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negz_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003948, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negz_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003949, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_negz_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003950, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.cubemap_posx_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003951, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posx_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003952, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posx_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003953, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posx_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003954, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posx_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003955, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posx_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003956, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posx_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003957, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.cubemap_posy_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003958, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posy_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003959, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posy_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003960, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posy_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003961, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posy_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003962, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posy_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003963, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posy_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003964, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.cubemap_posz_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003965, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posz_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003966, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posz_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003967, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posz_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003968, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posz_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003969, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posz_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003970, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.cubemap_posz_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003971, + "KHR-GLES3.copy_tex_image_conversion", + "s.forbidden.texture_array_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003972, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.texture_array_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003973, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.texture_array_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003974, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.texture_array_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003975, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.texture_array_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003976, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.texture_array_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003977, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.texture_array_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003978, + "KHR-GLES3.copy_tex_image_conversi", + "ons.forbidden.texture3d_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003979, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture3d_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003980, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture3d_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003981, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture3d_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003982, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture3d_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003983, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture3d_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003984, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.texture3d_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003985, + "KHR-GLES3.copy_tex_image_conversio", + "ns.forbidden.renderbuffer_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003986, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.renderbuffer_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003987, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.renderbuffer_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003988, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.renderbuffer_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003989, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.renderbuffer_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003990, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.renderbuffer_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003991, + "KHR-GLES3.copy_tex_image_conversions", + ".forbidden.renderbuffer_cubemap_posz"); diff --git a/graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp b/graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp new file mode 100644 index 000000000..04b701101 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp @@ -0,0 +1,304 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003992, + "KHR-GLES3.copy_tex_image_convers", + "ions.required.texture2d_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003993, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture2d_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003994, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture2d_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003995, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture2d_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003996, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture2d_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003997, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture2d_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003998, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture2d_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003999, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.cubemap_negx_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004000, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negx_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004001, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negx_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004002, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negx_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004003, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negx_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004004, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negx_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004005, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negx_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004006, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.cubemap_negy_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004007, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negy_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004008, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negy_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004009, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negy_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004010, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negy_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004011, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negy_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004012, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negy_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004013, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.cubemap_negz_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004014, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negz_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004015, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negz_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004016, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negz_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004017, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negz_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004018, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negz_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004019, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_negz_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004020, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.cubemap_posx_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004021, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posx_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004022, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posx_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004023, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posx_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004024, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posx_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004025, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posx_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004026, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posx_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004027, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.cubemap_posy_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004028, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posy_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004029, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posy_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004030, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posy_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004031, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posy_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004032, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posy_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004033, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posy_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004034, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.cubemap_posz_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004035, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posz_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004036, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posz_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004037, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posz_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004038, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posz_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004039, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posz_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004040, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.cubemap_posz_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004041, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture_array_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004042, + "KHR-GLES3.copy_tex_image_conversions", + ".required.texture_array_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004043, + "KHR-GLES3.copy_tex_image_conversions", + ".required.texture_array_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004044, + "KHR-GLES3.copy_tex_image_conversions", + ".required.texture_array_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004045, + "KHR-GLES3.copy_tex_image_conversions", + ".required.texture_array_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004046, + "KHR-GLES3.copy_tex_image_conversions", + ".required.texture_array_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004047, + "KHR-GLES3.copy_tex_image_conversions", + ".required.texture_array_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004048, + "KHR-GLES3.copy_tex_image_convers", + "ions.required.texture3d_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004049, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture3d_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004050, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture3d_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004051, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture3d_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004052, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture3d_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004053, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture3d_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004054, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.texture3d_cubemap_posz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004055, + "KHR-GLES3.copy_tex_image_conversio", + "ns.required.renderbuffer_texture2d"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004056, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.renderbuffer_cubemap_negx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004057, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.renderbuffer_cubemap_negy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004058, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.renderbuffer_cubemap_negz"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004059, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.renderbuffer_cubemap_posx"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004060, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.renderbuffer_cubemap_posy"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_004061, + "KHR-GLES3.copy_tex_image_conversion", + "s.required.renderbuffer_cubemap_posz"); diff --git a/graphic/vkgl/src/khrgles3/core/Khrgles3core_constant_expressionsTestCase.cpp b/graphic/vkgl/src/khrgles3/core/Khrgles3core_constant_expressionsTestCase.cpp new file mode 100644 index 000000000..1a26357b3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/core/Khrgles3core_constant_expressionsTestCase.cpp @@ -0,0 +1,1880 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003139, + "KHR-GLES3.core.constant_express", + "ions.basic_radians_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003140, + "KHR-GLES3.core.constant_expressi", + "ons.basic_radians_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003141, + "KHR-GLES3.core.constant_expres", + "sions.basic_radians_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003142, + "KHR-GLES3.core.constant_express", + "ions.basic_radians_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003143, + "KHR-GLES3.core.constant_expres", + "sions.basic_radians_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003144, + "KHR-GLES3.core.constant_express", + "ions.basic_radians_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003145, + "KHR-GLES3.core.constant_expres", + "sions.basic_radians_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003146, + "KHR-GLES3.core.constant_express", + "ions.basic_radians_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003147, + "KHR-GLES3.core.constant_express", + "ions.basic_degrees_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003148, + "KHR-GLES3.core.constant_expressi", + "ons.basic_degrees_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003149, + "KHR-GLES3.core.constant_expres", + "sions.basic_degrees_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003150, + "KHR-GLES3.core.constant_express", + "ions.basic_degrees_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003151, + "KHR-GLES3.core.constant_expres", + "sions.basic_degrees_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003152, + "KHR-GLES3.core.constant_express", + "ions.basic_degrees_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003153, + "KHR-GLES3.core.constant_expres", + "sions.basic_degrees_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003154, + "KHR-GLES3.core.constant_express", + "ions.basic_degrees_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003155, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sin_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003156, + "KHR-GLES3.core.constant_expres", + "sions.basic_sin_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003157, + "KHR-GLES3.core.constant_expr", + "essions.basic_sin_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003158, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sin_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003159, + "KHR-GLES3.core.constant_expr", + "essions.basic_sin_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003160, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sin_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003161, + "KHR-GLES3.core.constant_expr", + "essions.basic_sin_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003162, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sin_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003163, + "KHR-GLES3.core.constant_expre", + "ssions.basic_cos_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003164, + "KHR-GLES3.core.constant_expres", + "sions.basic_cos_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003165, + "KHR-GLES3.core.constant_expr", + "essions.basic_cos_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003166, + "KHR-GLES3.core.constant_expre", + "ssions.basic_cos_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003167, + "KHR-GLES3.core.constant_expr", + "essions.basic_cos_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003168, + "KHR-GLES3.core.constant_expre", + "ssions.basic_cos_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003169, + "KHR-GLES3.core.constant_expr", + "essions.basic_cos_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003170, + "KHR-GLES3.core.constant_expre", + "ssions.basic_cos_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003171, + "KHR-GLES3.core.constant_expre", + "ssions.basic_asin_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003172, + "KHR-GLES3.core.constant_expres", + "sions.basic_asin_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003173, + "KHR-GLES3.core.constant_expre", + "ssions.basic_asin_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003174, + "KHR-GLES3.core.constant_expres", + "sions.basic_asin_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003175, + "KHR-GLES3.core.constant_expre", + "ssions.basic_asin_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003176, + "KHR-GLES3.core.constant_expres", + "sions.basic_asin_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003177, + "KHR-GLES3.core.constant_expre", + "ssions.basic_asin_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003178, + "KHR-GLES3.core.constant_expres", + "sions.basic_asin_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003179, + "KHR-GLES3.core.constant_expre", + "ssions.basic_acos_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003180, + "KHR-GLES3.core.constant_expres", + "sions.basic_acos_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003181, + "KHR-GLES3.core.constant_expre", + "ssions.basic_acos_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003182, + "KHR-GLES3.core.constant_expres", + "sions.basic_acos_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003183, + "KHR-GLES3.core.constant_expre", + "ssions.basic_acos_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003184, + "KHR-GLES3.core.constant_expres", + "sions.basic_acos_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003185, + "KHR-GLES3.core.constant_expre", + "ssions.basic_acos_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003186, + "KHR-GLES3.core.constant_expres", + "sions.basic_acos_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003187, + "KHR-GLES3.core.constant_expre", + "ssions.basic_pow_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003188, + "KHR-GLES3.core.constant_expres", + "sions.basic_pow_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003189, + "KHR-GLES3.core.constant_expr", + "essions.basic_pow_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003190, + "KHR-GLES3.core.constant_expre", + "ssions.basic_pow_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003191, + "KHR-GLES3.core.constant_expr", + "essions.basic_pow_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003192, + "KHR-GLES3.core.constant_expre", + "ssions.basic_pow_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003193, + "KHR-GLES3.core.constant_expr", + "essions.basic_pow_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003194, + "KHR-GLES3.core.constant_expre", + "ssions.basic_pow_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003195, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003196, + "KHR-GLES3.core.constant_expres", + "sions.basic_exp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003197, + "KHR-GLES3.core.constant_expr", + "essions.basic_exp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003198, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003199, + "KHR-GLES3.core.constant_expr", + "essions.basic_exp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003200, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003201, + "KHR-GLES3.core.constant_expr", + "essions.basic_exp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003202, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003203, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003204, + "KHR-GLES3.core.constant_expres", + "sions.basic_log_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003205, + "KHR-GLES3.core.constant_expr", + "essions.basic_log_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003206, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003207, + "KHR-GLES3.core.constant_expr", + "essions.basic_log_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003208, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003209, + "KHR-GLES3.core.constant_expr", + "essions.basic_log_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003210, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003211, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003212, + "KHR-GLES3.core.constant_expres", + "sions.basic_exp2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003213, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003214, + "KHR-GLES3.core.constant_expres", + "sions.basic_exp2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003215, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003216, + "KHR-GLES3.core.constant_expres", + "sions.basic_exp2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003217, + "KHR-GLES3.core.constant_expre", + "ssions.basic_exp2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003218, + "KHR-GLES3.core.constant_expres", + "sions.basic_exp2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003219, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003220, + "KHR-GLES3.core.constant_expres", + "sions.basic_log2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003221, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003222, + "KHR-GLES3.core.constant_expres", + "sions.basic_log2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003223, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003224, + "KHR-GLES3.core.constant_expres", + "sions.basic_log2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003225, + "KHR-GLES3.core.constant_expre", + "ssions.basic_log2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003226, + "KHR-GLES3.core.constant_expres", + "sions.basic_log2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003227, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sqrt_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003228, + "KHR-GLES3.core.constant_expres", + "sions.basic_sqrt_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003229, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sqrt_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003230, + "KHR-GLES3.core.constant_expres", + "sions.basic_sqrt_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003231, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sqrt_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003232, + "KHR-GLES3.core.constant_expres", + "sions.basic_sqrt_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003233, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sqrt_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003234, + "KHR-GLES3.core.constant_expres", + "sions.basic_sqrt_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003235, + "KHR-GLES3.core.constant_expressio", + "ns.basic_inversesqrt_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003236, + "KHR-GLES3.core.constant_expression", + "s.basic_inversesqrt_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003237, + "KHR-GLES3.core.constant_expressi", + "ons.basic_inversesqrt_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003238, + "KHR-GLES3.core.constant_expressio", + "ns.basic_inversesqrt_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003239, + "KHR-GLES3.core.constant_expressi", + "ons.basic_inversesqrt_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003240, + "KHR-GLES3.core.constant_expressio", + "ns.basic_inversesqrt_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003241, + "KHR-GLES3.core.constant_expressi", + "ons.basic_inversesqrt_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003242, + "KHR-GLES3.core.constant_expressio", + "ns.basic_inversesqrt_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003243, + "KHR-GLES3.core.constant_expr", + "essions.basic_abs_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003244, + "KHR-GLES3.core.constant_expre", + "ssions.basic_abs_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003245, + "KHR-GLES3.core.constant_expre", + "ssions.basic_abs_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003246, + "KHR-GLES3.core.constant_expres", + "sions.basic_abs_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003247, + "KHR-GLES3.core.constant_expre", + "ssions.basic_abs_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003248, + "KHR-GLES3.core.constant_expres", + "sions.basic_abs_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003249, + "KHR-GLES3.core.constant_expre", + "ssions.basic_abs_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003250, + "KHR-GLES3.core.constant_expres", + "sions.basic_abs_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003251, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sign_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003252, + "KHR-GLES3.core.constant_expres", + "sions.basic_sign_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003253, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sign_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003254, + "KHR-GLES3.core.constant_expres", + "sions.basic_sign_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003255, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sign_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003256, + "KHR-GLES3.core.constant_expres", + "sions.basic_sign_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003257, + "KHR-GLES3.core.constant_expre", + "ssions.basic_sign_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003258, + "KHR-GLES3.core.constant_expres", + "sions.basic_sign_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003259, + "KHR-GLES3.core.constant_expres", + "sions.basic_floor_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003260, + "KHR-GLES3.core.constant_express", + "ions.basic_floor_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003261, + "KHR-GLES3.core.constant_expre", + "ssions.basic_floor_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003262, + "KHR-GLES3.core.constant_expres", + "sions.basic_floor_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003263, + "KHR-GLES3.core.constant_expre", + "ssions.basic_floor_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003264, + "KHR-GLES3.core.constant_expres", + "sions.basic_floor_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003265, + "KHR-GLES3.core.constant_expre", + "ssions.basic_floor_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003266, + "KHR-GLES3.core.constant_expres", + "sions.basic_floor_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003267, + "KHR-GLES3.core.constant_expres", + "sions.basic_trunc_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003268, + "KHR-GLES3.core.constant_express", + "ions.basic_trunc_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003269, + "KHR-GLES3.core.constant_expre", + "ssions.basic_trunc_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003270, + "KHR-GLES3.core.constant_expres", + "sions.basic_trunc_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003271, + "KHR-GLES3.core.constant_expre", + "ssions.basic_trunc_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003272, + "KHR-GLES3.core.constant_expres", + "sions.basic_trunc_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003273, + "KHR-GLES3.core.constant_expre", + "ssions.basic_trunc_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003274, + "KHR-GLES3.core.constant_expres", + "sions.basic_trunc_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003275, + "KHR-GLES3.core.constant_expres", + "sions.basic_round_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003276, + "KHR-GLES3.core.constant_express", + "ions.basic_round_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003277, + "KHR-GLES3.core.constant_expre", + "ssions.basic_round_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003278, + "KHR-GLES3.core.constant_expres", + "sions.basic_round_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003279, + "KHR-GLES3.core.constant_expre", + "ssions.basic_round_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003280, + "KHR-GLES3.core.constant_expres", + "sions.basic_round_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003281, + "KHR-GLES3.core.constant_expre", + "ssions.basic_round_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003282, + "KHR-GLES3.core.constant_expres", + "sions.basic_round_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003283, + "KHR-GLES3.core.constant_expre", + "ssions.basic_ceil_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003284, + "KHR-GLES3.core.constant_expres", + "sions.basic_ceil_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003285, + "KHR-GLES3.core.constant_expre", + "ssions.basic_ceil_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003286, + "KHR-GLES3.core.constant_expres", + "sions.basic_ceil_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003287, + "KHR-GLES3.core.constant_expre", + "ssions.basic_ceil_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003288, + "KHR-GLES3.core.constant_expres", + "sions.basic_ceil_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003289, + "KHR-GLES3.core.constant_expre", + "ssions.basic_ceil_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003290, + "KHR-GLES3.core.constant_expres", + "sions.basic_ceil_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003291, + "KHR-GLES3.core.constant_expre", + "ssions.basic_mod_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003292, + "KHR-GLES3.core.constant_expres", + "sions.basic_mod_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003293, + "KHR-GLES3.core.constant_expr", + "essions.basic_mod_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003294, + "KHR-GLES3.core.constant_expre", + "ssions.basic_mod_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003295, + "KHR-GLES3.core.constant_express", + "ions.basic_mod_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003296, + "KHR-GLES3.core.constant_expressi", + "ons.basic_mod_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003297, + "KHR-GLES3.core.constant_expr", + "essions.basic_mod_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003298, + "KHR-GLES3.core.constant_expre", + "ssions.basic_mod_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003299, + "KHR-GLES3.core.constant_express", + "ions.basic_mod_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003300, + "KHR-GLES3.core.constant_expressi", + "ons.basic_mod_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003301, + "KHR-GLES3.core.constant_expr", + "essions.basic_mod_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003302, + "KHR-GLES3.core.constant_expre", + "ssions.basic_mod_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003303, + "KHR-GLES3.core.constant_express", + "ions.basic_mod_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003304, + "KHR-GLES3.core.constant_expressi", + "ons.basic_mod_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003305, + "KHR-GLES3.core.constant_expre", + "ssions.basic_min_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003306, + "KHR-GLES3.core.constant_expres", + "sions.basic_min_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003307, + "KHR-GLES3.core.constant_expr", + "essions.basic_min_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003308, + "KHR-GLES3.core.constant_expre", + "ssions.basic_min_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003309, + "KHR-GLES3.core.constant_express", + "ions.basic_min_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003310, + "KHR-GLES3.core.constant_expressi", + "ons.basic_min_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003311, + "KHR-GLES3.core.constant_expr", + "essions.basic_min_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003312, + "KHR-GLES3.core.constant_expre", + "ssions.basic_min_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003313, + "KHR-GLES3.core.constant_express", + "ions.basic_min_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003314, + "KHR-GLES3.core.constant_expressi", + "ons.basic_min_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003315, + "KHR-GLES3.core.constant_expr", + "essions.basic_min_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003316, + "KHR-GLES3.core.constant_expre", + "ssions.basic_min_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003317, + "KHR-GLES3.core.constant_express", + "ions.basic_min_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003318, + "KHR-GLES3.core.constant_expressi", + "ons.basic_min_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003319, + "KHR-GLES3.core.constant_expre", + "ssions.basic_max_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003320, + "KHR-GLES3.core.constant_expres", + "sions.basic_max_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003321, + "KHR-GLES3.core.constant_expr", + "essions.basic_max_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003322, + "KHR-GLES3.core.constant_expre", + "ssions.basic_max_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003323, + "KHR-GLES3.core.constant_express", + "ions.basic_max_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003324, + "KHR-GLES3.core.constant_expressi", + "ons.basic_max_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003325, + "KHR-GLES3.core.constant_expr", + "essions.basic_max_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003326, + "KHR-GLES3.core.constant_expre", + "ssions.basic_max_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003327, + "KHR-GLES3.core.constant_express", + "ions.basic_max_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003328, + "KHR-GLES3.core.constant_expressi", + "ons.basic_max_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003329, + "KHR-GLES3.core.constant_expr", + "essions.basic_max_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003330, + "KHR-GLES3.core.constant_expre", + "ssions.basic_max_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003331, + "KHR-GLES3.core.constant_express", + "ions.basic_max_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003332, + "KHR-GLES3.core.constant_expressi", + "ons.basic_max_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003333, + "KHR-GLES3.core.constant_expres", + "sions.basic_clamp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003334, + "KHR-GLES3.core.constant_express", + "ions.basic_clamp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003335, + "KHR-GLES3.core.constant_expre", + "ssions.basic_clamp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003336, + "KHR-GLES3.core.constant_expres", + "sions.basic_clamp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003337, + "KHR-GLES3.core.constant_expressi", + "ons.basic_clamp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003338, + "KHR-GLES3.core.constant_expressio", + "ns.basic_clamp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003339, + "KHR-GLES3.core.constant_expre", + "ssions.basic_clamp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003340, + "KHR-GLES3.core.constant_expres", + "sions.basic_clamp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003341, + "KHR-GLES3.core.constant_expressi", + "ons.basic_clamp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003342, + "KHR-GLES3.core.constant_expressio", + "ns.basic_clamp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003343, + "KHR-GLES3.core.constant_expre", + "ssions.basic_clamp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003344, + "KHR-GLES3.core.constant_expres", + "sions.basic_clamp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003345, + "KHR-GLES3.core.constant_expressi", + "ons.basic_clamp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003346, + "KHR-GLES3.core.constant_expressio", + "ns.basic_clamp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003347, + "KHR-GLES3.core.constant_expres", + "sions.basic_length_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003348, + "KHR-GLES3.core.constant_express", + "ions.basic_length_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003349, + "KHR-GLES3.core.constant_expres", + "sions.basic_length_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003350, + "KHR-GLES3.core.constant_express", + "ions.basic_length_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003351, + "KHR-GLES3.core.constant_expres", + "sions.basic_length_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003352, + "KHR-GLES3.core.constant_express", + "ions.basic_length_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003353, + "KHR-GLES3.core.constant_expres", + "sions.basic_length_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003354, + "KHR-GLES3.core.constant_express", + "ions.basic_length_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003355, + "KHR-GLES3.core.constant_expre", + "ssions.basic_dot_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003356, + "KHR-GLES3.core.constant_expres", + "sions.basic_dot_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003357, + "KHR-GLES3.core.constant_expr", + "essions.basic_dot_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003358, + "KHR-GLES3.core.constant_expre", + "ssions.basic_dot_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003359, + "KHR-GLES3.core.constant_expr", + "essions.basic_dot_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003360, + "KHR-GLES3.core.constant_expre", + "ssions.basic_dot_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003361, + "KHR-GLES3.core.constant_expr", + "essions.basic_dot_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003362, + "KHR-GLES3.core.constant_expre", + "ssions.basic_dot_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003363, + "KHR-GLES3.core.constant_expressi", + "ons.basic_normalize_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003364, + "KHR-GLES3.core.constant_expressio", + "ns.basic_normalize_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003365, + "KHR-GLES3.core.constant_express", + "ions.basic_normalize_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003366, + "KHR-GLES3.core.constant_expressi", + "ons.basic_normalize_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003367, + "KHR-GLES3.core.constant_express", + "ions.basic_normalize_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003368, + "KHR-GLES3.core.constant_expressi", + "ons.basic_normalize_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003369, + "KHR-GLES3.core.constant_express", + "ions.basic_normalize_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003370, + "KHR-GLES3.core.constant_expressi", + "ons.basic_normalize_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003371, + "KHR-GLES3.core.constant_express", + "ions.array_radians_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003372, + "KHR-GLES3.core.constant_expressi", + "ons.array_radians_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003373, + "KHR-GLES3.core.constant_expres", + "sions.array_radians_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003374, + "KHR-GLES3.core.constant_express", + "ions.array_radians_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003375, + "KHR-GLES3.core.constant_expres", + "sions.array_radians_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003376, + "KHR-GLES3.core.constant_express", + "ions.array_radians_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003377, + "KHR-GLES3.core.constant_expres", + "sions.array_radians_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003378, + "KHR-GLES3.core.constant_express", + "ions.array_radians_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003379, + "KHR-GLES3.core.constant_express", + "ions.array_degrees_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003380, + "KHR-GLES3.core.constant_expressi", + "ons.array_degrees_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003381, + "KHR-GLES3.core.constant_expres", + "sions.array_degrees_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003382, + "KHR-GLES3.core.constant_express", + "ions.array_degrees_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003383, + "KHR-GLES3.core.constant_expres", + "sions.array_degrees_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003384, + "KHR-GLES3.core.constant_express", + "ions.array_degrees_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003385, + "KHR-GLES3.core.constant_expres", + "sions.array_degrees_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003386, + "KHR-GLES3.core.constant_express", + "ions.array_degrees_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003387, + "KHR-GLES3.core.constant_expre", + "ssions.array_sin_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003388, + "KHR-GLES3.core.constant_expres", + "sions.array_sin_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003389, + "KHR-GLES3.core.constant_expr", + "essions.array_sin_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003390, + "KHR-GLES3.core.constant_expre", + "ssions.array_sin_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003391, + "KHR-GLES3.core.constant_expr", + "essions.array_sin_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003392, + "KHR-GLES3.core.constant_expre", + "ssions.array_sin_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003393, + "KHR-GLES3.core.constant_expr", + "essions.array_sin_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003394, + "KHR-GLES3.core.constant_expre", + "ssions.array_sin_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003395, + "KHR-GLES3.core.constant_expre", + "ssions.array_cos_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003396, + "KHR-GLES3.core.constant_expres", + "sions.array_cos_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003397, + "KHR-GLES3.core.constant_expr", + "essions.array_cos_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003398, + "KHR-GLES3.core.constant_expre", + "ssions.array_cos_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003399, + "KHR-GLES3.core.constant_expr", + "essions.array_cos_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003400, + "KHR-GLES3.core.constant_expre", + "ssions.array_cos_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003401, + "KHR-GLES3.core.constant_expr", + "essions.array_cos_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003402, + "KHR-GLES3.core.constant_expre", + "ssions.array_cos_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003403, + "KHR-GLES3.core.constant_expre", + "ssions.array_asin_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003404, + "KHR-GLES3.core.constant_expres", + "sions.array_asin_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003405, + "KHR-GLES3.core.constant_expre", + "ssions.array_asin_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003406, + "KHR-GLES3.core.constant_expres", + "sions.array_asin_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003407, + "KHR-GLES3.core.constant_expre", + "ssions.array_asin_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003408, + "KHR-GLES3.core.constant_expres", + "sions.array_asin_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003409, + "KHR-GLES3.core.constant_expre", + "ssions.array_asin_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003410, + "KHR-GLES3.core.constant_expres", + "sions.array_asin_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003411, + "KHR-GLES3.core.constant_expre", + "ssions.array_acos_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003412, + "KHR-GLES3.core.constant_expres", + "sions.array_acos_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003413, + "KHR-GLES3.core.constant_expre", + "ssions.array_acos_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003414, + "KHR-GLES3.core.constant_expres", + "sions.array_acos_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003415, + "KHR-GLES3.core.constant_expre", + "ssions.array_acos_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003416, + "KHR-GLES3.core.constant_expres", + "sions.array_acos_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003417, + "KHR-GLES3.core.constant_expre", + "ssions.array_acos_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003418, + "KHR-GLES3.core.constant_expres", + "sions.array_acos_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003419, + "KHR-GLES3.core.constant_expre", + "ssions.array_pow_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003420, + "KHR-GLES3.core.constant_expres", + "sions.array_pow_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003421, + "KHR-GLES3.core.constant_expr", + "essions.array_pow_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003422, + "KHR-GLES3.core.constant_expre", + "ssions.array_pow_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003423, + "KHR-GLES3.core.constant_expr", + "essions.array_pow_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003424, + "KHR-GLES3.core.constant_expre", + "ssions.array_pow_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003425, + "KHR-GLES3.core.constant_expr", + "essions.array_pow_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003426, + "KHR-GLES3.core.constant_expre", + "ssions.array_pow_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003427, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003428, + "KHR-GLES3.core.constant_expres", + "sions.array_exp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003429, + "KHR-GLES3.core.constant_expr", + "essions.array_exp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003430, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003431, + "KHR-GLES3.core.constant_expr", + "essions.array_exp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003432, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003433, + "KHR-GLES3.core.constant_expr", + "essions.array_exp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003434, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003435, + "KHR-GLES3.core.constant_expre", + "ssions.array_log_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003436, + "KHR-GLES3.core.constant_expres", + "sions.array_log_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003437, + "KHR-GLES3.core.constant_expr", + "essions.array_log_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003438, + "KHR-GLES3.core.constant_expre", + "ssions.array_log_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003439, + "KHR-GLES3.core.constant_expr", + "essions.array_log_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003440, + "KHR-GLES3.core.constant_expre", + "ssions.array_log_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003441, + "KHR-GLES3.core.constant_expr", + "essions.array_log_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003442, + "KHR-GLES3.core.constant_expre", + "ssions.array_log_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003443, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003444, + "KHR-GLES3.core.constant_expres", + "sions.array_exp2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003445, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003446, + "KHR-GLES3.core.constant_expres", + "sions.array_exp2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003447, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003448, + "KHR-GLES3.core.constant_expres", + "sions.array_exp2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003449, + "KHR-GLES3.core.constant_expre", + "ssions.array_exp2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003450, + "KHR-GLES3.core.constant_expres", + "sions.array_exp2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003451, + "KHR-GLES3.core.constant_expre", + "ssions.array_log2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003452, + "KHR-GLES3.core.constant_expres", + "sions.array_log2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003453, + "KHR-GLES3.core.constant_expre", + "ssions.array_log2_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003454, + "KHR-GLES3.core.constant_expres", + "sions.array_log2_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003455, + "KHR-GLES3.core.constant_expre", + "ssions.array_log2_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003456, + "KHR-GLES3.core.constant_expres", + "sions.array_log2_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003457, + "KHR-GLES3.core.constant_expre", + "ssions.array_log2_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003458, + "KHR-GLES3.core.constant_expres", + "sions.array_log2_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003459, + "KHR-GLES3.core.constant_expre", + "ssions.array_sqrt_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003460, + "KHR-GLES3.core.constant_expres", + "sions.array_sqrt_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003461, + "KHR-GLES3.core.constant_expre", + "ssions.array_sqrt_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003462, + "KHR-GLES3.core.constant_expres", + "sions.array_sqrt_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003463, + "KHR-GLES3.core.constant_expre", + "ssions.array_sqrt_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003464, + "KHR-GLES3.core.constant_expres", + "sions.array_sqrt_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003465, + "KHR-GLES3.core.constant_expre", + "ssions.array_sqrt_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003466, + "KHR-GLES3.core.constant_expres", + "sions.array_sqrt_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003467, + "KHR-GLES3.core.constant_expressio", + "ns.array_inversesqrt_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003468, + "KHR-GLES3.core.constant_expression", + "s.array_inversesqrt_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003469, + "KHR-GLES3.core.constant_expressi", + "ons.array_inversesqrt_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003470, + "KHR-GLES3.core.constant_expressio", + "ns.array_inversesqrt_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003471, + "KHR-GLES3.core.constant_expressi", + "ons.array_inversesqrt_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003472, + "KHR-GLES3.core.constant_expressio", + "ns.array_inversesqrt_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003473, + "KHR-GLES3.core.constant_expressi", + "ons.array_inversesqrt_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003474, + "KHR-GLES3.core.constant_expressio", + "ns.array_inversesqrt_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003475, + "KHR-GLES3.core.constant_expr", + "essions.array_abs_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003476, + "KHR-GLES3.core.constant_expre", + "ssions.array_abs_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003477, + "KHR-GLES3.core.constant_expre", + "ssions.array_abs_ivec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003478, + "KHR-GLES3.core.constant_expres", + "sions.array_abs_ivec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003479, + "KHR-GLES3.core.constant_expre", + "ssions.array_abs_ivec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003480, + "KHR-GLES3.core.constant_expres", + "sions.array_abs_ivec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003481, + "KHR-GLES3.core.constant_expre", + "ssions.array_abs_ivec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003482, + "KHR-GLES3.core.constant_expres", + "sions.array_abs_ivec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003483, + "KHR-GLES3.core.constant_expre", + "ssions.array_sign_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003484, + "KHR-GLES3.core.constant_expres", + "sions.array_sign_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003485, + "KHR-GLES3.core.constant_expre", + "ssions.array_sign_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003486, + "KHR-GLES3.core.constant_expres", + "sions.array_sign_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003487, + "KHR-GLES3.core.constant_expre", + "ssions.array_sign_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003488, + "KHR-GLES3.core.constant_expres", + "sions.array_sign_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003489, + "KHR-GLES3.core.constant_expre", + "ssions.array_sign_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003490, + "KHR-GLES3.core.constant_expres", + "sions.array_sign_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003491, + "KHR-GLES3.core.constant_expres", + "sions.array_floor_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003492, + "KHR-GLES3.core.constant_express", + "ions.array_floor_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003493, + "KHR-GLES3.core.constant_expre", + "ssions.array_floor_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003494, + "KHR-GLES3.core.constant_expres", + "sions.array_floor_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003495, + "KHR-GLES3.core.constant_expre", + "ssions.array_floor_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003496, + "KHR-GLES3.core.constant_expres", + "sions.array_floor_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003497, + "KHR-GLES3.core.constant_expre", + "ssions.array_floor_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003498, + "KHR-GLES3.core.constant_expres", + "sions.array_floor_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003499, + "KHR-GLES3.core.constant_expres", + "sions.array_trunc_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003500, + "KHR-GLES3.core.constant_express", + "ions.array_trunc_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003501, + "KHR-GLES3.core.constant_expre", + "ssions.array_trunc_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003502, + "KHR-GLES3.core.constant_expres", + "sions.array_trunc_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003503, + "KHR-GLES3.core.constant_expre", + "ssions.array_trunc_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003504, + "KHR-GLES3.core.constant_expres", + "sions.array_trunc_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003505, + "KHR-GLES3.core.constant_expre", + "ssions.array_trunc_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003506, + "KHR-GLES3.core.constant_expres", + "sions.array_trunc_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003507, + "KHR-GLES3.core.constant_expres", + "sions.array_round_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003508, + "KHR-GLES3.core.constant_express", + "ions.array_round_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003509, + "KHR-GLES3.core.constant_expre", + "ssions.array_round_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003510, + "KHR-GLES3.core.constant_expres", + "sions.array_round_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003511, + "KHR-GLES3.core.constant_expre", + "ssions.array_round_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003512, + "KHR-GLES3.core.constant_expres", + "sions.array_round_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003513, + "KHR-GLES3.core.constant_expre", + "ssions.array_round_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003514, + "KHR-GLES3.core.constant_expres", + "sions.array_round_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003515, + "KHR-GLES3.core.constant_expre", + "ssions.array_ceil_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003516, + "KHR-GLES3.core.constant_expres", + "sions.array_ceil_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003517, + "KHR-GLES3.core.constant_expre", + "ssions.array_ceil_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003518, + "KHR-GLES3.core.constant_expres", + "sions.array_ceil_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003519, + "KHR-GLES3.core.constant_expre", + "ssions.array_ceil_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003520, + "KHR-GLES3.core.constant_expres", + "sions.array_ceil_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003521, + "KHR-GLES3.core.constant_expre", + "ssions.array_ceil_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003522, + "KHR-GLES3.core.constant_expres", + "sions.array_ceil_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003523, + "KHR-GLES3.core.constant_expre", + "ssions.array_mod_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003524, + "KHR-GLES3.core.constant_expres", + "sions.array_mod_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003525, + "KHR-GLES3.core.constant_expr", + "essions.array_mod_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003526, + "KHR-GLES3.core.constant_expre", + "ssions.array_mod_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003527, + "KHR-GLES3.core.constant_express", + "ions.array_mod_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003528, + "KHR-GLES3.core.constant_expressi", + "ons.array_mod_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003529, + "KHR-GLES3.core.constant_expr", + "essions.array_mod_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003530, + "KHR-GLES3.core.constant_expre", + "ssions.array_mod_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003531, + "KHR-GLES3.core.constant_express", + "ions.array_mod_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003532, + "KHR-GLES3.core.constant_expressi", + "ons.array_mod_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003533, + "KHR-GLES3.core.constant_expr", + "essions.array_mod_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003534, + "KHR-GLES3.core.constant_expre", + "ssions.array_mod_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003535, + "KHR-GLES3.core.constant_express", + "ions.array_mod_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003536, + "KHR-GLES3.core.constant_expressi", + "ons.array_mod_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003537, + "KHR-GLES3.core.constant_expre", + "ssions.array_min_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003538, + "KHR-GLES3.core.constant_expres", + "sions.array_min_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003539, + "KHR-GLES3.core.constant_expr", + "essions.array_min_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003540, + "KHR-GLES3.core.constant_expre", + "ssions.array_min_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003541, + "KHR-GLES3.core.constant_express", + "ions.array_min_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003542, + "KHR-GLES3.core.constant_expressi", + "ons.array_min_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003543, + "KHR-GLES3.core.constant_expr", + "essions.array_min_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003544, + "KHR-GLES3.core.constant_expre", + "ssions.array_min_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003545, + "KHR-GLES3.core.constant_express", + "ions.array_min_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003546, + "KHR-GLES3.core.constant_expressi", + "ons.array_min_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003547, + "KHR-GLES3.core.constant_expr", + "essions.array_min_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003548, + "KHR-GLES3.core.constant_expre", + "ssions.array_min_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003549, + "KHR-GLES3.core.constant_express", + "ions.array_min_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003550, + "KHR-GLES3.core.constant_expressi", + "ons.array_min_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003551, + "KHR-GLES3.core.constant_expre", + "ssions.array_max_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003552, + "KHR-GLES3.core.constant_expres", + "sions.array_max_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003553, + "KHR-GLES3.core.constant_expr", + "essions.array_max_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003554, + "KHR-GLES3.core.constant_expre", + "ssions.array_max_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003555, + "KHR-GLES3.core.constant_express", + "ions.array_max_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003556, + "KHR-GLES3.core.constant_expressi", + "ons.array_max_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003557, + "KHR-GLES3.core.constant_expr", + "essions.array_max_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003558, + "KHR-GLES3.core.constant_expre", + "ssions.array_max_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003559, + "KHR-GLES3.core.constant_express", + "ions.array_max_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003560, + "KHR-GLES3.core.constant_expressi", + "ons.array_max_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003561, + "KHR-GLES3.core.constant_expr", + "essions.array_max_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003562, + "KHR-GLES3.core.constant_expre", + "ssions.array_max_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003563, + "KHR-GLES3.core.constant_express", + "ions.array_max_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003564, + "KHR-GLES3.core.constant_expressi", + "ons.array_max_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003565, + "KHR-GLES3.core.constant_expres", + "sions.array_clamp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003566, + "KHR-GLES3.core.constant_express", + "ions.array_clamp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003567, + "KHR-GLES3.core.constant_expre", + "ssions.array_clamp_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003568, + "KHR-GLES3.core.constant_expres", + "sions.array_clamp_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003569, + "KHR-GLES3.core.constant_expressi", + "ons.array_clamp_vec2_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003570, + "KHR-GLES3.core.constant_expressio", + "ns.array_clamp_vec2_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003571, + "KHR-GLES3.core.constant_expre", + "ssions.array_clamp_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003572, + "KHR-GLES3.core.constant_expres", + "sions.array_clamp_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003573, + "KHR-GLES3.core.constant_expressi", + "ons.array_clamp_vec3_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003574, + "KHR-GLES3.core.constant_expressio", + "ns.array_clamp_vec3_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003575, + "KHR-GLES3.core.constant_expre", + "ssions.array_clamp_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003576, + "KHR-GLES3.core.constant_expres", + "sions.array_clamp_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003577, + "KHR-GLES3.core.constant_expressi", + "ons.array_clamp_vec4_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003578, + "KHR-GLES3.core.constant_expressio", + "ns.array_clamp_vec4_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003579, + "KHR-GLES3.core.constant_expres", + "sions.array_length_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003580, + "KHR-GLES3.core.constant_express", + "ions.array_length_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003581, + "KHR-GLES3.core.constant_expres", + "sions.array_length_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003582, + "KHR-GLES3.core.constant_express", + "ions.array_length_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003583, + "KHR-GLES3.core.constant_expres", + "sions.array_length_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003584, + "KHR-GLES3.core.constant_express", + "ions.array_length_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003585, + "KHR-GLES3.core.constant_expres", + "sions.array_length_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003586, + "KHR-GLES3.core.constant_express", + "ions.array_length_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003587, + "KHR-GLES3.core.constant_expre", + "ssions.array_dot_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003588, + "KHR-GLES3.core.constant_expres", + "sions.array_dot_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003589, + "KHR-GLES3.core.constant_expr", + "essions.array_dot_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003590, + "KHR-GLES3.core.constant_expre", + "ssions.array_dot_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003591, + "KHR-GLES3.core.constant_expr", + "essions.array_dot_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003592, + "KHR-GLES3.core.constant_expre", + "ssions.array_dot_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003593, + "KHR-GLES3.core.constant_expr", + "essions.array_dot_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003594, + "KHR-GLES3.core.constant_expre", + "ssions.array_dot_vec4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003595, + "KHR-GLES3.core.constant_expressi", + "ons.array_normalize_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003596, + "KHR-GLES3.core.constant_expressio", + "ns.array_normalize_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003597, + "KHR-GLES3.core.constant_express", + "ions.array_normalize_vec2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003598, + "KHR-GLES3.core.constant_expressi", + "ons.array_normalize_vec2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003599, + "KHR-GLES3.core.constant_express", + "ions.array_normalize_vec3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003600, + "KHR-GLES3.core.constant_expressi", + "ons.array_normalize_vec3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003601, + "KHR-GLES3.core.constant_express", + "ions.array_normalize_vec4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003602, + "KHR-GLES3.core.constant_expressi", + "ons.array_normalize_vec4_fragment"); diff --git a/graphic/vkgl/src/khrgles3/core/Khrgles3core_nearest_edgeTestCase.cpp b/graphic/vkgl/src/khrgles3/core/Khrgles3core_nearest_edgeTestCase.cpp new file mode 100644 index 000000000..6dba2d29e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/core/Khrgles3core_nearest_edgeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003707, + "KHR-GLES3.core.near", + "est_edge.offset_left"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003708, + "KHR-GLES3.core.neare", + "st_edge.offset_right"); diff --git a/graphic/vkgl/src/khrgles3/core/Khrgles3core_shader_macrosTestCase.cpp b/graphic/vkgl/src/khrgles3/core/Khrgles3core_shader_macrosTestCase.cpp new file mode 100644 index 000000000..7d5e7b0ad --- /dev/null +++ b/graphic/vkgl/src/khrgles3/core/Khrgles3core_shader_macrosTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003603, + "KHR-GLES3.core.shader_macros.", + "fragment_precision_high_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003604, + "KHR-GLES3.core.shader_macros.f", + "ragment_precision_high_fragment"); diff --git a/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_copy_tex_imageTestCase.cpp b/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_copy_tex_imageTestCase.cpp new file mode 100644 index 000000000..eb52ee069 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_copy_tex_imageTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003688, + "KHR-GLES3.core.internalf", + "ormat.copy_tex_image.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003689, + "KHR-GLES3.core.internalf", + "ormat.copy_tex_image.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003690, + "KHR-GLES3.core.internalfo", + "rmat.copy_tex_image.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003691, + "KHR-GLES3.core.internalform", + "at.copy_tex_image.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003692, + "KHR-GLES3.core.internalformat.", + "copy_tex_image.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003693, + "KHR-GLES3.core.internalfo", + "rmat.copy_tex_image.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003694, + "KHR-GLES3.core.internalfor", + "mat.copy_tex_image.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003695, + "KHR-GLES3.core.internalfo", + "rmat.copy_tex_image.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003696, + "KHR-GLES3.core.internalfo", + "rmat.copy_tex_image.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003697, + "KHR-GLES3.core.internalf", + "ormat.copy_tex_image.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003698, + "KHR-GLES3.core.internalforma", + "t.copy_tex_image.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003699, + "KHR-GLES3.core.internalfo", + "rmat.copy_tex_image.srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003700, + "KHR-GLES3.core.internalformat", + ".copy_tex_image.r11f_g11f_b10f"); diff --git a/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_renderbufferTestCase.cpp b/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_renderbufferTestCase.cpp new file mode 100644 index 000000000..77d73a76d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_renderbufferTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003701, + "KHR-GLES3.core.internalf", + "ormat.renderbuffer.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003702, + "KHR-GLES3.core.internal", + "format.renderbuffer.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003703, + "KHR-GLES3.core.internalfo", + "rmat.renderbuffer.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003704, + "KHR-GLES3.core.internalform", + "at.renderbuffer.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003705, + "KHR-GLES3.core.internalformat.", + "renderbuffer.depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003706, + "KHR-GLES3.core.internalformat.", + "renderbuffer.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_texture2dTestCase.cpp b/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_texture2dTestCase.cpp new file mode 100644 index 000000000..7b7825d20 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/core/Khrgles3internalformat_texture2dTestCase.cpp @@ -0,0 +1,356 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003605, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003606, + "KHR-GLES3.core.internalformat.", + "texture2d.rgb_unsigned_byte_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003607, + "KHR-GLES3.core.internalformat.textur", + "e2d.rgba_unsigned_short_4_4_4_4_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003608, + "KHR-GLES3.core.internalformat.texture2d.lu", + "minance_alpha_unsigned_byte_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003609, + "KHR-GLES3.core.internalformat.textur", + "e2d.luminance_unsigned_byte_luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003610, + "KHR-GLES3.core.internalformat.te", + "xture2d.alpha_unsigned_byte_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003611, + "KHR-GLES3.core.internalformat.texture2", + "d.rgba_unsigned_int_2_10_10_10_rev_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003612, + "KHR-GLES3.core.internalformat.texture2d.", + "rgba_unsigned_int_2_10_10_10_rev_rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003613, + "KHR-GLES3.core.internalformat.texture2d.", + "rgba_unsigned_int_2_10_10_10_rev_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003614, + "KHR-GLES3.core.internalformat.texture", + "2d.rgb_unsigned_int_2_10_10_10_rev_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003615, + "KHR-GLES3.core.internalformat.texture2d.dep", + "th_component_unsigned_short_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003616, + "KHR-GLES3.core.internalformat.texture2d.de", + "pth_component_unsigned_int_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003617, + "KHR-GLES3.core.internalformat.texture2d.de", + "pth_stencil_unsigned_int_24_8_depth_stencil"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003618, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_half_float_oes_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003619, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgba_half_float_oes_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003620, + "KHR-GLES3.core.internalformat.text", + "ure2d.rgb_half_float_oes_rgb_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003621, + "KHR-GLES3.core.internalformat.textu", + "re2d.rgba_half_float_oes_rgba_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003622, + "KHR-GLES3.core.internalforma", + "t.texture2d.rgb_float_rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003623, + "KHR-GLES3.core.internalformat", + ".texture2d.rgba_float_rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003624, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_float_rgb32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003625, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgba_float_rgba32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003626, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgba_unsigned_byte_rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003627, + "KHR-GLES3.core.internalformat.tex", + "ture2d.rgba_unsigned_byte_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003628, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgba_unsigned_byte_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003629, + "KHR-GLES3.core.internalformat.textu", + "re2d.rgba_unsigned_byte_srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003630, + "KHR-GLES3.core.internalformat.", + "texture2d.rgba_byte_rgba8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003631, + "KHR-GLES3.core.internalformat.textur", + "e2d.rgba_unsigned_short_4_4_4_4_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003632, + "KHR-GLES3.core.internalformat.texture", + "2d.rgba_unsigned_short_5_5_5_1_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003633, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgba_half_float_rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003634, + "KHR-GLES3.core.internalformat", + ".texture2d.rgba_float_rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003635, + "KHR-GLES3.core.internalformat.texture", + "2d.rgba_integer_unsigned_byte_rgba8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003636, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgba_integer_byte_rgba8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003637, + "KHR-GLES3.core.internalformat.texture2", + "d.rgba_integer_unsigned_short_rgba16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003638, + "KHR-GLES3.core.internalformat.tex", + "ture2d.rgba_integer_short_rgba16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003639, + "KHR-GLES3.core.internalformat.texture", + "2d.rgba_integer_unsigned_int_rgba32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003640, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgba_integer_int_rgba32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003641, + "KHR-GLES3.core.internalformat.texture2d.rgba_", + "integer_unsigned_int_2_10_10_10_rev_rgb10_a2ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003642, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_unsigned_byte_rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003643, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgb_unsigned_byte_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003644, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_unsigned_byte_srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003645, + "KHR-GLES3.core.internalformat.textu", + "re2d.rgb_unsigned_short_5_6_5_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003646, + "KHR-GLES3.core.internalformat.texture2d.rgb", + "_unsigned_int_10f_11f_11f_rev_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003647, + "KHR-GLES3.core.internalformat.texture2", + "d.rgb_unsigned_int_5_9_9_9_rev_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003648, + "KHR-GLES3.core.internalformat.", + "texture2d.rgb_half_float_rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003649, + "KHR-GLES3.core.internalformat.text", + "ure2d.rgb_half_float_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003650, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_half_float_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003651, + "KHR-GLES3.core.internalforma", + "t.texture2d.rgb_float_rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003652, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgb_float_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003653, + "KHR-GLES3.core.internalforma", + "t.texture2d.rgb_float_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003654, + "KHR-GLES3.core.internalformat.textur", + "e2d.rgb_integer_unsigned_byte_rgb8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003655, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_integer_byte_rgb8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003656, + "KHR-GLES3.core.internalformat.texture", + "2d.rgb_integer_unsigned_short_rgb16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003657, + "KHR-GLES3.core.internalformat.te", + "xture2d.rgb_integer_short_rgb16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003658, + "KHR-GLES3.core.internalformat.textur", + "e2d.rgb_integer_unsigned_int_rgb32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003659, + "KHR-GLES3.core.internalformat.t", + "exture2d.rgb_integer_int_rgb32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003660, + "KHR-GLES3.core.internalformat.", + "texture2d.rg_unsigned_byte_rg8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003661, + "KHR-GLES3.core.internalformat", + ".texture2d.rg_half_float_rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003662, + "KHR-GLES3.core.internalform", + "at.texture2d.rg_float_rg32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003663, + "KHR-GLES3.core.internalform", + "at.texture2d.rg_float_rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003664, + "KHR-GLES3.core.internalformat.textu", + "re2d.rg_integer_unsigned_byte_rg8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003665, + "KHR-GLES3.core.internalformat.", + "texture2d.rg_integer_byte_rg8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003666, + "KHR-GLES3.core.internalformat.textur", + "e2d.rg_integer_unsigned_short_rg16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003667, + "KHR-GLES3.core.internalformat.t", + "exture2d.rg_integer_short_rg16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003668, + "KHR-GLES3.core.internalformat.textu", + "re2d.rg_integer_unsigned_int_rg32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003669, + "KHR-GLES3.core.internalformat.", + "texture2d.rg_integer_int_rg32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003670, + "KHR-GLES3.core.internalformat.", + "texture2d.red_unsigned_byte_r8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003671, + "KHR-GLES3.core.internalformat", + ".texture2d.red_half_float_r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003672, + "KHR-GLES3.core.internalform", + "at.texture2d.red_float_r32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003673, + "KHR-GLES3.core.internalform", + "at.texture2d.red_float_r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003674, + "KHR-GLES3.core.internalformat.textu", + "re2d.red_integer_unsigned_byte_r8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003675, + "KHR-GLES3.core.internalformat.", + "texture2d.red_integer_byte_r8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003676, + "KHR-GLES3.core.internalformat.textur", + "e2d.red_integer_unsigned_short_r16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003677, + "KHR-GLES3.core.internalformat.t", + "exture2d.red_integer_short_r16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003678, + "KHR-GLES3.core.internalformat.textu", + "re2d.red_integer_unsigned_int_r32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003679, + "KHR-GLES3.core.internalformat.", + "texture2d.red_integer_int_r32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003680, + "KHR-GLES3.core.internalformat.texture2d.dept", + "h_component_unsigned_short_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003681, + "KHR-GLES3.core.internalformat.texture2d.dep", + "th_component_unsigned_int_depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003682, + "KHR-GLES3.core.internalformat.texture2d.dep", + "th_component_unsigned_int_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003683, + "KHR-GLES3.core.internalformat.texture2d.", + "depth_component_float_depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003684, + "KHR-GLES3.core.internalformat.texture2d.dept", + "h_stencil_unsigned_int_24_8_depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003685, + "KHR-GLES3.core.internalformat.texture2d.depth_stenc", + "il_float_32_unsigned_int_24_8_rev_depth32f_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003686, + "KHR-GLES3.core.internalformat.textur", + "e2d.rgba_unsigned_short_5_5_5_1_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003687, + "KHR-GLES3.core.internalformat.text", + "ure2d.rgb_unsigned_short_5_6_5_rgb"); diff --git a/graphic/vkgl/src/khrgles3/exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp b/graphic/vkgl/src/khrgles3/exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp new file mode 100644 index 000000000..b5a1c1df1 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003138, + "KHR-GLES3.exposed_extens", + "ions.validate_extensions"); diff --git a/graphic/vkgl/src/khrgles3/framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp b/graphic/vkgl/src/khrgles3/framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp new file mode 100644 index 000000000..bb8f031f7 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003908, + "KHR-GLES3.framebuffer_completene", + "ss.incomplete_missing_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003909, + "KHR-GLES3.framebuffer_completen", + "ess.incomplete_image_zero_width"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003910, + "KHR-GLES3.framebuffer_completen", + "ess.incomplete_image_zero_height"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003911, + "KHR-GLES3.framebuffer_completenes", + "s.incomplete_texture_3d_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003912, + "KHR-GLES3.framebuffer_completenes", + "s.incomplete_texture_2d_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003913, + "KHR-GLES3.framebuffer_completeness", + ".incomplete_texture_2d_mm_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003914, + "KHR-GLES3.framebuffer_completeness.mut", + "able_nbl_texture_expect_mipmap_complete"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003915, + "KHR-GLES3.framebuffer_completeness.mu", + "table_nbl_texture_expect_cube_complete"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003916, + "KHR-GLES3.framebuffer_completeness", + ".expect_renderable_internal_format"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003917, + "KHR-GLES3.framebuffer_completenes", + "s.all_rbos_expect_same_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003918, + "KHR-GLES3.framebuffer_completeness.r", + "bo_and_texture_expect_zero_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003919, + "KHR-GLES3.framebuffer_com", + "pleteness.status_tracking"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003920, + "KHR-GLES3.framebuffer_completeness.mu", + "table_texture_missing_attachment_level"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003921, + "KHR-GLES3.framebuffer_completeness.imm", + "utable_texture_any_level_as_attachment"); diff --git a/graphic/vkgl/src/khrgles3/number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp b/graphic/vkgl/src/khrgles3/number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp new file mode 100644 index 000000000..389be86f7 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/number_parsing/Khrgles3KHR-GLES3_number_parsingTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30005TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004062, + "KHR-GLES3.number_parsing.unsigned_", + "integer_above_signed_range_decimal"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004063, + "KHR-GLES3.number_parsing.unsigned", + "_integer_above_signed_range_base8"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004064, + "KHR-GLES3.number_parsing.unsigned", + "_integer_above_signed_range_base16"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004065, + "KHR-GLES3.number_parsing.unsigned_integer", + "_smallest_value_above_signed_range_decimal"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004066, + "KHR-GLES3.number_parsing.unsigned_intege", + "r_smallest_value_above_signed_range_base8"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004067, + "KHR-GLES3.number_parsing.unsigned_integer", + "_smallest_value_above_signed_range_base16"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004068, + "KHR-GLES3.number_parsing.unsi", + "gned_integer_max_value_decimal"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004069, + "KHR-GLES3.number_parsing.uns", + "igned_integer_max_value_base8"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004070, + "KHR-GLES3.number_parsing.unsi", + "gned_integer_max_value_base16"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004071, + "KHR-GLES3.number_parsing.unsigne", + "d_integer_too_large_value_invalid"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004072, + "KHR-GLES3.number_parsing.unsigne", + "d_integer_negative_value_as_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004073, + "KHR-GLES3.number_parsing.fl", + "oat_out_of_range_as_infinity"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004074, + "KHR-GLES3.number_parsing.", + "float_out_of_range_as_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004075, + "KHR-GLES3.number_parsing.float_no_limi", + "t_on_number_of_digits_positive_exponent"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004076, + "KHR-GLES3.number_parsing.float_no_limi", + "t_on_number_of_digits_negative_exponent"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004077, + "KHR-GLES3.number_parsing.float_slightly_o", + "ut_of_range_exponent_as_positive_infinity"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004078, + "KHR-GLES3.number_parsing.float", + "_overflow_to_positive_infinity"); + +static SHRINK_HWTEST_F(ActsKhrgles30005TestSuite, TestCase_004079, + "KHR-GLES3.number_parsing.float", + "_overflow_to_negative_infinity"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp new file mode 100644 index 000000000..7eb110998 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003904, + "KHR-GLES3.packed_depth_ste", + "ncil.blit.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003905, + "KHR-GLES3.packed_depth_ste", + "ncil.blit.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp new file mode 100644 index 000000000..b74ee7a20 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003902, + "KHR-GLES3.packed_depth_stencil", + ".clear_buffer.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003903, + "KHR-GLES3.packed_depth_stencil", + ".clear_buffer.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp new file mode 100644 index 000000000..55d69c6a3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003900, + "KHR-GLES3.packed_depth_stencil", + ".renderbuffers.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003901, + "KHR-GLES3.packed_depth_stencil.", + "renderbuffers.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp new file mode 100644 index 000000000..b664d6a1e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003906, + "KHR-GLES3.packed_depth_stencil.s", + "tencil_texturing.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003907, + "KHR-GLES3.packed_depth_stencil.st", + "encil_texturing.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp new file mode 100644 index 000000000..f9c6a7c79 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003890, + "KHR-GLES3.packed_depth_stencil.", + "validate_errors.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003891, + "KHR-GLES3.packed_depth_stencil.v", + "alidate_errors.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp new file mode 100644 index 000000000..4ef8426ea --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003896, + "KHR-GLES3.packed_depth_stencil.verif", + "y_mixed_attachments.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003897, + "KHR-GLES3.packed_depth_stencil.verif", + "y_mixed_attachments.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp new file mode 100644 index 000000000..b4a80f3b4 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003898, + "KHR-GLES3.packed_depth_stencil.v", + "erify_parameters.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003899, + "KHR-GLES3.packed_depth_stencil.ve", + "rify_parameters.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp new file mode 100644 index 000000000..f3921599b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003894, + "KHR-GLES3.packed_depth_stencil.verify", + "_partial_attachments.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003895, + "KHR-GLES3.packed_depth_stencil.verify", + "_partial_attachments.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp new file mode 100644 index 000000000..8d37523f5 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003892, + "KHR-GLES3.packed_depth_stencil.ve", + "rify_read_pixels.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003893, + "KHR-GLES3.packed_depth_stencil.ve", + "rify_read_pixels.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp new file mode 100644 index 000000000..99c680f56 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp @@ -0,0 +1,260 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003772, + "KHR-GLES3.packed_pixels", + ".pbo_rectangle.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003773, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003774, + "KHR-GLES3.packed_pixels.pb", + "o_rectangle.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003775, + "KHR-GLES3.packed_pix", + "els.pbo_rectangle.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003776, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003777, + "KHR-GLES3.packed_pix", + "els.pbo_rectangle.r8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003778, + "KHR-GLES3.packed_pixels", + ".pbo_rectangle.r8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003779, + "KHR-GLES3.packed_pix", + "els.pbo_rectangle.rg8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003780, + "KHR-GLES3.packed_pixels", + ".pbo_rectangle.rg8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003781, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003782, + "KHR-GLES3.packed_pixels.", + "pbo_rectangle.rgb8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003783, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003784, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003785, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003786, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003787, + "KHR-GLES3.packed_pixels.", + "pbo_rectangle.rgba8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003788, + "KHR-GLES3.packed_pixels", + ".pbo_rectangle.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003789, + "KHR-GLES3.packed_pixels.", + "pbo_rectangle.rgb10_a2ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003790, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003791, + "KHR-GLES3.packed_pixels.p", + "bo_rectangle.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003792, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003793, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003794, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003795, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003796, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003797, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rg32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003798, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003799, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003800, + "KHR-GLES3.packed_pixels.pb", + "o_rectangle.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003801, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003802, + "KHR-GLES3.packed_pix", + "els.pbo_rectangle.r8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003803, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003804, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003805, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003806, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003807, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.r32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003808, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rg8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003809, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rg8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003810, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rg16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003811, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rg16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003812, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rg32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003813, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rg32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003814, + "KHR-GLES3.packed_pixe", + "ls.pbo_rectangle.rgb8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003815, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003816, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003817, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003818, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003819, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgb32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003820, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgba8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003821, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgba8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003822, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgba16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003823, + "KHR-GLES3.packed_pixels", + ".pbo_rectangle.rgba16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003824, + "KHR-GLES3.packed_pixel", + "s.pbo_rectangle.rgba32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003825, + "KHR-GLES3.packed_pixels", + ".pbo_rectangle.rgba32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003826, + "KHR-GLES3.packed_pixels.pbo", + "_rectangle.depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003827, + "KHR-GLES3.packed_pixels.pbo", + "_rectangle.depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003828, + "KHR-GLES3.packed_pixels.pbo_", + "rectangle.depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003829, + "KHR-GLES3.packed_pixels.pbo", + "_rectangle.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003830, + "KHR-GLES3.packed_pixels.pbo", + "_rectangle.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp new file mode 100644 index 000000000..5eb062cc7 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp @@ -0,0 +1,264 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003712, + "KHR-GLES3.packed_pixels.", + "rectangle.initial_values"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003713, + "KHR-GLES3.packed_pixe", + "ls.rectangle.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003714, + "KHR-GLES3.packed_pi", + "xels.rectangle.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003715, + "KHR-GLES3.packed_pixels.", + "rectangle.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003716, + "KHR-GLES3.packed_p", + "ixels.rectangle.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003717, + "KHR-GLES3.packed_pi", + "xels.rectangle.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003718, + "KHR-GLES3.packed_p", + "ixels.rectangle.r8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003719, + "KHR-GLES3.packed_pixe", + "ls.rectangle.r8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003720, + "KHR-GLES3.packed_p", + "ixels.rectangle.rg8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003721, + "KHR-GLES3.packed_pixe", + "ls.rectangle.rg8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003722, + "KHR-GLES3.packed_pi", + "xels.rectangle.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003723, + "KHR-GLES3.packed_pixel", + "s.rectangle.rgb8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003724, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003725, + "KHR-GLES3.packed_pi", + "xels.rectangle.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003726, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003727, + "KHR-GLES3.packed_pi", + "xels.rectangle.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003728, + "KHR-GLES3.packed_pixel", + "s.rectangle.rgba8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003729, + "KHR-GLES3.packed_pixe", + "ls.rectangle.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003730, + "KHR-GLES3.packed_pixel", + "s.rectangle.rgb10_a2ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003731, + "KHR-GLES3.packed_pi", + "xels.rectangle.srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003732, + "KHR-GLES3.packed_pixels", + ".rectangle.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003733, + "KHR-GLES3.packed_pi", + "xels.rectangle.r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003734, + "KHR-GLES3.packed_pi", + "xels.rectangle.rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003735, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003736, + "KHR-GLES3.packed_pix", + "els.rectangle.rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003737, + "KHR-GLES3.packed_pi", + "xels.rectangle.r32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003738, + "KHR-GLES3.packed_pi", + "xels.rectangle.rg32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003739, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003740, + "KHR-GLES3.packed_pix", + "els.rectangle.rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003741, + "KHR-GLES3.packed_pixels.", + "rectangle.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003742, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003743, + "KHR-GLES3.packed_p", + "ixels.rectangle.r8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003744, + "KHR-GLES3.packed_pi", + "xels.rectangle.r8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003745, + "KHR-GLES3.packed_pi", + "xels.rectangle.r16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003746, + "KHR-GLES3.packed_pi", + "xels.rectangle.r16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003747, + "KHR-GLES3.packed_pi", + "xels.rectangle.r32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003748, + "KHR-GLES3.packed_pi", + "xels.rectangle.r32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003749, + "KHR-GLES3.packed_pi", + "xels.rectangle.rg8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003750, + "KHR-GLES3.packed_pi", + "xels.rectangle.rg8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003751, + "KHR-GLES3.packed_pi", + "xels.rectangle.rg16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003752, + "KHR-GLES3.packed_pix", + "els.rectangle.rg16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003753, + "KHR-GLES3.packed_pi", + "xels.rectangle.rg32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003754, + "KHR-GLES3.packed_pix", + "els.rectangle.rg32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003755, + "KHR-GLES3.packed_pi", + "xels.rectangle.rgb8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003756, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003757, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003758, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003759, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003760, + "KHR-GLES3.packed_pix", + "els.rectangle.rgb32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003761, + "KHR-GLES3.packed_pix", + "els.rectangle.rgba8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003762, + "KHR-GLES3.packed_pix", + "els.rectangle.rgba8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003763, + "KHR-GLES3.packed_pix", + "els.rectangle.rgba16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003764, + "KHR-GLES3.packed_pixe", + "ls.rectangle.rgba16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003765, + "KHR-GLES3.packed_pix", + "els.rectangle.rgba32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003766, + "KHR-GLES3.packed_pixe", + "ls.rectangle.rgba32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003767, + "KHR-GLES3.packed_pixels.r", + "ectangle.depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003768, + "KHR-GLES3.packed_pixels.r", + "ectangle.depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003769, + "KHR-GLES3.packed_pixels.re", + "ctangle.depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003770, + "KHR-GLES3.packed_pixels.r", + "ectangle.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003771, + "KHR-GLES3.packed_pixels.r", + "ectangle.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp b/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp new file mode 100644 index 000000000..3fab204b6 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp @@ -0,0 +1,260 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003831, + "KHR-GLES3.packed_pixels.v", + "aried_rectangle.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003832, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003833, + "KHR-GLES3.packed_pixels.vari", + "ed_rectangle.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003834, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003835, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003836, + "KHR-GLES3.packed_pixe", + "ls.varied_rectangle.r8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003837, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.r8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003838, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.rg8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003839, + "KHR-GLES3.packed_pixels.v", + "aried_rectangle.rg8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003840, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003841, + "KHR-GLES3.packed_pixels.v", + "aried_rectangle.rgb8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003842, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003843, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003844, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003845, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003846, + "KHR-GLES3.packed_pixels.va", + "ried_rectangle.rgba8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003847, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003848, + "KHR-GLES3.packed_pixels.v", + "aried_rectangle.rgb10_a2ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003849, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003850, + "KHR-GLES3.packed_pixels.va", + "ried_rectangle.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003851, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003852, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003853, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003854, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003855, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.r32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003856, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003857, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003858, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003859, + "KHR-GLES3.packed_pixels.var", + "ied_rectangle.r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003860, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003861, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.r8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003862, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.r8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003863, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.r16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003864, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.r16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003865, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.r32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003866, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.r32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003867, + "KHR-GLES3.packed_pixel", + "s.varied_rectangle.rg8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003868, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003869, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003870, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003871, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003872, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rg32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003873, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003874, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003875, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003876, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgb16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003877, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgb32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003878, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgb32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003879, + "KHR-GLES3.packed_pixels", + ".varied_rectangle.rgba8i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003880, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003881, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba16i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003882, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003883, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba32i"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003884, + "KHR-GLES3.packed_pixels.", + "varied_rectangle.rgba32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003885, + "KHR-GLES3.packed_pixels.varie", + "d_rectangle.depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003886, + "KHR-GLES3.packed_pixels.varie", + "d_rectangle.depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003887, + "KHR-GLES3.packed_pixels.varie", + "d_rectangle.depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003888, + "KHR-GLES3.packed_pixels.vari", + "ed_rectangle.depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003889, + "KHR-GLES3.packed_pixels.varie", + "d_rectangle.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles3/parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp b/graphic/vkgl/src/khrgles3/parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp new file mode 100644 index 000000000..5932e1747 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003709, + "KHR-GLES3.parallel_shade", + "r_compile.simple_queries"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003710, + "KHR-GLES3.parallel_shader_comp", + "ile.max_shader_compile_threads"); + +static SHRINK_HWTEST_F(ActsKhrgles30004TestSuite, TestCase_003711, + "KHR-GLES3.parallel_shader_compil", + "e.compilation_completion_parallel"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3declarations_declarationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3declarations_declarationsTestCase.cpp new file mode 100644 index 000000000..574153728 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3declarations_declarationsTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000001, + "KHR-GLES3.shaders.declarations.decla", + "rations.missing_variable_name_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000002, + "KHR-GLES3.shaders.declarations.declar", + "ations.missing_variable_name_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000003, + "KHR-GLES3.shaders.declarations.declar", + "ations.comma_preceding_variable_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000004, + "KHR-GLES3.shaders.declarations.declara", + "tions.comma_preceding_variable_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000005, + "KHR-GLES3.shaders.declarations.declar", + "ations.comma_following_variable_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000006, + "KHR-GLES3.shaders.declarations.declara", + "tions.comma_following_variable_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000007, + "KHR-GLES3.shaders.declarations.declarati", + "ons.struct_missing_attribute_name_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000008, + "KHR-GLES3.shaders.declarations.declaratio", + "ns.struct_missing_attribute_name_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000009, + "KHR-GLES3.shaders.declarations.declaratio", + "ns.struct_comma_preceding_attribute_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000010, + "KHR-GLES3.shaders.declarations.declaration", + "s.struct_comma_preceding_attribute_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp new file mode 100644 index 000000000..a21048cc7 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_compareTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000020, + "KHR-GLES3.shaders.frag", + "depth.compare.no_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000021, + "KHR-GLES3.shaders.fr", + "agdepth.compare.const"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000022, + "KHR-GLES3.shaders.fra", + "gdepth.compare.uniform"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000023, + "KHR-GLES3.shaders.fra", + "gdepth.compare.dynamic"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000024, + "KHR-GLES3.shaders.fragd", + "epth.compare.fragcoord_z"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000025, + "KHR-GLES3.shaders.fragdepth.co", + "mpare.uniform_conditional_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000026, + "KHR-GLES3.shaders.fragdepth.co", + "mpare.dynamic_conditional_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000027, + "KHR-GLES3.shaders.fragdepth", + ".compare.uniform_loop_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000028, + "KHR-GLES3.shaders.fragdept", + "h.compare.write_in_function"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp new file mode 100644 index 000000000..15ecaea8e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3fragdepth_writeTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000011, + "KHR-GLES3.shaders.fra", + "gdepth.write.no_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000012, + "KHR-GLES3.shaders.f", + "ragdepth.write.const"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000013, + "KHR-GLES3.shaders.fr", + "agdepth.write.uniform"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000014, + "KHR-GLES3.shaders.fr", + "agdepth.write.dynamic"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000015, + "KHR-GLES3.shaders.frag", + "depth.write.fragcoord_z"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000016, + "KHR-GLES3.shaders.fragdepth.w", + "rite.uniform_conditional_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000017, + "KHR-GLES3.shaders.fragdepth.w", + "rite.dynamic_conditional_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000018, + "KHR-GLES3.shaders.fragdept", + "h.write.uniform_loop_write"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000019, + "KHR-GLES3.shaders.fragdep", + "th.write.write_in_function"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase.cpp new file mode 100644 index 000000000..d6e96fca6 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_matrix_subscriptTestCase.cpp @@ -0,0 +1,456 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000218, + "KHR-GLES3.shaders.indexing.matrix_subscr", + "ipt.mat2_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000219, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat2_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000220, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat2_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000221, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000222, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000223, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000224, + "KHR-GLES3.shaders.indexing.matrix_subscr", + "ipt.mat2_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000225, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat2_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000226, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat2_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000227, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000228, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000229, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000230, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat2x3_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000231, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat2x3_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000232, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2x3_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000233, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x3_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000234, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x3_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000235, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at2x3_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000236, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat2x3_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000237, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat2x3_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000238, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2x3_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000239, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x3_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000240, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x3_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000241, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at2x3_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000242, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat2x4_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000243, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat2x4_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000244, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2x4_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000245, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x4_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000246, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x4_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000247, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at2x4_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000248, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat2x4_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000249, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat2x4_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000250, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat2x4_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000251, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x4_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000252, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat2x4_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000253, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at2x4_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000254, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat3x2_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000255, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat3x2_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000256, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3x2_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000257, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x2_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000258, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x2_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000259, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at3x2_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000260, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat3x2_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000261, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat3x2_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000262, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3x2_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000263, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x2_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000264, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x2_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000265, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at3x2_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000266, + "KHR-GLES3.shaders.indexing.matrix_subscr", + "ipt.mat3_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000267, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat3_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000268, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat3_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000269, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000270, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000271, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000272, + "KHR-GLES3.shaders.indexing.matrix_subscr", + "ipt.mat3_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000273, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat3_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000274, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat3_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000275, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000276, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000277, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000278, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat3x4_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000279, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat3x4_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000280, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3x4_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000281, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x4_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000282, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x4_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000283, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at3x4_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000284, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat3x4_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000285, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat3x4_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000286, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat3x4_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000287, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x4_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000288, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat3x4_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000289, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at3x4_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000290, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat4x2_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000291, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat4x2_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000292, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4x2_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000293, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x2_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000294, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x2_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000295, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at4x2_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000296, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat4x2_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000297, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat4x2_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000298, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4x2_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000299, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x2_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000300, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x2_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000301, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at4x2_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000302, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat4x3_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000303, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat4x3_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000304, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4x3_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000305, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x3_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000306, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x3_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000307, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at4x3_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000308, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat4x3_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000309, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat4x3_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000310, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4x3_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000311, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x3_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000312, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4x3_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000313, + "KHR-GLES3.shaders.indexing.matrix_subscript.m", + "at4x3_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000314, + "KHR-GLES3.shaders.indexing.matrix_subscr", + "ipt.mat4_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000315, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat4_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000316, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat4_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000317, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000318, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000319, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000320, + "KHR-GLES3.shaders.indexing.matrix_subscr", + "ipt.mat4_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000321, + "KHR-GLES3.shaders.indexing.matrix_subscri", + "pt.mat4_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000322, + "KHR-GLES3.shaders.indexing.matrix_subscrip", + "t.mat4_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000323, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000324, + "KHR-GLES3.shaders.indexing.matrix_subscript", + ".mat4_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000325, + "KHR-GLES3.shaders.indexing.matrix_subscript.", + "mat4_dynamic_loop_write_static_read_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_tmp_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_tmp_arrayTestCase.cpp new file mode 100644 index 000000000..8fcfd888d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_tmp_arrayTestCase.cpp @@ -0,0 +1,220 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000121, + "KHR-GLES3.shaders.indexing.tmp_array.", + "float_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000122, + "KHR-GLES3.shaders.indexing.tmp_array.f", + "loat_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000123, + "KHR-GLES3.shaders.indexing.tmp_array.fl", + "oat_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000124, + "KHR-GLES3.shaders.indexing.tmp_array.flo", + "at_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000125, + "KHR-GLES3.shaders.indexing.tmp_array.flo", + "at_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000126, + "KHR-GLES3.shaders.indexing.tmp_array.floa", + "t_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000127, + "KHR-GLES3.shaders.indexing.tmp_array.", + "float_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000128, + "KHR-GLES3.shaders.indexing.tmp_array.f", + "loat_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000129, + "KHR-GLES3.shaders.indexing.tmp_array.fl", + "oat_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000130, + "KHR-GLES3.shaders.indexing.tmp_array.flo", + "at_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000131, + "KHR-GLES3.shaders.indexing.tmp_array.flo", + "at_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000132, + "KHR-GLES3.shaders.indexing.tmp_array.floa", + "t_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000133, + "KHR-GLES3.shaders.indexing.tmp_array.", + "vec2_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000134, + "KHR-GLES3.shaders.indexing.tmp_array.v", + "ec2_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000135, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c2_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000136, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "2_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000137, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c2_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000138, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "2_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000139, + "KHR-GLES3.shaders.indexing.tmp_array.", + "vec2_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000140, + "KHR-GLES3.shaders.indexing.tmp_array.v", + "ec2_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000141, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c2_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000142, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "2_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000143, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c2_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000144, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "2_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000145, + "KHR-GLES3.shaders.indexing.tmp_array.", + "vec3_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000146, + "KHR-GLES3.shaders.indexing.tmp_array.v", + "ec3_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000147, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c3_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000148, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "3_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000149, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c3_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000150, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "3_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000151, + "KHR-GLES3.shaders.indexing.tmp_array.", + "vec3_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000152, + "KHR-GLES3.shaders.indexing.tmp_array.v", + "ec3_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000153, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c3_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000154, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "3_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000155, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c3_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000156, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "3_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000157, + "KHR-GLES3.shaders.indexing.tmp_array.", + "vec4_static_write_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000158, + "KHR-GLES3.shaders.indexing.tmp_array.v", + "ec4_static_write_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000159, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c4_static_write_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000160, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "4_static_write_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000161, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c4_static_write_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000162, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "4_static_write_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000163, + "KHR-GLES3.shaders.indexing.tmp_array.", + "vec4_dynamic_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000164, + "KHR-GLES3.shaders.indexing.tmp_array.v", + "ec4_dynamic_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000165, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c4_static_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000166, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "4_static_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000167, + "KHR-GLES3.shaders.indexing.tmp_array.ve", + "c4_dynamic_loop_write_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000168, + "KHR-GLES3.shaders.indexing.tmp_array.vec", + "4_dynamic_loop_write_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000169, + "KHR-GLES3.shaders.inde", + "xing.tmp_array.vertexid"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_uniform_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_uniform_arrayTestCase.cpp new file mode 100644 index 000000000..69a841ada --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_uniform_arrayTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000089, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.float_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000090, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.float_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000091, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.float_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000092, + "KHR-GLES3.shaders.indexing.uniform", + "_array.float_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000093, + "KHR-GLES3.shaders.indexing.uniform_", + "array.float_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000094, + "KHR-GLES3.shaders.indexing.uniform_a", + "rray.float_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000095, + "KHR-GLES3.shaders.indexing.uniform_", + "array.float_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000096, + "KHR-GLES3.shaders.indexing.uniform_a", + "rray.float_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000097, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.vec2_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000098, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.vec2_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000099, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.vec2_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000100, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.vec2_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000101, + "KHR-GLES3.shaders.indexing.uniform", + "_array.vec2_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000102, + "KHR-GLES3.shaders.indexing.uniform_", + "array.vec2_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000103, + "KHR-GLES3.shaders.indexing.uniform_", + "array.vec2_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000104, + "KHR-GLES3.shaders.indexing.uniform_a", + "rray.vec2_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000105, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.vec3_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000106, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.vec3_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000107, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.vec3_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000108, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.vec3_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000109, + "KHR-GLES3.shaders.indexing.uniform", + "_array.vec3_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000110, + "KHR-GLES3.shaders.indexing.uniform_", + "array.vec3_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000111, + "KHR-GLES3.shaders.indexing.uniform_", + "array.vec3_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000112, + "KHR-GLES3.shaders.indexing.uniform_a", + "rray.vec3_dynamic_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000113, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.vec4_static_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000114, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.vec4_static_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000115, + "KHR-GLES3.shaders.indexing.unifo", + "rm_array.vec4_dynamic_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000116, + "KHR-GLES3.shaders.indexing.unifor", + "m_array.vec4_dynamic_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000117, + "KHR-GLES3.shaders.indexing.uniform", + "_array.vec4_static_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000118, + "KHR-GLES3.shaders.indexing.uniform_", + "array.vec4_static_loop_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000119, + "KHR-GLES3.shaders.indexing.uniform_", + "array.vec4_dynamic_loop_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000120, + "KHR-GLES3.shaders.indexing.uniform_a", + "rray.vec4_dynamic_loop_read_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp new file mode 100644 index 000000000..4b90ff271 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_varying_arrayTestCase.cpp @@ -0,0 +1,264 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000029, + "KHR-GLES3.shaders.indexing.varying_a", + "rray.float_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000030, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.float_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000031, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.float_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000032, + "KHR-GLES3.shaders.indexing.varying_a", + "rray.float_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000033, + "KHR-GLES3.shaders.indexing.varying_a", + "rray.float_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000034, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.float_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000035, + "KHR-GLES3.shaders.indexing.varying_arra", + "y.float_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000036, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.float_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000037, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.float_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000038, + "KHR-GLES3.shaders.indexing.varying_array", + ".float_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000039, + "KHR-GLES3.shaders.indexing.varying_array.", + "float_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000040, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.float_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000041, + "KHR-GLES3.shaders.indexing.varying_arra", + "y.float_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000042, + "KHR-GLES3.shaders.indexing.varying_array.", + "float_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000043, + "KHR-GLES3.shaders.indexing.varying_array.", + "float_dynamic_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000044, + "KHR-GLES3.shaders.indexing.varying_", + "array.vec2_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000045, + "KHR-GLES3.shaders.indexing.varying_ar", + "ray.vec2_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000046, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec2_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000047, + "KHR-GLES3.shaders.indexing.varying_", + "array.vec2_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000048, + "KHR-GLES3.shaders.indexing.varying_a", + "rray.vec2_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000049, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec2_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000050, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec2_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000051, + "KHR-GLES3.shaders.indexing.varying_ar", + "ray.vec2_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000052, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec2_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000053, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec2_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000054, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec2_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000055, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec2_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000056, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec2_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000057, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec2_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000058, + "KHR-GLES3.shaders.indexing.varying_array.", + "vec2_dynamic_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000059, + "KHR-GLES3.shaders.indexing.varying_", + "array.vec3_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000060, + "KHR-GLES3.shaders.indexing.varying_ar", + "ray.vec3_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000061, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec3_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000062, + "KHR-GLES3.shaders.indexing.varying_", + "array.vec3_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000063, + "KHR-GLES3.shaders.indexing.varying_a", + "rray.vec3_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000064, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec3_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000065, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec3_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000066, + "KHR-GLES3.shaders.indexing.varying_ar", + "ray.vec3_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000067, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec3_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000068, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec3_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000069, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec3_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000070, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec3_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000071, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec3_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000072, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec3_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000073, + "KHR-GLES3.shaders.indexing.varying_array.", + "vec3_dynamic_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000074, + "KHR-GLES3.shaders.indexing.varying_", + "array.vec4_static_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000075, + "KHR-GLES3.shaders.indexing.varying_ar", + "ray.vec4_static_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000076, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec4_static_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000077, + "KHR-GLES3.shaders.indexing.varying_", + "array.vec4_dynamic_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000078, + "KHR-GLES3.shaders.indexing.varying_a", + "rray.vec4_dynamic_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000079, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec4_dynamic_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000080, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec4_dynamic_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000081, + "KHR-GLES3.shaders.indexing.varying_ar", + "ray.vec4_static_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000082, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec4_static_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000083, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec4_static_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000084, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec4_static_loop_write_dynamic_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000085, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec4_dynamic_loop_write_static_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000086, + "KHR-GLES3.shaders.indexing.varying_arr", + "ay.vec4_dynamic_loop_write_dynamic_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000087, + "KHR-GLES3.shaders.indexing.varying_array", + ".vec4_dynamic_loop_write_static_loop_read"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000088, + "KHR-GLES3.shaders.indexing.varying_array.", + "vec4_dynamic_loop_write_dynamic_loop_read"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_vector_subscriptTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_vector_subscriptTestCase.cpp new file mode 100644 index 000000000..3d1e65800 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3indexing_vector_subscriptTestCase.cpp @@ -0,0 +1,216 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000170, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec2_direct_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000171, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c2_direct_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000172, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec2_direct_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000173, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c2_direct_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000174, + "KHR-GLES3.shaders.indexing.vector_subscript.vec", + "2_direct_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000175, + "KHR-GLES3.shaders.indexing.vector_subscript.vec2", + "_direct_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000176, + "KHR-GLES3.shaders.indexing.vector_subscript.vec2", + "_direct_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000177, + "KHR-GLES3.shaders.indexing.vector_subscript.vec2_", + "direct_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000178, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec2_static_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000179, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c2_static_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000180, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec2_dynamic_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000181, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c2_dynamic_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000182, + "KHR-GLES3.shaders.indexing.vector_subscript.vec", + "2_static_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000183, + "KHR-GLES3.shaders.indexing.vector_subscript.vec2", + "_static_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000184, + "KHR-GLES3.shaders.indexing.vector_subscript.vec2", + "_dynamic_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000185, + "KHR-GLES3.shaders.indexing.vector_subscript.vec2_", + "dynamic_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000186, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec3_direct_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000187, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c3_direct_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000188, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec3_direct_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000189, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c3_direct_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000190, + "KHR-GLES3.shaders.indexing.vector_subscript.vec", + "3_direct_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000191, + "KHR-GLES3.shaders.indexing.vector_subscript.vec3", + "_direct_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000192, + "KHR-GLES3.shaders.indexing.vector_subscript.vec3", + "_direct_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000193, + "KHR-GLES3.shaders.indexing.vector_subscript.vec3_", + "direct_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000194, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec3_static_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000195, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c3_static_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000196, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec3_dynamic_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000197, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c3_dynamic_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000198, + "KHR-GLES3.shaders.indexing.vector_subscript.vec", + "3_static_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000199, + "KHR-GLES3.shaders.indexing.vector_subscript.vec3", + "_static_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000200, + "KHR-GLES3.shaders.indexing.vector_subscript.vec3", + "_dynamic_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000201, + "KHR-GLES3.shaders.indexing.vector_subscript.vec3_", + "dynamic_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000202, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec4_direct_write_static_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000203, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c4_direct_write_static_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000204, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec4_direct_write_dynamic_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000205, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c4_direct_write_dynamic_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000206, + "KHR-GLES3.shaders.indexing.vector_subscript.vec", + "4_direct_write_static_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000207, + "KHR-GLES3.shaders.indexing.vector_subscript.vec4", + "_direct_write_static_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000208, + "KHR-GLES3.shaders.indexing.vector_subscript.vec4", + "_direct_write_dynamic_loop_subscript_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000209, + "KHR-GLES3.shaders.indexing.vector_subscript.vec4_", + "direct_write_dynamic_loop_subscript_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000210, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec4_static_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000211, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c4_static_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000212, + "KHR-GLES3.shaders.indexing.vector_subscript.v", + "ec4_dynamic_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000213, + "KHR-GLES3.shaders.indexing.vector_subscript.ve", + "c4_dynamic_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000214, + "KHR-GLES3.shaders.indexing.vector_subscript.vec", + "4_static_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000215, + "KHR-GLES3.shaders.indexing.vector_subscript.vec4", + "_static_loop_subscript_write_direct_read_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000216, + "KHR-GLES3.shaders.indexing.vector_subscript.vec4", + "_dynamic_loop_subscript_write_direct_read_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000217, + "KHR-GLES3.shaders.indexing.vector_subscript.vec4_", + "dynamic_loop_subscript_write_direct_read_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_packedTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_packedTestCase.cpp new file mode 100644 index 000000000..c2414e1a0 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_packedTestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002047, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.float"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002048, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002049, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002050, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002051, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.int"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002052, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002053, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002054, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002055, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002056, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002057, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002058, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002059, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002060, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002061, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002062, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002063, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002064, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.packed.row_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002065, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.packed.column_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002066, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002067, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.packed.row_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002068, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.packed.column_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002069, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.packed.mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002070, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.packed.row_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002071, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.packed.column_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002072, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002073, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.packed.row_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002074, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.packed.column_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002075, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002076, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.packed.row_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002077, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.packed.column_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002078, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002079, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.packed.row_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002080, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.packed.column_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002081, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002082, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.packed.row_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002083, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.packed.column_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002084, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002085, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.packed.row_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002086, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.packed.column_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002087, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.packed.mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002088, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.packed.row_major_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002089, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.packed.column_major_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_sharedTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_sharedTestCase.cpp new file mode 100644 index 000000000..108bfe81e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_sharedTestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002004, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.float"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002005, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002006, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002007, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002008, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.int"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002009, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002010, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002011, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002012, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002013, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002014, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002015, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002016, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002017, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002018, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002019, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002020, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002021, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.shared.row_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002022, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.shared.column_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002023, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002024, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.shared.row_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002025, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.shared.column_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002026, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.shared.mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002027, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.shared.row_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002028, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.shared.column_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002029, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002030, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.shared.row_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002031, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.shared.column_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002032, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002033, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.shared.row_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002034, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.shared.column_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002035, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002036, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.shared.row_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002037, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.shared.column_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002038, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002039, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.shared.row_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002040, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.shared.column_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002041, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002042, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.shared.row_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002043, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.shared.column_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002044, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.shared.mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002045, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.shared.row_major_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002046, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.shared.column_major_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_std140TestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_std140TestCase.cpp new file mode 100644 index 000000000..1ce2a939f --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3instance_array_basic_type_std140TestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002090, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.float"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002091, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002092, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002093, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002094, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.int"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002095, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002096, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002097, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002098, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002099, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002100, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002101, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002102, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002103, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002104, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002105, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002106, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002107, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.std140.row_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002108, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.std140.column_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002109, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002110, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.std140.row_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002111, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.std140.column_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002112, + "KHR-GLES3.shaders.uniform_block.in", + "stance_array_basic_type.std140.mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002113, + "KHR-GLES3.shaders.uniform_block.instanc", + "e_array_basic_type.std140.row_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002114, + "KHR-GLES3.shaders.uniform_block.instance_", + "array_basic_type.std140.column_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002115, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002116, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.std140.row_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002117, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.std140.column_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002118, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002119, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.std140.row_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002120, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.std140.column_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002121, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002122, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.std140.row_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002123, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.std140.column_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002124, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002125, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.std140.row_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002126, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.std140.column_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002127, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002128, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.std140.row_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002129, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.std140.column_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002130, + "KHR-GLES3.shaders.uniform_block.ins", + "tance_array_basic_type.std140.mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002131, + "KHR-GLES3.shaders.uniform_block.instance", + "_array_basic_type.std140.row_major_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002132, + "KHR-GLES3.shaders.uniform_block.instance_a", + "rray_basic_type.std140.column_major_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_constant_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_constant_iterationsTestCase.cpp new file mode 100644 index 000000000..0599192a6 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_constant_iterationsTestCase.cpp @@ -0,0 +1,264 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000698, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000699, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000700, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000701, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000702, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000703, + "KHR-GLES3.shaders.loops.do_while_constan", + "t_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000704, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000705, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000706, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000707, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000708, + "KHR-GLES3.shaders.loops.do_while_co", + "nstant_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000709, + "KHR-GLES3.shaders.loops.do_while_con", + "stant_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000710, + "KHR-GLES3.shaders.loops.do_while_constant_iterati", + "ons.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000711, + "KHR-GLES3.shaders.loops.do_while_constant_iteratio", + "ns.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000712, + "KHR-GLES3.shaders.loops.do_while_constant_iterati", + "ons.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000713, + "KHR-GLES3.shaders.loops.do_while_constant_iteratio", + "ns.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000714, + "KHR-GLES3.shaders.loops.do_while_constant_ite", + "rations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000715, + "KHR-GLES3.shaders.loops.do_while_constant_iter", + "ations.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000716, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000717, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000718, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000719, + "KHR-GLES3.shaders.loops.do_while_constan", + "t_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000720, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000721, + "KHR-GLES3.shaders.loops.do_while_constan", + "t_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000722, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000723, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000724, + "KHR-GLES3.shaders.loops.do_while_constant", + "_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000725, + "KHR-GLES3.shaders.loops.do_while_constant_", + "iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000726, + "KHR-GLES3.shaders.loops.do_while_constan", + "t_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000727, + "KHR-GLES3.shaders.loops.do_while_constant", + "_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000728, + "KHR-GLES3.shaders.loops.do_while_constant", + "_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000729, + "KHR-GLES3.shaders.loops.do_while_constant_", + "iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000730, + "KHR-GLES3.shaders.loops.do_while_con", + "stant_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000731, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000732, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000733, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000734, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000735, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000736, + "KHR-GLES3.shaders.loops.do_while_consta", + "nt_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000737, + "KHR-GLES3.shaders.loops.do_while_constan", + "t_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000738, + "KHR-GLES3.shaders.loops.do_while_con", + "stant_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000739, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000740, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000741, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000742, + "KHR-GLES3.shaders.loops.do_while_constan", + "t_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000743, + "KHR-GLES3.shaders.loops.do_while_constant", + "_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000744, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000745, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000746, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000747, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000748, + "KHR-GLES3.shaders.loops.do_while_c", + "onstant_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000749, + "KHR-GLES3.shaders.loops.do_while_co", + "nstant_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000750, + "KHR-GLES3.shaders.loops.do_while_", + "constant_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000751, + "KHR-GLES3.shaders.loops.do_while_c", + "onstant_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000752, + "KHR-GLES3.shaders.loops.do_while_cons", + "tant_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000753, + "KHR-GLES3.shaders.loops.do_while_const", + "ant_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000754, + "KHR-GLES3.shaders.loops.do_while_constant_", + "iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000755, + "KHR-GLES3.shaders.loops.do_while_constant_i", + "terations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000756, + "KHR-GLES3.shaders.loops.do_while_constant_", + "iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000757, + "KHR-GLES3.shaders.loops.do_while_constant_i", + "terations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_dynamic_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_dynamic_iterationsTestCase.cpp new file mode 100644 index 000000000..768f291e8 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_dynamic_iterationsTestCase.cpp @@ -0,0 +1,264 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000818, + "KHR-GLES3.shaders.loops.do_while_dyn", + "amic_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000819, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000820, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000821, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000822, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000823, + "KHR-GLES3.shaders.loops.do_while_dynamic", + "_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000824, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000825, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000826, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000827, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000828, + "KHR-GLES3.shaders.loops.do_while_d", + "ynamic_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000829, + "KHR-GLES3.shaders.loops.do_while_dy", + "namic_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000830, + "KHR-GLES3.shaders.loops.do_while_dynamic_iteratio", + "ns.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000831, + "KHR-GLES3.shaders.loops.do_while_dynamic_iteration", + "s.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000832, + "KHR-GLES3.shaders.loops.do_while_dynamic_iterati", + "ons.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000833, + "KHR-GLES3.shaders.loops.do_while_dynamic_iteratio", + "ns.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000834, + "KHR-GLES3.shaders.loops.do_while_dynamic_iter", + "ations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000835, + "KHR-GLES3.shaders.loops.do_while_dynamic_itera", + "tions.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000836, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000837, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000838, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000839, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000840, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000841, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000842, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000843, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000844, + "KHR-GLES3.shaders.loops.do_while_dynamic", + "_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000845, + "KHR-GLES3.shaders.loops.do_while_dynamic_", + "iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000846, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000847, + "KHR-GLES3.shaders.loops.do_while_dynamic", + "_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000848, + "KHR-GLES3.shaders.loops.do_while_dynamic", + "_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000849, + "KHR-GLES3.shaders.loops.do_while_dynamic_", + "iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000850, + "KHR-GLES3.shaders.loops.do_while_dyn", + "amic_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000851, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000852, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000853, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000854, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000855, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000856, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000857, + "KHR-GLES3.shaders.loops.do_while_dynamic", + "_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000858, + "KHR-GLES3.shaders.loops.do_while_dyn", + "amic_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000859, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000860, + "KHR-GLES3.shaders.loops.do_while_dyn", + "amic_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000861, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000862, + "KHR-GLES3.shaders.loops.do_while_dynami", + "c_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000863, + "KHR-GLES3.shaders.loops.do_while_dynamic", + "_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000864, + "KHR-GLES3.shaders.loops.do_while_dyn", + "amic_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000865, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000866, + "KHR-GLES3.shaders.loops.do_while_dyn", + "amic_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000867, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000868, + "KHR-GLES3.shaders.loops.do_while_", + "dynamic_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000869, + "KHR-GLES3.shaders.loops.do_while_d", + "ynamic_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000870, + "KHR-GLES3.shaders.loops.do_while", + "_dynamic_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000871, + "KHR-GLES3.shaders.loops.do_while_", + "dynamic_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000872, + "KHR-GLES3.shaders.loops.do_while_dyna", + "mic_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000873, + "KHR-GLES3.shaders.loops.do_while_dynam", + "ic_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000874, + "KHR-GLES3.shaders.loops.do_while_dynamic_", + "iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000875, + "KHR-GLES3.shaders.loops.do_while_dynamic_i", + "terations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000876, + "KHR-GLES3.shaders.loops.do_while_dynamic_", + "iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000877, + "KHR-GLES3.shaders.loops.do_while_dynamic_i", + "terations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_uniform_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_uniform_iterationsTestCase.cpp new file mode 100644 index 000000000..1364e17b2 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_do_while_uniform_iterationsTestCase.cpp @@ -0,0 +1,264 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000758, + "KHR-GLES3.shaders.loops.do_while_uni", + "form_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000759, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000760, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000761, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000762, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000763, + "KHR-GLES3.shaders.loops.do_while_uniform", + "_iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000764, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000765, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000766, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000767, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000768, + "KHR-GLES3.shaders.loops.do_while_u", + "niform_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000769, + "KHR-GLES3.shaders.loops.do_while_un", + "iform_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000770, + "KHR-GLES3.shaders.loops.do_while_uniform_iteratio", + "ns.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000771, + "KHR-GLES3.shaders.loops.do_while_uniform_iteration", + "s.infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000772, + "KHR-GLES3.shaders.loops.do_while_uniform_iterati", + "ons.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000773, + "KHR-GLES3.shaders.loops.do_while_uniform_iteratio", + "ns.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000774, + "KHR-GLES3.shaders.loops.do_while_uniform_iter", + "ations.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000775, + "KHR-GLES3.shaders.loops.do_while_uniform_itera", + "tions.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000776, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000777, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000778, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000779, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000780, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000781, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000782, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000783, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000784, + "KHR-GLES3.shaders.loops.do_while_uniform", + "_iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000785, + "KHR-GLES3.shaders.loops.do_while_uniform_", + "iterations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000786, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000787, + "KHR-GLES3.shaders.loops.do_while_uniform", + "_iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000788, + "KHR-GLES3.shaders.loops.do_while_uniform", + "_iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000789, + "KHR-GLES3.shaders.loops.do_while_uniform_", + "iterations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000790, + "KHR-GLES3.shaders.loops.do_while_uni", + "form_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000791, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000792, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000793, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000794, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000795, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000796, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000797, + "KHR-GLES3.shaders.loops.do_while_uniform", + "_iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000798, + "KHR-GLES3.shaders.loops.do_while_uni", + "form_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000799, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000800, + "KHR-GLES3.shaders.loops.do_while_uni", + "form_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000801, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000802, + "KHR-GLES3.shaders.loops.do_while_unifor", + "m_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000803, + "KHR-GLES3.shaders.loops.do_while_uniform", + "_iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000804, + "KHR-GLES3.shaders.loops.do_while_uni", + "form_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000805, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000806, + "KHR-GLES3.shaders.loops.do_while_uni", + "form_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000807, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000808, + "KHR-GLES3.shaders.loops.do_while_", + "uniform_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000809, + "KHR-GLES3.shaders.loops.do_while_u", + "niform_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000810, + "KHR-GLES3.shaders.loops.do_while", + "_uniform_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000811, + "KHR-GLES3.shaders.loops.do_while_", + "uniform_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000812, + "KHR-GLES3.shaders.loops.do_while_unif", + "orm_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000813, + "KHR-GLES3.shaders.loops.do_while_unifo", + "rm_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000814, + "KHR-GLES3.shaders.loops.do_while_uniform_", + "iterations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000815, + "KHR-GLES3.shaders.loops.do_while_uniform_i", + "terations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000816, + "KHR-GLES3.shaders.loops.do_while_uniform_", + "iterations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000817, + "KHR-GLES3.shaders.loops.do_while_uniform_i", + "terations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_constant_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_constant_iterationsTestCase.cpp new file mode 100644 index 000000000..f1b6ddd9a --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_constant_iterationsTestCase.cpp @@ -0,0 +1,272 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000326, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000327, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000328, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000329, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000330, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000331, + "KHR-GLES3.shaders.loops.for_constant_i", + "terations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000332, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000333, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000334, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000335, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000336, + "KHR-GLES3.shaders.loops.for_cons", + "tant_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000337, + "KHR-GLES3.shaders.loops.for_const", + "ant_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000338, + "KHR-GLES3.shaders.loops.for_constant_iterations", + ".infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000339, + "KHR-GLES3.shaders.loops.for_constant_iterations.", + "infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000340, + "KHR-GLES3.shaders.loops.for_constant_iteration", + "s.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000341, + "KHR-GLES3.shaders.loops.for_constant_iterations", + ".infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000342, + "KHR-GLES3.shaders.loops.for_constant_iterat", + "ions.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000343, + "KHR-GLES3.shaders.loops.for_constant_iterati", + "ons.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000344, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000345, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000346, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000347, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000348, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000349, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000350, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000351, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000352, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000353, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000354, + "KHR-GLES3.shaders.loops.for_constant_i", + "terations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000355, + "KHR-GLES3.shaders.loops.for_constant_it", + "erations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000356, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000357, + "KHR-GLES3.shaders.loops.for_constant_i", + "terations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000358, + "KHR-GLES3.shaders.loops.for_constant_i", + "terations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000359, + "KHR-GLES3.shaders.loops.for_constant_it", + "erations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000360, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000361, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000362, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000363, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000364, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000365, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000366, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000367, + "KHR-GLES3.shaders.loops.for_constant_i", + "terations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000368, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000369, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000370, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000371, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000372, + "KHR-GLES3.shaders.loops.for_constant_", + "iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000373, + "KHR-GLES3.shaders.loops.for_constant_i", + "terations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000374, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000375, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000376, + "KHR-GLES3.shaders.loops.for_consta", + "nt_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000377, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000378, + "KHR-GLES3.shaders.loops.for_con", + "stant_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000379, + "KHR-GLES3.shaders.loops.for_cons", + "tant_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000380, + "KHR-GLES3.shaders.loops.for_co", + "nstant_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000381, + "KHR-GLES3.shaders.loops.for_con", + "stant_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000382, + "KHR-GLES3.shaders.loops.for_constan", + "t_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000383, + "KHR-GLES3.shaders.loops.for_constant", + "_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000384, + "KHR-GLES3.shaders.loops.for_constant_it", + "erations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000385, + "KHR-GLES3.shaders.loops.for_constant_ite", + "rations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000386, + "KHR-GLES3.shaders.loops.for_constant_it", + "erations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000387, + "KHR-GLES3.shaders.loops.for_constant_ite", + "rations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_dynamic_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_dynamic_iterationsTestCase.cpp new file mode 100644 index 000000000..1f620da38 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_dynamic_iterationsTestCase.cpp @@ -0,0 +1,272 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000450, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000451, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000452, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000453, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000454, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000455, + "KHR-GLES3.shaders.loops.for_dynamic_i", + "terations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000456, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000457, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000458, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000459, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000460, + "KHR-GLES3.shaders.loops.for_dyna", + "mic_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000461, + "KHR-GLES3.shaders.loops.for_dynam", + "ic_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000462, + "KHR-GLES3.shaders.loops.for_dynamic_iterations", + ".infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000463, + "KHR-GLES3.shaders.loops.for_dynamic_iterations.", + "infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000464, + "KHR-GLES3.shaders.loops.for_dynamic_iterations", + ".infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000465, + "KHR-GLES3.shaders.loops.for_dynamic_iterations.", + "infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000466, + "KHR-GLES3.shaders.loops.for_dynamic_iterat", + "ions.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000467, + "KHR-GLES3.shaders.loops.for_dynamic_iterati", + "ons.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000468, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000469, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000470, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000471, + "KHR-GLES3.shaders.loops.for_dynamic_i", + "terations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000472, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000473, + "KHR-GLES3.shaders.loops.for_dynamic_i", + "terations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000474, + "KHR-GLES3.shaders.loops.for_dynam", + "ic_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000475, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000476, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000477, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000478, + "KHR-GLES3.shaders.loops.for_dynamic_it", + "erations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000479, + "KHR-GLES3.shaders.loops.for_dynamic_ite", + "rations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000480, + "KHR-GLES3.shaders.loops.for_dynamic_i", + "terations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000481, + "KHR-GLES3.shaders.loops.for_dynamic_it", + "erations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000482, + "KHR-GLES3.shaders.loops.for_dynamic_it", + "erations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000483, + "KHR-GLES3.shaders.loops.for_dynamic_ite", + "rations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000484, + "KHR-GLES3.shaders.loops.for_dynam", + "ic_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000485, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000486, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000487, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000488, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000489, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000490, + "KHR-GLES3.shaders.loops.for_dynamic_", + "iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000491, + "KHR-GLES3.shaders.loops.for_dynamic_i", + "terations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000492, + "KHR-GLES3.shaders.loops.for_dynam", + "ic_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000493, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000494, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000495, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000496, + "KHR-GLES3.shaders.loops.for_dynamic_i", + "terations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000497, + "KHR-GLES3.shaders.loops.for_dynamic_it", + "erations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000498, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000499, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000500, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000501, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000502, + "KHR-GLES3.shaders.loops.for_dyn", + "amic_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000503, + "KHR-GLES3.shaders.loops.for_dyna", + "mic_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000504, + "KHR-GLES3.shaders.loops.for_dy", + "namic_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000505, + "KHR-GLES3.shaders.loops.for_dyn", + "amic_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000506, + "KHR-GLES3.shaders.loops.for_dynami", + "c_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000507, + "KHR-GLES3.shaders.loops.for_dynamic", + "_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000508, + "KHR-GLES3.shaders.loops.for_dynamic_ite", + "rations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000509, + "KHR-GLES3.shaders.loops.for_dynamic_iter", + "ations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000510, + "KHR-GLES3.shaders.loops.for_dynamic_ite", + "rations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000511, + "KHR-GLES3.shaders.loops.for_dynamic_iter", + "ations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_uniform_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_uniform_iterationsTestCase.cpp new file mode 100644 index 000000000..e3c19b90d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_for_uniform_iterationsTestCase.cpp @@ -0,0 +1,272 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000388, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000389, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000390, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000391, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000392, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000393, + "KHR-GLES3.shaders.loops.for_uniform_i", + "terations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000394, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000395, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000396, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000397, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000398, + "KHR-GLES3.shaders.loops.for_unif", + "orm_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000399, + "KHR-GLES3.shaders.loops.for_unifo", + "rm_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000400, + "KHR-GLES3.shaders.loops.for_uniform_iterations", + ".infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000401, + "KHR-GLES3.shaders.loops.for_uniform_iterations.", + "infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000402, + "KHR-GLES3.shaders.loops.for_uniform_iterations", + ".infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000403, + "KHR-GLES3.shaders.loops.for_uniform_iterations.", + "infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000404, + "KHR-GLES3.shaders.loops.for_uniform_iterat", + "ions.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000405, + "KHR-GLES3.shaders.loops.for_uniform_iterati", + "ons.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000406, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000407, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000408, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000409, + "KHR-GLES3.shaders.loops.for_uniform_i", + "terations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000410, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000411, + "KHR-GLES3.shaders.loops.for_uniform_i", + "terations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000412, + "KHR-GLES3.shaders.loops.for_unifo", + "rm_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000413, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000414, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000415, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000416, + "KHR-GLES3.shaders.loops.for_uniform_it", + "erations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000417, + "KHR-GLES3.shaders.loops.for_uniform_ite", + "rations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000418, + "KHR-GLES3.shaders.loops.for_uniform_i", + "terations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000419, + "KHR-GLES3.shaders.loops.for_uniform_it", + "erations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000420, + "KHR-GLES3.shaders.loops.for_uniform_it", + "erations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000421, + "KHR-GLES3.shaders.loops.for_uniform_ite", + "rations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000422, + "KHR-GLES3.shaders.loops.for_unifo", + "rm_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000423, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000424, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000425, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000426, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000427, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000428, + "KHR-GLES3.shaders.loops.for_uniform_", + "iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000429, + "KHR-GLES3.shaders.loops.for_uniform_i", + "terations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000430, + "KHR-GLES3.shaders.loops.for_unifo", + "rm_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000431, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000432, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000433, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000434, + "KHR-GLES3.shaders.loops.for_uniform_i", + "terations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000435, + "KHR-GLES3.shaders.loops.for_uniform_it", + "erations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000436, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000437, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000438, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000439, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000440, + "KHR-GLES3.shaders.loops.for_uni", + "form_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000441, + "KHR-GLES3.shaders.loops.for_unif", + "orm_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000442, + "KHR-GLES3.shaders.loops.for_un", + "iform_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000443, + "KHR-GLES3.shaders.loops.for_uni", + "form_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000444, + "KHR-GLES3.shaders.loops.for_unifor", + "m_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000445, + "KHR-GLES3.shaders.loops.for_uniform", + "_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000446, + "KHR-GLES3.shaders.loops.for_uniform_ite", + "rations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000447, + "KHR-GLES3.shaders.loops.for_uniform_iter", + "ations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000448, + "KHR-GLES3.shaders.loops.for_uniform_ite", + "rations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000449, + "KHR-GLES3.shaders.loops.for_uniform_iter", + "ations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_constant_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_constant_iterationsTestCase.cpp new file mode 100644 index 000000000..dd507bca0 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_constant_iterationsTestCase.cpp @@ -0,0 +1,272 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000512, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000513, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000514, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000515, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000516, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000517, + "KHR-GLES3.shaders.loops.while_constant_", + "iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000518, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000519, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000520, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000521, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000522, + "KHR-GLES3.shaders.loops.while_con", + "stant_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000523, + "KHR-GLES3.shaders.loops.while_cons", + "tant_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000524, + "KHR-GLES3.shaders.loops.while_constant_iteration", + "s.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000525, + "KHR-GLES3.shaders.loops.while_constant_iterations", + ".infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000526, + "KHR-GLES3.shaders.loops.while_constant_iteratio", + "ns.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000527, + "KHR-GLES3.shaders.loops.while_constant_iteration", + "s.infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000528, + "KHR-GLES3.shaders.loops.while_constant_itera", + "tions.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000529, + "KHR-GLES3.shaders.loops.while_constant_iterat", + "ions.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000530, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000531, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000532, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000533, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000534, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000535, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000536, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000537, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000538, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000539, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000540, + "KHR-GLES3.shaders.loops.while_constant_", + "iterations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000541, + "KHR-GLES3.shaders.loops.while_constant_i", + "terations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000542, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000543, + "KHR-GLES3.shaders.loops.while_constant_", + "iterations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000544, + "KHR-GLES3.shaders.loops.while_constant_", + "iterations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000545, + "KHR-GLES3.shaders.loops.while_constant_i", + "terations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000546, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000547, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000548, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000549, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000550, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000551, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000552, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000553, + "KHR-GLES3.shaders.loops.while_constant_", + "iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000554, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000555, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000556, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000557, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000558, + "KHR-GLES3.shaders.loops.while_constant", + "_iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000559, + "KHR-GLES3.shaders.loops.while_constant_", + "iterations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000560, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000561, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000562, + "KHR-GLES3.shaders.loops.while_const", + "ant_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000563, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000564, + "KHR-GLES3.shaders.loops.while_co", + "nstant_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000565, + "KHR-GLES3.shaders.loops.while_con", + "stant_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000566, + "KHR-GLES3.shaders.loops.while_c", + "onstant_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000567, + "KHR-GLES3.shaders.loops.while_co", + "nstant_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000568, + "KHR-GLES3.shaders.loops.while_consta", + "nt_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000569, + "KHR-GLES3.shaders.loops.while_constan", + "t_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000570, + "KHR-GLES3.shaders.loops.while_constant_i", + "terations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000571, + "KHR-GLES3.shaders.loops.while_constant_it", + "erations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000572, + "KHR-GLES3.shaders.loops.while_constant_i", + "terations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000573, + "KHR-GLES3.shaders.loops.while_constant_it", + "erations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_dynamic_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_dynamic_iterationsTestCase.cpp new file mode 100644 index 000000000..dd8c9278b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_dynamic_iterationsTestCase.cpp @@ -0,0 +1,272 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000636, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000637, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000638, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000639, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000640, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000641, + "KHR-GLES3.shaders.loops.while_dynamic_", + "iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000642, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000643, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000644, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000645, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000646, + "KHR-GLES3.shaders.loops.while_dyn", + "amic_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000647, + "KHR-GLES3.shaders.loops.while_dyna", + "mic_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000648, + "KHR-GLES3.shaders.loops.while_dynamic_iteration", + "s.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000649, + "KHR-GLES3.shaders.loops.while_dynamic_iterations", + ".infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000650, + "KHR-GLES3.shaders.loops.while_dynamic_iteration", + "s.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000651, + "KHR-GLES3.shaders.loops.while_dynamic_iterations", + ".infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000652, + "KHR-GLES3.shaders.loops.while_dynamic_itera", + "tions.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000653, + "KHR-GLES3.shaders.loops.while_dynamic_iterat", + "ions.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000654, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000655, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000656, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000657, + "KHR-GLES3.shaders.loops.while_dynamic_", + "iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000658, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000659, + "KHR-GLES3.shaders.loops.while_dynamic_", + "iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000660, + "KHR-GLES3.shaders.loops.while_dyna", + "mic_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000661, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000662, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000663, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000664, + "KHR-GLES3.shaders.loops.while_dynamic_i", + "terations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000665, + "KHR-GLES3.shaders.loops.while_dynamic_it", + "erations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000666, + "KHR-GLES3.shaders.loops.while_dynamic_", + "iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000667, + "KHR-GLES3.shaders.loops.while_dynamic_i", + "terations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000668, + "KHR-GLES3.shaders.loops.while_dynamic_i", + "terations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000669, + "KHR-GLES3.shaders.loops.while_dynamic_it", + "erations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000670, + "KHR-GLES3.shaders.loops.while_dyna", + "mic_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000671, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000672, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000673, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000674, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000675, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000676, + "KHR-GLES3.shaders.loops.while_dynamic", + "_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000677, + "KHR-GLES3.shaders.loops.while_dynamic_", + "iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000678, + "KHR-GLES3.shaders.loops.while_dyna", + "mic_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000679, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000680, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000681, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000682, + "KHR-GLES3.shaders.loops.while_dynamic_", + "iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000683, + "KHR-GLES3.shaders.loops.while_dynamic_i", + "terations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000684, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000685, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000686, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000687, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000688, + "KHR-GLES3.shaders.loops.while_dy", + "namic_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000689, + "KHR-GLES3.shaders.loops.while_dyn", + "amic_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000690, + "KHR-GLES3.shaders.loops.while_d", + "ynamic_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000691, + "KHR-GLES3.shaders.loops.while_dy", + "namic_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000692, + "KHR-GLES3.shaders.loops.while_dynam", + "ic_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000693, + "KHR-GLES3.shaders.loops.while_dynami", + "c_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000694, + "KHR-GLES3.shaders.loops.while_dynamic_it", + "erations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000695, + "KHR-GLES3.shaders.loops.while_dynamic_ite", + "rations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000696, + "KHR-GLES3.shaders.loops.while_dynamic_it", + "erations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000697, + "KHR-GLES3.shaders.loops.while_dynamic_ite", + "rations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_uniform_iterationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_uniform_iterationsTestCase.cpp new file mode 100644 index 000000000..d4ec1936f --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3loops_while_uniform_iterationsTestCase.cpp @@ -0,0 +1,272 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000574, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.basic_lowp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000575, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.basic_lowp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000576, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.basic_mediump_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000577, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.basic_mediump_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000578, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.basic_mediump_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000579, + "KHR-GLES3.shaders.loops.while_uniform_", + "iterations.basic_mediump_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000580, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.basic_highp_int_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000581, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.basic_highp_int_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000582, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.basic_highp_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000583, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.basic_highp_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000584, + "KHR-GLES3.shaders.loops.while_uni", + "form_iterations.empty_body_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000585, + "KHR-GLES3.shaders.loops.while_unif", + "orm_iterations.empty_body_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000586, + "KHR-GLES3.shaders.loops.while_uniform_iteration", + "s.infinite_with_unconditional_break_first_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000587, + "KHR-GLES3.shaders.loops.while_uniform_iterations", + ".infinite_with_unconditional_break_first_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000588, + "KHR-GLES3.shaders.loops.while_uniform_iteration", + "s.infinite_with_unconditional_break_last_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000589, + "KHR-GLES3.shaders.loops.while_uniform_iterations", + ".infinite_with_unconditional_break_last_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000590, + "KHR-GLES3.shaders.loops.while_uniform_itera", + "tions.infinite_with_conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000591, + "KHR-GLES3.shaders.loops.while_uniform_iterat", + "ions.infinite_with_conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000592, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.single_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000593, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.single_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000594, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.compound_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000595, + "KHR-GLES3.shaders.loops.while_uniform_", + "iterations.compound_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000596, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.sequence_statement_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000597, + "KHR-GLES3.shaders.loops.while_uniform_", + "iterations.sequence_statement_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000598, + "KHR-GLES3.shaders.loops.while_unif", + "orm_iterations.no_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000599, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.no_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000600, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.single_iteration_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000601, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.single_iteration_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000602, + "KHR-GLES3.shaders.loops.while_uniform_i", + "terations.select_iteration_count_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000603, + "KHR-GLES3.shaders.loops.while_uniform_it", + "erations.select_iteration_count_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000604, + "KHR-GLES3.shaders.loops.while_uniform_", + "iterations.conditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000605, + "KHR-GLES3.shaders.loops.while_uniform_i", + "terations.conditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000606, + "KHR-GLES3.shaders.loops.while_uniform_i", + "terations.unconditional_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000607, + "KHR-GLES3.shaders.loops.while_uniform_it", + "erations.unconditional_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000608, + "KHR-GLES3.shaders.loops.while_unif", + "orm_iterations.only_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000609, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.only_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000610, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.double_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000611, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.double_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000612, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.conditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000613, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.conditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000614, + "KHR-GLES3.shaders.loops.while_uniform", + "_iterations.unconditional_break_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000615, + "KHR-GLES3.shaders.loops.while_uniform_", + "iterations.unconditional_break_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000616, + "KHR-GLES3.shaders.loops.while_unif", + "orm_iterations.pre_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000617, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.pre_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000618, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.post_increment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000619, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.post_increment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000620, + "KHR-GLES3.shaders.loops.while_uniform_", + "iterations.mixed_break_continue_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000621, + "KHR-GLES3.shaders.loops.while_uniform_i", + "terations.mixed_break_continue_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000622, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.vector_counter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000623, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.vector_counter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000624, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.101_iterations_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000625, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.101_iterations_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000626, + "KHR-GLES3.shaders.loops.while_un", + "iform_iterations.sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000627, + "KHR-GLES3.shaders.loops.while_uni", + "form_iterations.sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000628, + "KHR-GLES3.shaders.loops.while_u", + "niform_iterations.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000629, + "KHR-GLES3.shaders.loops.while_un", + "iform_iterations.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000630, + "KHR-GLES3.shaders.loops.while_unifo", + "rm_iterations.nested_sequence_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000631, + "KHR-GLES3.shaders.loops.while_unifor", + "m_iterations.nested_sequence_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000632, + "KHR-GLES3.shaders.loops.while_uniform_it", + "erations.nested_tricky_dataflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000633, + "KHR-GLES3.shaders.loops.while_uniform_ite", + "rations.nested_tricky_dataflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000634, + "KHR-GLES3.shaders.loops.while_uniform_it", + "erations.nested_tricky_dataflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000635, + "KHR-GLES3.shaders.loops.while_uniform_ite", + "rations.nested_tricky_dataflow_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_per_block_bufferTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_per_block_bufferTestCase.cpp new file mode 100644 index 000000000..ff4d5ca1e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_per_block_bufferTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002133, + "KHR-GLES3.shaders.uniform_block.multi_b", + "asic_types.per_block_buffer.shared_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002134, + "KHR-GLES3.shaders.uniform_block.multi_b", + "asic_types.per_block_buffer.shared_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002135, + "KHR-GLES3.shaders.uniform_block.multi_basic_typ", + "es.per_block_buffer.shared_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002136, + "KHR-GLES3.shaders.uniform_block.multi_basic_ty", + "pes.per_block_buffer.shared_instance_array_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002137, + "KHR-GLES3.shaders.uniform_block.multi_b", + "asic_types.per_block_buffer.packed_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002138, + "KHR-GLES3.shaders.uniform_block.multi_basic_typ", + "es.per_block_buffer.packed_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002139, + "KHR-GLES3.shaders.uniform_block.multi_b", + "asic_types.per_block_buffer.std140_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002140, + "KHR-GLES3.shaders.uniform_block.multi_b", + "asic_types.per_block_buffer.std140_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002141, + "KHR-GLES3.shaders.uniform_block.multi_basic_typ", + "es.per_block_buffer.std140_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002142, + "KHR-GLES3.shaders.uniform_block.multi_basic_ty", + "pes.per_block_buffer.std140_instance_array_both"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_single_bufferTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_single_bufferTestCase.cpp new file mode 100644 index 000000000..88cc11561 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_basic_types_single_bufferTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002143, + "KHR-GLES3.shaders.uniform_block.multi_", + "basic_types.single_buffer.shared_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002144, + "KHR-GLES3.shaders.uniform_block.multi", + "_basic_types.single_buffer.shared_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002145, + "KHR-GLES3.shaders.uniform_block.multi_basic_t", + "ypes.single_buffer.shared_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002146, + "KHR-GLES3.shaders.uniform_block.multi_basic_t", + "ypes.single_buffer.shared_instance_array_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002147, + "KHR-GLES3.shaders.uniform_block.multi_", + "basic_types.single_buffer.packed_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002148, + "KHR-GLES3.shaders.uniform_block.multi_basic_t", + "ypes.single_buffer.packed_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002149, + "KHR-GLES3.shaders.uniform_block.multi_", + "basic_types.single_buffer.std140_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002150, + "KHR-GLES3.shaders.uniform_block.multi", + "_basic_types.single_buffer.std140_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002151, + "KHR-GLES3.shaders.uniform_block.multi_basic_t", + "ypes.single_buffer.std140_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002152, + "KHR-GLES3.shaders.uniform_block.multi_basic_t", + "ypes.single_buffer.std140_instance_array_both"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_per_block_bufferTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_per_block_bufferTestCase.cpp new file mode 100644 index 000000000..099827828 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_per_block_bufferTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002153, + "KHR-GLES3.shaders.uniform_block.multi_ne", + "sted_struct.per_block_buffer.shared_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002154, + "KHR-GLES3.shaders.uniform_block.multi_ne", + "sted_struct.per_block_buffer.shared_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002155, + "KHR-GLES3.shaders.uniform_block.multi_nested_str", + "uct.per_block_buffer.shared_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002156, + "KHR-GLES3.shaders.uniform_block.multi_nested_st", + "ruct.per_block_buffer.shared_instance_array_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002157, + "KHR-GLES3.shaders.uniform_block.multi_ne", + "sted_struct.per_block_buffer.packed_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002158, + "KHR-GLES3.shaders.uniform_block.multi_nested_str", + "uct.per_block_buffer.packed_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002159, + "KHR-GLES3.shaders.uniform_block.multi_ne", + "sted_struct.per_block_buffer.std140_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002160, + "KHR-GLES3.shaders.uniform_block.multi_ne", + "sted_struct.per_block_buffer.std140_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002161, + "KHR-GLES3.shaders.uniform_block.multi_nested_str", + "uct.per_block_buffer.std140_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002162, + "KHR-GLES3.shaders.uniform_block.multi_nested_st", + "ruct.per_block_buffer.std140_instance_array_both"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_single_bufferTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_single_bufferTestCase.cpp new file mode 100644 index 000000000..40a449803 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3multi_nested_struct_single_bufferTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002163, + "KHR-GLES3.shaders.uniform_block.multi_n", + "ested_struct.single_buffer.shared_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002164, + "KHR-GLES3.shaders.uniform_block.multi_", + "nested_struct.single_buffer.shared_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002165, + "KHR-GLES3.shaders.uniform_block.multi_nested_s", + "truct.single_buffer.shared_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002166, + "KHR-GLES3.shaders.uniform_block.multi_nested_s", + "truct.single_buffer.shared_instance_array_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002167, + "KHR-GLES3.shaders.uniform_block.multi_n", + "ested_struct.single_buffer.packed_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002168, + "KHR-GLES3.shaders.uniform_block.multi_nested_s", + "truct.single_buffer.packed_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002169, + "KHR-GLES3.shaders.uniform_block.multi_n", + "ested_struct.single_buffer.std140_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002170, + "KHR-GLES3.shaders.uniform_block.multi_", + "nested_struct.single_buffer.std140_both"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002171, + "KHR-GLES3.shaders.uniform_block.multi_nested_s", + "truct.single_buffer.std140_instance_array_mixed"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002172, + "KHR-GLES3.shaders.uniform_block.multi_nested_s", + "truct.single_buffer.std140_instance_array_both"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3name_hiding_basicTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3name_hiding_basicTestCase.cpp new file mode 100644 index 000000000..773e4e4e3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3name_hiding_basicTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001396, + "KHR-GLES3.shaders.name_hidin", + "g.basic.hidden_name_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001397, + "KHR-GLES3.shaders.name_hiding", + ".basic.hidden_name_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001398, + "KHR-GLES3.shaders.name_hidin", + "g.basic.hidden_name_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001399, + "KHR-GLES3.shaders.name_hiding", + ".basic.hidden_name_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001400, + "KHR-GLES3.shaders.name_hidin", + "g.basic.hidden_name_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001401, + "KHR-GLES3.shaders.name_hiding", + ".basic.hidden_name_3_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_basicTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_basicTestCase.cpp new file mode 100644 index 000000000..29288e8f6 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_basicTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000878, + "KHR-GLES3.shaders.preprocesso", + "r.basic.correct_phases_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000879, + "KHR-GLES3.shaders.preprocessor", + ".basic.correct_phases_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000880, + "KHR-GLES3.shaders.preprocessor.", + "basic.invalid_identifier_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000881, + "KHR-GLES3.shaders.preprocessor.b", + "asic.invalid_identifier_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000882, + "KHR-GLES3.shaders.preprocesso", + "r.basic.null_directive_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000883, + "KHR-GLES3.shaders.preprocessor", + ".basic.null_directive_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000884, + "KHR-GLES3.shaders.preprocessor", + ".basic.invalid_directive_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000885, + "KHR-GLES3.shaders.preprocessor.", + "basic.invalid_directive_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000886, + "KHR-GLES3.shaders.preprocessor.", + "basic.missing_identifier_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000887, + "KHR-GLES3.shaders.preprocessor.b", + "asic.missing_identifier_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000888, + "KHR-GLES3.shaders.preprocess", + "or.basic.empty_object_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000889, + "KHR-GLES3.shaders.preprocesso", + "r.basic.empty_object_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000890, + "KHR-GLES3.shaders.preprocesso", + "r.basic.empty_function_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000891, + "KHR-GLES3.shaders.preprocessor", + ".basic.empty_function_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000892, + "KHR-GLES3.shaders.preprocesso", + "r.basic.empty_directive_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000893, + "KHR-GLES3.shaders.preprocessor", + ".basic.empty_directive_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_builtinTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_builtinTestCase.cpp new file mode 100644 index 000000000..e58a63c8f --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_builtinTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001206, + "KHR-GLES3.shaders.preproc", + "essor.builtin.line_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001207, + "KHR-GLES3.shaders.preproce", + "ssor.builtin.line_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001208, + "KHR-GLES3.shaders.preprocesso", + "r.builtin.line_and_file_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001209, + "KHR-GLES3.shaders.preprocessor", + ".builtin.line_and_file_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_commentsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_commentsTestCase.cpp new file mode 100644 index 000000000..4862eda8f --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_commentsTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000948, + "KHR-GLES3.shaders.preprocessor.comm", + "ents.multiline_comment_define_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000949, + "KHR-GLES3.shaders.preprocessor.comme", + "nts.multiline_comment_define_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000950, + "KHR-GLES3.shaders.preprocessor", + ".comments.nested_comment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000951, + "KHR-GLES3.shaders.preprocessor.", + "comments.nested_comment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000952, + "KHR-GLES3.shaders.preprocessor.", + "comments.invalid_comment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000953, + "KHR-GLES3.shaders.preprocessor.c", + "omments.invalid_comment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000954, + "KHR-GLES3.shaders.preprocessor.com", + "ments.unterminated_comment_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000955, + "KHR-GLES3.shaders.preprocessor.comm", + "ents.unterminated_comment_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000956, + "KHR-GLES3.shaders.preprocessor.com", + "ments.unterminated_comment_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000957, + "KHR-GLES3.shaders.preprocessor.comm", + "ents.unterminated_comment_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditional_inclusionTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditional_inclusionTestCase.cpp new file mode 100644 index 000000000..882b821e5 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditional_inclusionTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001048, + "KHR-GLES3.shaders.preprocessor.co", + "nditional_inclusion.basic_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001049, + "KHR-GLES3.shaders.preprocessor.con", + "ditional_inclusion.basic_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001050, + "KHR-GLES3.shaders.preprocessor.co", + "nditional_inclusion.basic_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001051, + "KHR-GLES3.shaders.preprocessor.con", + "ditional_inclusion.basic_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001052, + "KHR-GLES3.shaders.preprocessor.co", + "nditional_inclusion.basic_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001053, + "KHR-GLES3.shaders.preprocessor.con", + "ditional_inclusion.basic_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001054, + "KHR-GLES3.shaders.preprocessor.co", + "nditional_inclusion.basic_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001055, + "KHR-GLES3.shaders.preprocessor.con", + "ditional_inclusion.basic_4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001056, + "KHR-GLES3.shaders.preprocessor.co", + "nditional_inclusion.basic_5_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001057, + "KHR-GLES3.shaders.preprocessor.con", + "ditional_inclusion.basic_5_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001058, + "KHR-GLES3.shaders.preprocessor.cond", + "itional_inclusion.expression_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001059, + "KHR-GLES3.shaders.preprocessor.condi", + "tional_inclusion.expression_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditionalsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditionalsTestCase.cpp new file mode 100644 index 000000000..a6034144b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_conditionalsTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001164, + "KHR-GLES3.shaders.preprocesso", + "r.conditionals.ifdef_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001165, + "KHR-GLES3.shaders.preprocessor", + ".conditionals.ifdef_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001166, + "KHR-GLES3.shaders.preprocesso", + "r.conditionals.ifdef_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001167, + "KHR-GLES3.shaders.preprocessor", + ".conditionals.ifdef_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001168, + "KHR-GLES3.shaders.preprocesso", + "r.conditionals.ifdef_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001169, + "KHR-GLES3.shaders.preprocessor", + ".conditionals.ifdef_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001170, + "KHR-GLES3.shaders.preprocesso", + "r.conditionals.ifndef_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001171, + "KHR-GLES3.shaders.preprocessor", + ".conditionals.ifndef_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001172, + "KHR-GLES3.shaders.preprocesso", + "r.conditionals.ifndef_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001173, + "KHR-GLES3.shaders.preprocessor", + ".conditionals.ifndef_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001174, + "KHR-GLES3.shaders.preprocessor.conditio", + "nals.mixed_conditional_inclusion_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001175, + "KHR-GLES3.shaders.preprocessor.condition", + "als.mixed_conditional_inclusion_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001176, + "KHR-GLES3.shaders.preprocessor.", + "conditionals.nested_if_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001177, + "KHR-GLES3.shaders.preprocessor.c", + "onditionals.nested_if_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001178, + "KHR-GLES3.shaders.preprocessor.", + "conditionals.nested_if_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001179, + "KHR-GLES3.shaders.preprocessor.c", + "onditionals.nested_if_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001180, + "KHR-GLES3.shaders.preprocessor.", + "conditionals.nested_if_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001181, + "KHR-GLES3.shaders.preprocessor.c", + "onditionals.nested_if_3_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_definitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_definitionsTestCase.cpp new file mode 100644 index 000000000..7ab277f15 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_definitionsTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000894, + "KHR-GLES3.shaders.preprocessor.defini", + "tions.define_value_and_function_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000895, + "KHR-GLES3.shaders.preprocessor.definit", + "ions.define_value_and_function_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000896, + "KHR-GLES3.shaders.preprocessor.definitio", + "ns.undefine_object_invalid_syntax_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000897, + "KHR-GLES3.shaders.preprocessor.definition", + "s.undefine_object_invalid_syntax_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000898, + "KHR-GLES3.shaders.preprocessor.defini", + "tions.undefine_invalid_object_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000899, + "KHR-GLES3.shaders.preprocessor.definit", + "ions.undefine_invalid_object_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000900, + "KHR-GLES3.shaders.preprocessor.defini", + "tions.undefine_invalid_object_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000901, + "KHR-GLES3.shaders.preprocessor.definit", + "ions.undefine_invalid_object_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000902, + "KHR-GLES3.shaders.preprocessor.defini", + "tions.undefine_invalid_object_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000903, + "KHR-GLES3.shaders.preprocessor.definit", + "ions.undefine_invalid_object_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000904, + "KHR-GLES3.shaders.preprocessor.defini", + "tions.undefine_invalid_object_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000905, + "KHR-GLES3.shaders.preprocessor.definit", + "ions.undefine_invalid_object_4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000906, + "KHR-GLES3.shaders.preprocessor.de", + "finitions.undefine_function_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000907, + "KHR-GLES3.shaders.preprocessor.def", + "initions.undefine_function_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_directiveTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_directiveTestCase.cpp new file mode 100644 index 000000000..6402991a1 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_directiveTestCase.cpp @@ -0,0 +1,120 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001182, + "KHR-GLES3.shaders.preprocessor.", + "directive.version_is_less_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001183, + "KHR-GLES3.shaders.preprocessor.d", + "irective.version_is_less_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001184, + "KHR-GLES3.shaders.preprocessor.", + "directive.version_is_more_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001185, + "KHR-GLES3.shaders.preprocessor.d", + "irective.version_is_more_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001186, + "KHR-GLES3.shaders.preprocessor.di", + "rective.version_missing_es_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001187, + "KHR-GLES3.shaders.preprocessor.dir", + "ective.version_missing_es_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001188, + "KHR-GLES3.shaders.preprocessor.", + "directive.version_missing_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001189, + "KHR-GLES3.shaders.preprocessor.d", + "irective.version_missing_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001190, + "KHR-GLES3.shaders.preprocessor.directi", + "ve.version_not_first_statement_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001191, + "KHR-GLES3.shaders.preprocessor.directiv", + "e.version_not_first_statement_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001192, + "KHR-GLES3.shaders.preprocessor.directi", + "ve.version_not_first_statement_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001193, + "KHR-GLES3.shaders.preprocessor.directiv", + "e.version_not_first_statement_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001194, + "KHR-GLES3.shaders.preprocessor.dire", + "ctive.version_invalid_token_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001195, + "KHR-GLES3.shaders.preprocessor.direc", + "tive.version_invalid_token_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001196, + "KHR-GLES3.shaders.preprocessor.dire", + "ctive.version_invalid_token_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001197, + "KHR-GLES3.shaders.preprocessor.direc", + "tive.version_invalid_token_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001198, + "KHR-GLES3.shaders.preprocessor.", + "directive.invalid_version_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001199, + "KHR-GLES3.shaders.preprocessor.d", + "irective.invalid_version_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001200, + "KHR-GLES3.shaders.preprocessor.d", + "irective.additional_tokens_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001201, + "KHR-GLES3.shaders.preprocessor.di", + "rective.additional_tokens_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001202, + "KHR-GLES3.shaders.preprocessor.dir", + "ective.error_with_no_tokens_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001203, + "KHR-GLES3.shaders.preprocessor.dire", + "ctive.error_with_no_tokens_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001204, + "KHR-GLES3.shaders.preproce", + "ssor.directive.error_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001205, + "KHR-GLES3.shaders.preproces", + "sor.directive.error_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_expressionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_expressionsTestCase.cpp new file mode 100644 index 000000000..2c346304e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_expressionsTestCase.cpp @@ -0,0 +1,184 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001242, + "KHR-GLES3.shaders.preprocessor", + ".expressions.shift_left_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001243, + "KHR-GLES3.shaders.preprocessor.", + "expressions.shift_left_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001244, + "KHR-GLES3.shaders.preprocessor", + ".expressions.shift_right_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001245, + "KHR-GLES3.shaders.preprocessor.", + "expressions.shift_right_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001246, + "KHR-GLES3.shaders.preprocessor.", + "expressions.cmp_less_than_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001247, + "KHR-GLES3.shaders.preprocessor.e", + "xpressions.cmp_less_than_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001248, + "KHR-GLES3.shaders.preprocessor.", + "expressions.less_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001249, + "KHR-GLES3.shaders.preprocessor.e", + "xpressions.less_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001250, + "KHR-GLES3.shaders.preproce", + "ssor.expressions.or_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001251, + "KHR-GLES3.shaders.preproces", + "sor.expressions.or_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001252, + "KHR-GLES3.shaders.preproce", + "ssor.expressions.and_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001253, + "KHR-GLES3.shaders.preproces", + "sor.expressions.and_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001254, + "KHR-GLES3.shaders.preproce", + "ssor.expressions.xor_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001255, + "KHR-GLES3.shaders.preproces", + "sor.expressions.xor_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001256, + "KHR-GLES3.shaders.preproce", + "ssor.expressions.mod_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001257, + "KHR-GLES3.shaders.preproces", + "sor.expressions.mod_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001258, + "KHR-GLES3.shaders.preprocessor.ex", + "pressions.parenthesis_value_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001259, + "KHR-GLES3.shaders.preprocessor.exp", + "ressions.parenthesis_value_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001260, + "KHR-GLES3.shaders.preprocessor.exp", + "ressions.parenthesis_tricky_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001261, + "KHR-GLES3.shaders.preprocessor.expr", + "essions.parenthesis_tricky_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001262, + "KHR-GLES3.shaders.preprocessor.ex", + "pressions.parenthesis_if_no_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001263, + "KHR-GLES3.shaders.preprocessor.exp", + "ressions.parenthesis_if_no_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001264, + "KHR-GLES3.shaders.preprocessor.e", + "xpressions.parenthesis_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001265, + "KHR-GLES3.shaders.preprocessor.ex", + "pressions.parenthesis_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001266, + "KHR-GLES3.shaders.preprocessor.expr", + "essions.parenthesis_multi_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001267, + "KHR-GLES3.shaders.preprocessor.expre", + "ssions.parenthesis_multi_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001268, + "KHR-GLES3.shaders.preprocessor.expr", + "essions.parenthesis_single_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001269, + "KHR-GLES3.shaders.preprocessor.expre", + "ssions.parenthesis_single_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001270, + "KHR-GLES3.shaders.preprocessor.expre", + "ssions.parenthesis_ifelse_true_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001271, + "KHR-GLES3.shaders.preprocessor.expres", + "sions.parenthesis_ifelse_true_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001272, + "KHR-GLES3.shaders.preprocessor.expres", + "sions.parenthesis_ifelse_false_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001273, + "KHR-GLES3.shaders.preprocessor.express", + "ions.parenthesis_ifelse_false_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001274, + "KHR-GLES3.shaders.preprocessor.", + "expressions.eval_basic_0_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001275, + "KHR-GLES3.shaders.preprocessor.e", + "xpressions.eval_basic_0_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001276, + "KHR-GLES3.shaders.preprocessor.", + "expressions.eval_basic_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001277, + "KHR-GLES3.shaders.preprocessor.e", + "xpressions.eval_basic_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001278, + "KHR-GLES3.shaders.preprocessor.expres", + "sions.eval_simple_precedence_0_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001279, + "KHR-GLES3.shaders.preprocessor.express", + "ions.eval_simple_precedence_0_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001280, + "KHR-GLES3.shaders.preprocessor.expres", + "sions.eval_simple_precedence_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001281, + "KHR-GLES3.shaders.preprocessor.express", + "ions.eval_simple_precedence_1_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_extensionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_extensionsTestCase.cpp new file mode 100644 index 000000000..61d628930 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_extensionsTestCase.cpp @@ -0,0 +1,136 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001214, + "KHR-GLES3.shaders.preproces", + "sor.extensions.basic_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001215, + "KHR-GLES3.shaders.preprocess", + "or.extensions.basic_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001216, + "KHR-GLES3.shaders.preprocesso", + "r.extensions.macro_exp_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001217, + "KHR-GLES3.shaders.preprocessor", + ".extensions.macro_exp_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001218, + "KHR-GLES3.shaders.preprocessor.exte", + "nsions.missing_extension_name_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001219, + "KHR-GLES3.shaders.preprocessor.exten", + "sions.missing_extension_name_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001220, + "KHR-GLES3.shaders.preprocessor.exte", + "nsions.invalid_extension_name_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001221, + "KHR-GLES3.shaders.preprocessor.exten", + "sions.invalid_extension_name_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001222, + "KHR-GLES3.shaders.preprocessor.", + "extensions.missing_colon_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001223, + "KHR-GLES3.shaders.preprocessor.e", + "xtensions.missing_colon_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001224, + "KHR-GLES3.shaders.preprocessor.", + "extensions.expected_colon_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001225, + "KHR-GLES3.shaders.preprocessor.e", + "xtensions.expected_colon_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001226, + "KHR-GLES3.shaders.preprocessor.e", + "xtensions.missing_behavior_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001227, + "KHR-GLES3.shaders.preprocessor.ex", + "tensions.missing_behavior_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001228, + "KHR-GLES3.shaders.preprocessor.ex", + "tensions.invalid_behavior_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001229, + "KHR-GLES3.shaders.preprocessor.ext", + "ensions.invalid_behavior_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001230, + "KHR-GLES3.shaders.preprocessor.ex", + "tensions.invalid_behavior_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001231, + "KHR-GLES3.shaders.preprocessor.ext", + "ensions.invalid_behavior_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001232, + "KHR-GLES3.shaders.preprocessor.ex", + "tensions.invalid_behavior_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001233, + "KHR-GLES3.shaders.preprocessor.ext", + "ensions.invalid_behavior_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001234, + "KHR-GLES3.shaders.preprocessor.ext", + "ensions.invalid_char_in_name_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001235, + "KHR-GLES3.shaders.preprocessor.exte", + "nsions.invalid_char_in_name_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001236, + "KHR-GLES3.shaders.preprocessor.exten", + "sions.invalid_char_in_behavior_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001237, + "KHR-GLES3.shaders.preprocessor.extens", + "ions.invalid_char_in_behavior_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001238, + "KHR-GLES3.shaders.preprocessor.ext", + "ensions.unterminated_comment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001239, + "KHR-GLES3.shaders.preprocessor.exte", + "nsions.unterminated_comment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001240, + "KHR-GLES3.shaders.preprocessor.extensio", + "ns.after_non_preprocessing_tokens_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001241, + "KHR-GLES3.shaders.preprocessor.extension", + "s.after_non_preprocessing_tokens_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_definitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_definitionsTestCase.cpp new file mode 100644 index 000000000..a5ec16a6e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_definitionsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000968, + "KHR-GLES3.shaders.preprocessor.function_defi", + "nitions.same_object_and_function_param_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000969, + "KHR-GLES3.shaders.preprocessor.function_defin", + "itions.same_object_and_function_param_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000970, + "KHR-GLES3.shaders.preprocessor.func", + "tion_definitions.complex_func_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000971, + "KHR-GLES3.shaders.preprocessor.funct", + "ion_definitions.complex_func_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000972, + "KHR-GLES3.shaders.preprocessor.function_defini", + "tions.function_definition_with_comments_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000973, + "KHR-GLES3.shaders.preprocessor.function_definit", + "ions.function_definition_with_comments_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_redefinitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_redefinitionsTestCase.cpp new file mode 100644 index 000000000..e9b31ea98 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_function_redefinitionsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000984, + "KHR-GLES3.shaders.preprocessor.function_re", + "definitions.function_redefinition_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000985, + "KHR-GLES3.shaders.preprocessor.function_red", + "efinitions.function_redefinition_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000986, + "KHR-GLES3.shaders.preprocessor.function_re", + "definitions.function_redefinition_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000987, + "KHR-GLES3.shaders.preprocessor.function_red", + "efinitions.function_redefinition_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000988, + "KHR-GLES3.shaders.preprocessor.function_re", + "definitions.function_redefinition_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000989, + "KHR-GLES3.shaders.preprocessor.function_red", + "efinitions.function_redefinition_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000990, + "KHR-GLES3.shaders.preprocessor.function_redefinit", + "ions.invalid_function_redefinition_param_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000991, + "KHR-GLES3.shaders.preprocessor.function_redefiniti", + "ons.invalid_function_redefinition_param_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000992, + "KHR-GLES3.shaders.preprocessor.function_redefinit", + "ions.invalid_function_redefinition_param_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000993, + "KHR-GLES3.shaders.preprocessor.function_redefiniti", + "ons.invalid_function_redefinition_param_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000994, + "KHR-GLES3.shaders.preprocessor.function_redefinit", + "ions.invalid_function_redefinition_param_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000995, + "KHR-GLES3.shaders.preprocessor.function_redefiniti", + "ons.invalid_function_redefinition_param_3_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_conditionalsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_conditionalsTestCase.cpp new file mode 100644 index 000000000..034286c54 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_conditionalsTestCase.cpp @@ -0,0 +1,256 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001106, + "KHR-GLES3.shaders.preprocessor.in", + "valid_conditionals.empty_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001107, + "KHR-GLES3.shaders.preprocessor.inv", + "alid_conditionals.empty_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001108, + "KHR-GLES3.shaders.preprocessor.inva", + "lid_conditionals.empty_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001109, + "KHR-GLES3.shaders.preprocessor.inval", + "id_conditionals.empty_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001110, + "KHR-GLES3.shaders.preprocessor.inva", + "lid_conditionals.empty_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001111, + "KHR-GLES3.shaders.preprocessor.inval", + "id_conditionals.empty_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001112, + "KHR-GLES3.shaders.preprocessor.inval", + "id_conditionals.invalid_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001113, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.invalid_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001114, + "KHR-GLES3.shaders.preprocessor.inval", + "id_conditionals.invalid_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001115, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.invalid_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001116, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.empty_if_defined_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001117, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.empty_if_defined_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001118, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.unterminated_if_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001119, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_if_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001120, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.unterminated_if_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001121, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_if_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001122, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.unterminated_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001123, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001124, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001125, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.unterminated_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001126, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_else_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001127, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.unterminated_else_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001128, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_else_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001129, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.unterminated_else_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001130, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_elif_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001131, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.unterminated_elif_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001132, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_elif_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001133, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.unterminated_elif_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001134, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.unterminated_elif_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001135, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.unterminated_elif_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001136, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.elif_after_else_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001137, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.elif_after_else_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001138, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.else_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001139, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.else_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001140, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.elif_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001141, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.elif_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001142, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.endif_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001143, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.endif_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001144, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.else_after_else_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001145, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.else_after_else_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001146, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.nested_elif_without_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001147, + "KHR-GLES3.shaders.preprocessor.invalid_co", + "nditionals.nested_elif_without_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001148, + "KHR-GLES3.shaders.preprocessor.in", + "valid_conditionals.if_float_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001149, + "KHR-GLES3.shaders.preprocessor.inv", + "alid_conditionals.if_float_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001150, + "KHR-GLES3.shaders.preprocessor.invali", + "d_conditionals.tokens_after_if_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001151, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.tokens_after_if_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001152, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.tokens_after_elif_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001153, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.tokens_after_elif_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001154, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.tokens_after_else_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001155, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.tokens_after_else_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001156, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.tokens_after_endif_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001157, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.tokens_after_endif_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001158, + "KHR-GLES3.shaders.preprocessor.invalid", + "_conditionals.tokens_after_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001159, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.tokens_after_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001160, + "KHR-GLES3.shaders.preprocessor.invalid_", + "conditionals.tokens_after_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001161, + "KHR-GLES3.shaders.preprocessor.invalid_c", + "onditionals.tokens_after_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001162, + "KHR-GLES3.shaders.preprocessor.invalid_con", + "ditionals.unterminated_nested_blocks_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001163, + "KHR-GLES3.shaders.preprocessor.invalid_cond", + "itionals.unterminated_nested_blocks_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_definitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_definitionsTestCase.cpp new file mode 100644 index 000000000..2367aa6d3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_definitionsTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000908, + "KHR-GLES3.shaders.preprocessor.invalid_", + "definitions.define_non_identifier_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000909, + "KHR-GLES3.shaders.preprocessor.invalid_d", + "efinitions.define_non_identifier_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000910, + "KHR-GLES3.shaders.preprocessor.invalid_d", + "efinitions.undef_non_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000911, + "KHR-GLES3.shaders.preprocessor.invalid_de", + "finitions.undef_non_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000912, + "KHR-GLES3.shaders.preprocessor.invalid_d", + "efinitions.undef_non_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000913, + "KHR-GLES3.shaders.preprocessor.invalid_de", + "finitions.undef_non_identifier_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_expressionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_expressionsTestCase.cpp new file mode 100644 index 000000000..9b2b41bd2 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_expressionsTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001282, + "KHR-GLES3.shaders.preprocessor.invalid", + "_expressions.invalid_unary_expr_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001283, + "KHR-GLES3.shaders.preprocessor.invalid_", + "expressions.invalid_unary_expr_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001284, + "KHR-GLES3.shaders.preprocessor.invalid", + "_expressions.invalid_binary_expr_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001285, + "KHR-GLES3.shaders.preprocessor.invalid_", + "expressions.invalid_binary_expr_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001286, + "KHR-GLES3.shaders.preprocessor.inva", + "lid_expressions.missing_expr_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001287, + "KHR-GLES3.shaders.preprocessor.inval", + "id_expressions.missing_expr_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001288, + "KHR-GLES3.shaders.preprocessor.inval", + "id_expressions.invalid_expr_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001289, + "KHR-GLES3.shaders.preprocessor.invali", + "d_expressions.invalid_expr_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001290, + "KHR-GLES3.shaders.preprocessor.inval", + "id_expressions.invalid_expr_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001291, + "KHR-GLES3.shaders.preprocessor.invali", + "d_expressions.invalid_expr_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001292, + "KHR-GLES3.shaders.preprocessor.inval", + "id_expressions.invalid_expr_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001293, + "KHR-GLES3.shaders.preprocessor.invali", + "d_expressions.invalid_expr_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001294, + "KHR-GLES3.shaders.preprocessor.invalid_", + "expressions.unopened_parenthesis_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001295, + "KHR-GLES3.shaders.preprocessor.invalid_e", + "xpressions.unopened_parenthesis_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001296, + "KHR-GLES3.shaders.preprocessor.invalid_", + "expressions.unclosed_parenthesis_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001297, + "KHR-GLES3.shaders.preprocessor.invalid_e", + "xpressions.unclosed_parenthesis_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_function_definitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_function_definitionsTestCase.cpp new file mode 100644 index 000000000..5be3afc61 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_function_definitionsTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000996, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000997, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000998, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000999, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001000, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001001, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001002, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001003, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001004, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_5_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001005, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_5_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001006, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_6_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001007, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_6_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001008, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_7_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001009, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_7_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001010, + "KHR-GLES3.shaders.preprocessor.invalid_", + "function_definitions.arguments_8_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001011, + "KHR-GLES3.shaders.preprocessor.invalid_f", + "unction_definitions.arguments_8_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001012, + "KHR-GLES3.shaders.preprocessor.invalid_fun", + "ction_definitions.unique_param_name_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001013, + "KHR-GLES3.shaders.preprocessor.invalid_func", + "tion_definitions.unique_param_name_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001014, + "KHR-GLES3.shaders.preprocessor.invalid_fu", + "nction_definitions.argument_list_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001015, + "KHR-GLES3.shaders.preprocessor.invalid_fun", + "ction_definitions.argument_list_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001016, + "KHR-GLES3.shaders.preprocessor.invalid_fu", + "nction_definitions.argument_list_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001017, + "KHR-GLES3.shaders.preprocessor.invalid_fun", + "ction_definitions.argument_list_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001018, + "KHR-GLES3.shaders.preprocessor.invalid_fu", + "nction_definitions.argument_list_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001019, + "KHR-GLES3.shaders.preprocessor.invalid_fun", + "ction_definitions.argument_list_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001020, + "KHR-GLES3.shaders.preprocessor.invalid_functi", + "on_definitions.no_closing_parenthesis_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001021, + "KHR-GLES3.shaders.preprocessor.invalid_functio", + "n_definitions.no_closing_parenthesis_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001022, + "KHR-GLES3.shaders.preprocessor.invalid_functi", + "on_definitions.no_closing_parenthesis_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001023, + "KHR-GLES3.shaders.preprocessor.invalid_functio", + "n_definitions.no_closing_parenthesis_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001024, + "KHR-GLES3.shaders.preprocessor.invalid_functi", + "on_definitions.no_closing_parenthesis_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001025, + "KHR-GLES3.shaders.preprocessor.invalid_functio", + "n_definitions.no_closing_parenthesis_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001026, + "KHR-GLES3.shaders.preprocessor.invalid_functi", + "on_definitions.no_closing_parenthesis_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001027, + "KHR-GLES3.shaders.preprocessor.invalid_functio", + "n_definitions.no_closing_parenthesis_4_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_opsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_opsTestCase.cpp new file mode 100644 index 000000000..a28709e15 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_opsTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001060, + "KHR-GLES3.shaders.preprocessor.", + "invalid_ops.invalid_op_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001061, + "KHR-GLES3.shaders.preprocessor.i", + "nvalid_ops.invalid_op_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001062, + "KHR-GLES3.shaders.preprocessor.", + "invalid_ops.invalid_op_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001063, + "KHR-GLES3.shaders.preprocessor.i", + "nvalid_ops.invalid_op_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001064, + "KHR-GLES3.shaders.preprocessor.invalid_ops.", + "invalid_defined_expected_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001065, + "KHR-GLES3.shaders.preprocessor.invalid_ops.i", + "nvalid_defined_expected_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001066, + "KHR-GLES3.shaders.preprocessor.invalid_ops.", + "invalid_defined_expected_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001067, + "KHR-GLES3.shaders.preprocessor.invalid_ops.i", + "nvalid_defined_expected_identifier_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001068, + "KHR-GLES3.shaders.preprocessor.invalid_ops.", + "invalid_defined_expected_identifier_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001069, + "KHR-GLES3.shaders.preprocessor.invalid_ops.i", + "nvalid_defined_expected_identifier_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001070, + "KHR-GLES3.shaders.preprocessor.invalid_ops.", + "invalid_defined_expected_identifier_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001071, + "KHR-GLES3.shaders.preprocessor.invalid_ops.i", + "nvalid_defined_expected_identifier_4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001072, + "KHR-GLES3.shaders.preprocessor.invalid_ops.", + "invalid_defined_expected_identifier_5_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001073, + "KHR-GLES3.shaders.preprocessor.invalid_ops.i", + "nvalid_defined_expected_identifier_5_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001074, + "KHR-GLES3.shaders.preprocessor.invalid_o", + "ps.invalid_defined_expected_rparen_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001075, + "KHR-GLES3.shaders.preprocessor.invalid_op", + "s.invalid_defined_expected_rparen_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001076, + "KHR-GLES3.shaders.preprocessor.i", + "nvalid_ops.defined_define_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001077, + "KHR-GLES3.shaders.preprocessor.in", + "valid_ops.defined_define_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_redefinitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_redefinitionsTestCase.cpp new file mode 100644 index 000000000..39e38a559 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_invalid_redefinitionsTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000944, + "KHR-GLES3.shaders.preprocessor.invalid_r", + "edefinitions.invalid_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000945, + "KHR-GLES3.shaders.preprocessor.invalid_re", + "definitions.invalid_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000946, + "KHR-GLES3.shaders.preprocessor.invalid_r", + "edefinitions.invalid_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000947, + "KHR-GLES3.shaders.preprocessor.invalid_re", + "definitions.invalid_identifier_2_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_line_continuationTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_line_continuationTestCase.cpp new file mode 100644 index 000000000..d5740c6d1 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_line_continuationTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000958, + "KHR-GLES3.shaders.preprocessor.", + "line_continuation.comment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000959, + "KHR-GLES3.shaders.preprocessor.l", + "ine_continuation.comment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000960, + "KHR-GLES3.shaders.preprocessor.", + "line_continuation.define_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000961, + "KHR-GLES3.shaders.preprocessor.l", + "ine_continuation.define_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000962, + "KHR-GLES3.shaders.preprocessor.line_c", + "ontinuation.preprocessing_token_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000963, + "KHR-GLES3.shaders.preprocessor.line_co", + "ntinuation.preprocessing_token_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000964, + "KHR-GLES3.shaders.preprocessor", + ".line_continuation.token_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000965, + "KHR-GLES3.shaders.preprocessor.", + "line_continuation.token_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000966, + "KHR-GLES3.shaders.preprocessor.line", + "_continuation.middle_of_line_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000967, + "KHR-GLES3.shaders.preprocessor.line_", + "continuation.middle_of_line_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_object_redefinitionsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_object_redefinitionsTestCase.cpp new file mode 100644 index 000000000..7ad60a60d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_object_redefinitionsTestCase.cpp @@ -0,0 +1,144 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000914, + "KHR-GLES3.shaders.preprocessor.object_r", + "edefinitions.invalid_object_ident_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000915, + "KHR-GLES3.shaders.preprocessor.object_re", + "definitions.invalid_object_ident_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000916, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.invalid_object_whitespace_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000917, + "KHR-GLES3.shaders.preprocessor.object_redef", + "initions.invalid_object_whitespace_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000918, + "KHR-GLES3.shaders.preprocessor.object_", + "redefinitions.invalid_object_op_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000919, + "KHR-GLES3.shaders.preprocessor.object_r", + "edefinitions.invalid_object_op_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000920, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.invalid_object_floatval_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000921, + "KHR-GLES3.shaders.preprocessor.object_redef", + "initions.invalid_object_floatval_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000922, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.invalid_object_floatval_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000923, + "KHR-GLES3.shaders.preprocessor.object_redef", + "initions.invalid_object_floatval_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000924, + "KHR-GLES3.shaders.preprocessor.object_red", + "efinitions.invalid_object_intval_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000925, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.invalid_object_intval_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000926, + "KHR-GLES3.shaders.preprocessor.object_red", + "efinitions.invalid_object_intval_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000927, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.invalid_object_intval_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000928, + "KHR-GLES3.shaders.preprocessor.object_", + "redefinitions.redefine_object_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000929, + "KHR-GLES3.shaders.preprocessor.object_r", + "edefinitions.redefine_object_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000930, + "KHR-GLES3.shaders.preprocessor.object_re", + "definitions.redefine_object_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000931, + "KHR-GLES3.shaders.preprocessor.object_red", + "efinitions.redefine_object_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000932, + "KHR-GLES3.shaders.preprocessor.object_redef", + "initions.redefine_object_undef_ifdef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000933, + "KHR-GLES3.shaders.preprocessor.object_redefi", + "nitions.redefine_object_undef_ifdef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000934, + "KHR-GLES3.shaders.preprocessor.object_re", + "definitions.redefine_object_ifndef_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000935, + "KHR-GLES3.shaders.preprocessor.object_red", + "efinitions.redefine_object_ifndef_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000936, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.redefine_object_defined_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000937, + "KHR-GLES3.shaders.preprocessor.object_redef", + "initions.redefine_object_defined_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000938, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.redefine_object_defined_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000939, + "KHR-GLES3.shaders.preprocessor.object_redef", + "initions.redefine_object_defined_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000940, + "KHR-GLES3.shaders.preprocessor.object_red", + "efinitions.redefine_object_comment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000941, + "KHR-GLES3.shaders.preprocessor.object_rede", + "finitions.redefine_object_comment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000942, + "KHR-GLES3.shaders.preprocessor.object_redefini", + "tions.redefine_object_multiline_comment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000943, + "KHR-GLES3.shaders.preprocessor.object_redefinit", + "ions.redefine_object_multiline_comment_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_operator_precedenceTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_operator_precedenceTestCase.cpp new file mode 100644 index 000000000..b562bfe26 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_operator_precedenceTestCase.cpp @@ -0,0 +1,384 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001298, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.modulo_vs_not_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001299, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.modulo_vs_not_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001300, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.div_vs_not_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001301, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.div_vs_not_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001302, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.mul_vs_not_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001303, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.mul_vs_not_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001304, + "KHR-GLES3.shaders.preprocessor.operator", + "_precedence.modulo_vs_bit_invert_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001305, + "KHR-GLES3.shaders.preprocessor.operator_", + "precedence.modulo_vs_bit_invert_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001306, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.modulo_vs_minus_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001307, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.modulo_vs_minus_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001308, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.modulo_vs_plus_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001309, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.modulo_vs_plus_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001310, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.div_vs_bit_invert_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001311, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.div_vs_bit_invert_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001312, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.div_vs_minus_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001313, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.div_vs_minus_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001314, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.div_vs_plus_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001315, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.div_vs_plus_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001316, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.mul_vs_bit_invert_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001317, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.mul_vs_bit_invert_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001318, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.mul_vs_minus_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001319, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.mul_vs_minus_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001320, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.mul_vs_plus_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001321, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.mul_vs_plus_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001322, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.sub_vs_modulo_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001323, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.sub_vs_modulo_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001324, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.sub_vs_div_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001325, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.sub_vs_div_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001326, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.sub_vs_mul_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001327, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.sub_vs_mul_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001328, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.add_vs_modulo_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001329, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.add_vs_modulo_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001330, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.add_vs_div_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001331, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.add_vs_div_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001332, + "KHR-GLES3.shaders.preprocessor.ope", + "rator_precedence.add_vs_mul_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001333, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.add_vs_mul_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001334, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.rshift_vs_sub_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001335, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.rshift_vs_sub_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001336, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.rshift_vs_add_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001337, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.rshift_vs_add_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001338, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.lshift_vs_sub_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001339, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.lshift_vs_sub_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001340, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.lshift_vs_add_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001341, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.lshift_vs_add_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001342, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.greater_or_equal_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001343, + "KHR-GLES3.shaders.preprocessor.operator_pre", + "cedence.greater_or_equal_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001344, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.greater_or_equal_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001345, + "KHR-GLES3.shaders.preprocessor.operator_pre", + "cedence.greater_or_equal_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001346, + "KHR-GLES3.shaders.preprocessor.operator_", + "precedence.less_or_equal_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001347, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.less_or_equal_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001348, + "KHR-GLES3.shaders.preprocessor.operator_", + "precedence.less_or_equal_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001349, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.less_or_equal_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001350, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.greater_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001351, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.greater_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001352, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.greater_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001353, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.greater_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001354, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.less_vs_rshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001355, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.less_vs_rshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001356, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.less_vs_lshift_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001357, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.less_vs_lshift_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001358, + "KHR-GLES3.shaders.preprocessor.operator_pre", + "cedence.not_equal_vs_greater_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001359, + "KHR-GLES3.shaders.preprocessor.operator_prec", + "edence.not_equal_vs_greater_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001360, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.not_equal_vs_less_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001361, + "KHR-GLES3.shaders.preprocessor.operator_pre", + "cedence.not_equal_vs_less_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001362, + "KHR-GLES3.shaders.preprocessor.operator", + "_precedence.not_equal_vs_greater_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001363, + "KHR-GLES3.shaders.preprocessor.operator_", + "precedence.not_equal_vs_greater_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001364, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.not_equal_vs_less_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001365, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.not_equal_vs_less_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001366, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.equal_vs_greater_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001367, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.equal_vs_greater_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001368, + "KHR-GLES3.shaders.preprocessor.operator_", + "precedence.equal_vs_less_or_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001369, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.equal_vs_less_or_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001370, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.equal_vs_greater_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001371, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.equal_vs_greater_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001372, + "KHR-GLES3.shaders.preprocessor.oper", + "ator_precedence.equal_vs_less_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001373, + "KHR-GLES3.shaders.preprocessor.opera", + "tor_precedence.equal_vs_less_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001374, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.bitwise_and_vs_not_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001375, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.bitwise_and_vs_not_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001376, + "KHR-GLES3.shaders.preprocessor.operator", + "_precedence.bitwise_and_vs_equal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001377, + "KHR-GLES3.shaders.preprocessor.operator_", + "precedence.bitwise_and_vs_equal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001378, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.xor_vs_bitwise_and_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001379, + "KHR-GLES3.shaders.preprocessor.operator", + "_precedence.xor_vs_bitwise_and_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001380, + "KHR-GLES3.shaders.preprocessor.operat", + "or_precedence.bitwise_or_vs_xor_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001381, + "KHR-GLES3.shaders.preprocessor.operato", + "r_precedence.bitwise_or_vs_xor_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001382, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.logical_and_vs_bitwise_or_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001383, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.logical_and_vs_bitwise_or_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001384, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.logical_and_vs_bitwise_and_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001385, + "KHR-GLES3.shaders.preprocessor.operator_pre", + "cedence.logical_and_vs_bitwise_and_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001386, + "KHR-GLES3.shaders.preprocessor.operator_p", + "recedence.logical_or_vs_logical_and_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001387, + "KHR-GLES3.shaders.preprocessor.operator_pr", + "ecedence.logical_or_vs_logical_and_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_pragmasTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_pragmasTestCase.cpp new file mode 100644 index 000000000..736eaacce --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_pragmasTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001210, + "KHR-GLES3.shaders.preproce", + "ssor.pragmas.pragma_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001211, + "KHR-GLES3.shaders.preproces", + "sor.pragmas.pragma_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001212, + "KHR-GLES3.shaders.preprocessor.", + "pragmas.pragma_macro_exp_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001213, + "KHR-GLES3.shaders.preprocessor.p", + "ragmas.pragma_macro_exp_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp new file mode 100644 index 000000000..aa4da81eb --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_predefined_macrosTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001032, + "KHR-GLES3.shaders.preprocessor.", + "predefined_macros.version_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001033, + "KHR-GLES3.shaders.preprocessor.p", + "redefined_macros.version_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001034, + "KHR-GLES3.shaders.preprocessor.", + "predefined_macros.gl_es_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001035, + "KHR-GLES3.shaders.preprocessor.p", + "redefined_macros.gl_es_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001036, + "KHR-GLES3.shaders.preprocessor.", + "predefined_macros.gl_es_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001037, + "KHR-GLES3.shaders.preprocessor.p", + "redefined_macros.gl_es_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001038, + "KHR-GLES3.shaders.preprocessor.", + "predefined_macros.line_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001039, + "KHR-GLES3.shaders.preprocessor.p", + "redefined_macros.line_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001040, + "KHR-GLES3.shaders.preprocessor", + ".predefined_macros.file_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001041, + "KHR-GLES3.shaders.preprocessor.", + "predefined_macros.file_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001042, + "KHR-GLES3.shaders.preprocessor.p", + "redefined_macros.if_gl_es_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001043, + "KHR-GLES3.shaders.preprocessor.pr", + "edefined_macros.if_gl_es_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001044, + "KHR-GLES3.shaders.preprocessor.pr", + "edefined_macros.if_version_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001045, + "KHR-GLES3.shaders.preprocessor.pre", + "defined_macros.if_version_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001046, + "KHR-GLES3.shaders.preprocessor.predefi", + "ned_macros.invalid_token_pasting_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001047, + "KHR-GLES3.shaders.preprocessor.predefin", + "ed_macros.invalid_token_pasting_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_recursionTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_recursionTestCase.cpp new file mode 100644 index 000000000..a54c461f8 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_recursionTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000974, + "KHR-GLES3.shaders.preprocesso", + "r.recursion.recursion_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000975, + "KHR-GLES3.shaders.preprocessor", + ".recursion.recursion_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000976, + "KHR-GLES3.shaders.preprocesso", + "r.recursion.recursion_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000977, + "KHR-GLES3.shaders.preprocessor", + ".recursion.recursion_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000978, + "KHR-GLES3.shaders.preprocesso", + "r.recursion.recursion_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000979, + "KHR-GLES3.shaders.preprocessor", + ".recursion.recursion_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000980, + "KHR-GLES3.shaders.preprocesso", + "r.recursion.recursion_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000981, + "KHR-GLES3.shaders.preprocessor", + ".recursion.recursion_4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000982, + "KHR-GLES3.shaders.preprocesso", + "r.recursion.recursion_5_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000983, + "KHR-GLES3.shaders.preprocessor", + ".recursion.recursion_5_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_semanticTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_semanticTestCase.cpp new file mode 100644 index 000000000..c97181c45 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_semanticTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001028, + "KHR-GLES3.shaders.preprocessor.", + "semantic.ops_as_arguments_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001029, + "KHR-GLES3.shaders.preprocessor.s", + "emantic.ops_as_arguments_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001030, + "KHR-GLES3.shaders.preprocessor", + ".semantic.correct_order_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001031, + "KHR-GLES3.shaders.preprocessor.", + "semantic.correct_order_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_undefined_identifiersTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_undefined_identifiersTestCase.cpp new file mode 100644 index 000000000..5fcd5b2cb --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3preprocessor_undefined_identifiersTestCase.cpp @@ -0,0 +1,136 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001078, + "KHR-GLES3.shaders.preprocessor.undefined_ide", + "ntifiers.valid_undefined_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001079, + "KHR-GLES3.shaders.preprocessor.undefined_iden", + "tifiers.valid_undefined_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001080, + "KHR-GLES3.shaders.preprocessor.undefined_ide", + "ntifiers.valid_undefined_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001081, + "KHR-GLES3.shaders.preprocessor.undefined_iden", + "tifiers.valid_undefined_identifier_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001082, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001083, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001084, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001085, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001086, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_3_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001087, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_3_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001088, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_4_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001089, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_4_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001090, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_5_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001091, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_5_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001092, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_6_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001093, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_6_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001094, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_7_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001095, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_7_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001096, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_8_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001097, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_8_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001098, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_9_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001099, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_9_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001100, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_10_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001101, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_10_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001102, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_11_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001103, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_11_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001104, + "KHR-GLES3.shaders.preprocessor.undefined_", + "identifiers.undefined_identifier_12_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001105, + "KHR-GLES3.shaders.preprocessor.undefined_i", + "dentifiers.undefined_identifier_12_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_per_block_buffersTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_per_block_buffersTestCase.cpp new file mode 100644 index 000000000..cc423163e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_per_block_buffersTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002263, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002264, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002265, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002266, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002267, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002268, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002269, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002270, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002271, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002272, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.9"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002273, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.10"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002274, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.11"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002275, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.12"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002276, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.13"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002277, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.14"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002278, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.15"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002279, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.16"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002280, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.17"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002281, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.18"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002282, + "KHR-GLES3.shaders.uniform_block", + ".random.all_per_block_buffers.19"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_shared_bufferTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_shared_bufferTestCase.cpp new file mode 100644 index 000000000..c5a734f49 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_all_shared_bufferTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002283, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002284, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002285, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002286, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002287, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002288, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002289, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002290, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002291, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002292, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.9"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002293, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.10"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002294, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.11"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002295, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.12"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002296, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.13"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002297, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.14"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002298, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.15"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002299, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.16"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002300, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.17"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002301, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.18"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002302, + "KHR-GLES3.shaders.uniform_blo", + "ck.random.all_shared_buffer.19"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_arraysTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_arraysTestCase.cpp new file mode 100644 index 000000000..c6f1a31e2 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_arraysTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002203, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002204, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002205, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002206, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002207, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002208, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002209, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002210, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002211, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002212, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_arrays.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_instance_arraysTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_instance_arraysTestCase.cpp new file mode 100644 index 000000000..66a229153 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_instance_arraysTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002213, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002214, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002215, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002216, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002217, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002218, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002219, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002220, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002221, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002222, + "KHR-GLES3.shaders.uniform_block", + ".random.basic_instance_arrays.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_typesTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_typesTestCase.cpp new file mode 100644 index 000000000..a7ffbdce2 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_basic_typesTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002193, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002194, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002195, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002196, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002197, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002198, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002199, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002200, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002201, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002202, + "KHR-GLES3.shaders.uniform_", + "block.random.basic_types.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structsTestCase.cpp new file mode 100644 index 000000000..6232ae2e5 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structsTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002223, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002224, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002225, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002226, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002227, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002228, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002229, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002230, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002231, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002232, + "KHR-GLES3.shaders.uniform_b", + "lock.random.nested_structs.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arraysTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arraysTestCase.cpp new file mode 100644 index 000000000..d698e9ba3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arraysTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002233, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002234, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002235, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002236, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002237, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002238, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002239, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002240, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002241, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002242, + "KHR-GLES3.shaders.uniform_block", + ".random.nested_structs_arrays.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arrays_instance_arraysTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arrays_instance_arraysTestCase.cpp new file mode 100644 index 000000000..1eef0c908 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_arrays_instance_arraysTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002253, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002254, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002255, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002256, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002257, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002258, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002259, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002260, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002261, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002262, + "KHR-GLES3.shaders.uniform_block.random.", + "nested_structs_arrays_instance_arrays.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_instance_arraysTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_instance_arraysTestCase.cpp new file mode 100644 index 000000000..617775a27 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_nested_structs_instance_arraysTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002243, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002244, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002245, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002246, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002247, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002248, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002249, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002250, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002251, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002252, + "KHR-GLES3.shaders.uniform_block.ran", + "dom.nested_structs_instance_arrays.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_scalar_typesTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_scalar_typesTestCase.cpp new file mode 100644 index 000000000..754f947a3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_scalar_typesTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002173, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002174, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002175, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002176, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002177, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002178, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002179, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002180, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002181, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002182, + "KHR-GLES3.shaders.uniform_", + "block.random.scalar_types.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_vector_typesTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_vector_typesTestCase.cpp new file mode 100644 index 000000000..bb2233319 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3random_vector_typesTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002183, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.0"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002184, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.1"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002185, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.2"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002186, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.3"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002187, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002188, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.5"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002189, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.6"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002190, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.7"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002191, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.8"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002192, + "KHR-GLES3.shaders.uniform_", + "block.random.vector_types.9"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_aggressive_optimizationsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_aggressive_optimizationsTestCase.cpp new file mode 100644 index 000000000..4e4b8dd8b --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_aggressive_optimizationsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002962, + "KHR-GLES3.shaders.aggressive", + "_optimizations.sin_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002963, + "KHR-GLES3.shaders.aggressive", + "_optimizations.sin_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002964, + "KHR-GLES3.shaders.aggressive", + "_optimizations.sin_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002965, + "KHR-GLES3.shaders.aggressive", + "_optimizations.sin_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002966, + "KHR-GLES3.shaders.aggressive", + "_optimizations.sin_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002967, + "KHR-GLES3.shaders.aggressive", + "_optimizations.sin_vec3_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002968, + "KHR-GLES3.shaders.aggressive", + "_optimizations.cos_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002969, + "KHR-GLES3.shaders.aggressive", + "_optimizations.cos_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002970, + "KHR-GLES3.shaders.aggressive", + "_optimizations.cos_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002971, + "KHR-GLES3.shaders.aggressive", + "_optimizations.cos_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002972, + "KHR-GLES3.shaders.aggressive", + "_optimizations.cos_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002973, + "KHR-GLES3.shaders.aggressive", + "_optimizations.cos_vec3_frag"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp new file mode 100644 index 000000000..46fcb505d --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_glsl_constructorsTestCase.cpp @@ -0,0 +1,2616 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002305, + "KHR-GLES3.shaders.glsl_con", + "structors.vec2_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002306, + "KHR-GLES3.shaders.glsl_con", + "structors.vec2_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002307, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec2_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002308, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec2_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002309, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002310, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002311, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002312, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002313, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002314, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002315, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002316, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002317, + "KHR-GLES3.shaders.glsl_con", + "structors.vec2_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002318, + "KHR-GLES3.shaders.glsl_con", + "structors.vec2_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002319, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec2_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002320, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec2_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002321, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002322, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002323, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002324, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002325, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002326, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002327, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002328, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002329, + "KHR-GLES3.shaders.glsl_con", + "structors.vec2_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002330, + "KHR-GLES3.shaders.glsl_con", + "structors.vec2_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002331, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec2_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002332, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec2_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002333, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002334, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002335, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002336, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002337, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002338, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec2_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002339, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002340, + "KHR-GLES3.shaders.glsl_constructors", + ".vec2_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002341, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec2_from_float_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002342, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec2_from_float_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002343, + "KHR-GLES3.shaders.glsl_constructors.", + "vec2_from_float_mat2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002344, + "KHR-GLES3.shaders.glsl_constructors.", + "vec2_from_float_mat2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002345, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002346, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002347, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat2x3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002348, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat2x3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002349, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002350, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002351, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat2x4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002352, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat2x4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002353, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec2_from_float_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002354, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec2_from_float_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002355, + "KHR-GLES3.shaders.glsl_constructors.", + "vec2_from_float_mat3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002356, + "KHR-GLES3.shaders.glsl_constructors.", + "vec2_from_float_mat3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002357, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002358, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002359, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat3x2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002360, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat3x2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002361, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002362, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002363, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat3x4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002364, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat3x4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002365, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec2_from_float_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002366, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec2_from_float_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002367, + "KHR-GLES3.shaders.glsl_constructors.", + "vec2_from_float_mat4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002368, + "KHR-GLES3.shaders.glsl_constructors.", + "vec2_from_float_mat4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002369, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002370, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002371, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat4x2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002372, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat4x2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002373, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002374, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec2_from_float_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002375, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat4x3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002376, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec2_from_float_mat4x3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002377, + "KHR-GLES3.shaders.glsl_con", + "structors.vec3_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002378, + "KHR-GLES3.shaders.glsl_con", + "structors.vec3_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002379, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec3_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002380, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec3_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002381, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002382, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002383, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002384, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002385, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002386, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002387, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002388, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002389, + "KHR-GLES3.shaders.glsl_con", + "structors.vec3_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002390, + "KHR-GLES3.shaders.glsl_con", + "structors.vec3_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002391, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec3_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002392, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec3_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002393, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002394, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002395, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002396, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002397, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002398, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002399, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002400, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002401, + "KHR-GLES3.shaders.glsl_con", + "structors.vec3_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002402, + "KHR-GLES3.shaders.glsl_con", + "structors.vec3_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002403, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec3_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002404, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec3_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002405, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002406, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002407, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002408, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002409, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002410, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec3_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002411, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002412, + "KHR-GLES3.shaders.glsl_constructors", + ".vec3_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002413, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec3_from_float_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002414, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec3_from_float_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002415, + "KHR-GLES3.shaders.glsl_constructors.", + "vec3_from_float_mat2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002416, + "KHR-GLES3.shaders.glsl_constructors.", + "vec3_from_float_mat2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002417, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002418, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002419, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat2x3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002420, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat2x3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002421, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002422, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002423, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat2x4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002424, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat2x4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002425, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec3_from_float_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002426, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec3_from_float_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002427, + "KHR-GLES3.shaders.glsl_constructors.", + "vec3_from_float_mat3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002428, + "KHR-GLES3.shaders.glsl_constructors.", + "vec3_from_float_mat3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002429, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002430, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002431, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat3x2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002432, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat3x2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002433, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002434, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002435, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat3x4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002436, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat3x4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002437, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec3_from_float_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002438, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec3_from_float_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002439, + "KHR-GLES3.shaders.glsl_constructors.", + "vec3_from_float_mat4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002440, + "KHR-GLES3.shaders.glsl_constructors.", + "vec3_from_float_mat4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002441, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002442, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002443, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat4x2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002444, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat4x2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002445, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002446, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec3_from_float_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002447, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat4x3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002448, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec3_from_float_mat4x3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002449, + "KHR-GLES3.shaders.glsl_con", + "structors.vec4_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002450, + "KHR-GLES3.shaders.glsl_con", + "structors.vec4_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002451, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec4_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002452, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec4_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002453, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002454, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002455, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002456, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002457, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002458, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002459, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002460, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002461, + "KHR-GLES3.shaders.glsl_con", + "structors.vec4_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002462, + "KHR-GLES3.shaders.glsl_con", + "structors.vec4_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002463, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec4_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002464, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec4_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002465, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002466, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002467, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002468, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002469, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002470, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002471, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002472, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002473, + "KHR-GLES3.shaders.glsl_con", + "structors.vec4_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002474, + "KHR-GLES3.shaders.glsl_con", + "structors.vec4_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002475, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec4_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002476, + "KHR-GLES3.shaders.glsl_constructo", + "rs.vec4_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002477, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002478, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002479, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002480, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002481, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002482, + "KHR-GLES3.shaders.glsl_cons", + "tructors.vec4_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002483, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002484, + "KHR-GLES3.shaders.glsl_constructors", + ".vec4_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002485, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec4_from_float_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002486, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec4_from_float_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002487, + "KHR-GLES3.shaders.glsl_constructors.", + "vec4_from_float_mat2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002488, + "KHR-GLES3.shaders.glsl_constructors.", + "vec4_from_float_mat2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002489, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002490, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002491, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat2x3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002492, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat2x3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002493, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002494, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002495, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat2x4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002496, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat2x4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002497, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec4_from_float_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002498, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec4_from_float_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002499, + "KHR-GLES3.shaders.glsl_constructors.", + "vec4_from_float_mat3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002500, + "KHR-GLES3.shaders.glsl_constructors.", + "vec4_from_float_mat3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002501, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002502, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002503, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat3x2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002504, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat3x2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002505, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002506, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002507, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat3x4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002508, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat3x4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002509, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec4_from_float_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002510, + "KHR-GLES3.shaders.glsl_constr", + "uctors.vec4_from_float_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002511, + "KHR-GLES3.shaders.glsl_constructors.", + "vec4_from_float_mat4_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002512, + "KHR-GLES3.shaders.glsl_constructors.", + "vec4_from_float_mat4_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002513, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002514, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002515, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat4x2_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002516, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat4x2_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002517, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002518, + "KHR-GLES3.shaders.glsl_constru", + "ctors.vec4_from_float_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002519, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat4x3_float_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002520, + "KHR-GLES3.shaders.glsl_constructors.v", + "ec4_from_float_mat4x3_float_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002521, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec2_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002522, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec2_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002523, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec2_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002524, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec2_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002525, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002526, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002527, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002528, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002529, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002530, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002531, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002532, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002533, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec2_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002534, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec2_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002535, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec2_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002536, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec2_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002537, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002538, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002539, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002540, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002541, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002542, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002543, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002544, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002545, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec2_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002546, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec2_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002547, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec2_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002548, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec2_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002549, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002550, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002551, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002552, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002553, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002554, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec2_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002555, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002556, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002557, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec2_from_int_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002558, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec2_from_int_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002559, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_int_mat2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002560, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_int_mat2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002561, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002562, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002563, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat2x3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002564, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat2x3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002565, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002566, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002567, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat2x4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002568, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat2x4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002569, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec2_from_int_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002570, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec2_from_int_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002571, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_int_mat3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002572, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_int_mat3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002573, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002574, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002575, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat3x2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002576, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat3x2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002577, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002578, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002579, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat3x4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002580, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat3x4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002581, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec2_from_int_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002582, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec2_from_int_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002583, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_int_mat4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002584, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec2_from_int_mat4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002585, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002586, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002587, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat4x2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002588, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat4x2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002589, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002590, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec2_from_int_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002591, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat4x3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002592, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec2_from_int_mat4x3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002593, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec3_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002594, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec3_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002595, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec3_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002596, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec3_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002597, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002598, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002599, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002600, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002601, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002602, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002603, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002604, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002605, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec3_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002606, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec3_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002607, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec3_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002608, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec3_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002609, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002610, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002611, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002612, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002613, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002614, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002615, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002616, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002617, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec3_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002618, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec3_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002619, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec3_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002620, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec3_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002621, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002622, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002623, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002624, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002625, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002626, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec3_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002627, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002628, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002629, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec3_from_int_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002630, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec3_from_int_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002631, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_int_mat2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002632, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_int_mat2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002633, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002634, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002635, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat2x3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002636, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat2x3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002637, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002638, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002639, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat2x4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002640, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat2x4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002641, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec3_from_int_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002642, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec3_from_int_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002643, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_int_mat3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002644, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_int_mat3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002645, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002646, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002647, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat3x2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002648, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat3x2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002649, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002650, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002651, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat3x4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002652, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat3x4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002653, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec3_from_int_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002654, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec3_from_int_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002655, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_int_mat4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002656, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec3_from_int_mat4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002657, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002658, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002659, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat4x2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002660, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat4x2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002661, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002662, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec3_from_int_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002663, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat4x3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002664, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec3_from_int_mat4x3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002665, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec4_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002666, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec4_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002667, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec4_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002668, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec4_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002669, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002670, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002671, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002672, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002673, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002674, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002675, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002676, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002677, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec4_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002678, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec4_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002679, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec4_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002680, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec4_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002681, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002682, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002683, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002684, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002685, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002686, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002687, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002688, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002689, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec4_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002690, + "KHR-GLES3.shaders.glsl_cons", + "tructors.ivec4_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002691, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec4_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002692, + "KHR-GLES3.shaders.glsl_constructo", + "rs.ivec4_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002693, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002694, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002695, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002696, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002697, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002698, + "KHR-GLES3.shaders.glsl_const", + "ructors.ivec4_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002699, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002700, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002701, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec4_from_int_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002702, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec4_from_int_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002703, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_int_mat2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002704, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_int_mat2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002705, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002706, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002707, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat2x3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002708, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat2x3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002709, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002710, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002711, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat2x4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002712, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat2x4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002713, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec4_from_int_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002714, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec4_from_int_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002715, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_int_mat3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002716, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_int_mat3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002717, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002718, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002719, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat3x2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002720, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat3x2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002721, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002722, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002723, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat3x4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002724, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat3x4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002725, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec4_from_int_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002726, + "KHR-GLES3.shaders.glsl_constr", + "uctors.ivec4_from_int_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002727, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_int_mat4_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002728, + "KHR-GLES3.shaders.glsl_constructors", + ".ivec4_from_int_mat4_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002729, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002730, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002731, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat4x2_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002732, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat4x2_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002733, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002734, + "KHR-GLES3.shaders.glsl_constru", + "ctors.ivec4_from_int_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002735, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat4x3_int_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002736, + "KHR-GLES3.shaders.glsl_constructors.", + "ivec4_from_int_mat4x3_int_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002737, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec2_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002738, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec2_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002739, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec2_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002740, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec2_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002741, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002742, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002743, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002744, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002745, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002746, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002747, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002748, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002749, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec2_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002750, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec2_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002751, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec2_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002752, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec2_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002753, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002754, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002755, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002756, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002757, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002758, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002759, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002760, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002761, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec2_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002762, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec2_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002763, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec2_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002764, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec2_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002765, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002766, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002767, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002768, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002769, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002770, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec2_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002771, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002772, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec2_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002773, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec2_from_bool_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002774, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec2_from_bool_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002775, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec2_from_bool_mat2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002776, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec2_from_bool_mat2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002777, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002778, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002779, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat2x3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002780, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat2x3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002781, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002782, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002783, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat2x4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002784, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat2x4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002785, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec2_from_bool_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002786, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec2_from_bool_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002787, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec2_from_bool_mat3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002788, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec2_from_bool_mat3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002789, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002790, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002791, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat3x2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002792, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat3x2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002793, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002794, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002795, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat3x4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002796, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat3x4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002797, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec2_from_bool_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002798, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec2_from_bool_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002799, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec2_from_bool_mat4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002800, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec2_from_bool_mat4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002801, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002802, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002803, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat4x2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002804, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat4x2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002805, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002806, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec2_from_bool_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002807, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat4x3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002808, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec2_from_bool_mat4x3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002809, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec3_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002810, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec3_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002811, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec3_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002812, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec3_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002813, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002814, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002815, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002816, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002817, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002818, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002819, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002820, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002821, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec3_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002822, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec3_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002823, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec3_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002824, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec3_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002825, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002826, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002827, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002828, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002829, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002830, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002831, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002832, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002833, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec3_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002834, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec3_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002835, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec3_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002836, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec3_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002837, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002838, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002839, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002840, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002841, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002842, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec3_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002843, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002844, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec3_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002845, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec3_from_bool_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002846, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec3_from_bool_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002847, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec3_from_bool_mat2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002848, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec3_from_bool_mat2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002849, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002850, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002851, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat2x3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002852, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat2x3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002853, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002854, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002855, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat2x4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002856, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat2x4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002857, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec3_from_bool_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002858, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec3_from_bool_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002859, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec3_from_bool_mat3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002860, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec3_from_bool_mat3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002861, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002862, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002863, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat3x2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002864, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat3x2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002865, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002866, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002867, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat3x4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002868, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat3x4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002869, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec3_from_bool_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002870, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec3_from_bool_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002871, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec3_from_bool_mat4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002872, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec3_from_bool_mat4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002873, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002874, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002875, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat4x2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002876, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat4x2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002877, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002878, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec3_from_bool_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002879, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat4x3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002880, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec3_from_bool_mat4x3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002881, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec4_from_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002882, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec4_from_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002883, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec4_from_mat2_mat2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002884, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec4_from_mat2_mat2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002885, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002886, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002887, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat2x3_mat2x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002888, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat2x3_mat2x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002889, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002890, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002891, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat2x4_mat2x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002892, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat2x4_mat2x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002893, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec4_from_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002894, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec4_from_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002895, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec4_from_mat3_mat3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002896, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec4_from_mat3_mat3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002897, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002898, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002899, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat3x2_mat3x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002900, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat3x2_mat3x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002901, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002902, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002903, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat3x4_mat3x4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002904, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat3x4_mat3x4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002905, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec4_from_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002906, + "KHR-GLES3.shaders.glsl_cons", + "tructors.bvec4_from_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002907, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec4_from_mat4_mat4_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002908, + "KHR-GLES3.shaders.glsl_constructo", + "rs.bvec4_from_mat4_mat4_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002909, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002910, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002911, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat4x2_mat4x2_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002912, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat4x2_mat4x2_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002913, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002914, + "KHR-GLES3.shaders.glsl_const", + "ructors.bvec4_from_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002915, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat4x3_mat4x3_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002916, + "KHR-GLES3.shaders.glsl_constructors", + ".bvec4_from_mat4x3_mat4x3_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002917, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec4_from_bool_mat2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002918, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec4_from_bool_mat2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002919, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec4_from_bool_mat2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002920, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec4_from_bool_mat2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002921, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat2x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002922, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat2x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002923, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat2x3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002924, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat2x3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002925, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat2x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002926, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat2x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002927, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat2x4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002928, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat2x4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002929, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec4_from_bool_mat3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002930, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec4_from_bool_mat3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002931, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec4_from_bool_mat3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002932, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec4_from_bool_mat3_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002933, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat3x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002934, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat3x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002935, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat3x2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002936, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat3x2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002937, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat3x4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002938, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat3x4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002939, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat3x4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002940, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat3x4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002941, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec4_from_bool_mat4_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002942, + "KHR-GLES3.shaders.glsl_constr", + "uctors.bvec4_from_bool_mat4_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002943, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec4_from_bool_mat4_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002944, + "KHR-GLES3.shaders.glsl_constructors.", + "bvec4_from_bool_mat4_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002945, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat4x2_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002946, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat4x2_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002947, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat4x2_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002948, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat4x2_bool_invalid_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002949, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat4x3_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002950, + "KHR-GLES3.shaders.glsl_constru", + "ctors.bvec4_from_bool_mat4x3_fs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002951, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat4x3_bool_invalid_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002952, + "KHR-GLES3.shaders.glsl_constructors.b", + "vec4_from_bool_mat4x3_bool_invalid_fs"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_literal_parsingTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_literal_parsingTestCase.cpp new file mode 100644 index 000000000..059549afa --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_literal_parsingTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001388, + "KHR-GLES3.shaders.literal_pars", + "ing.correct_int_literal_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001389, + "KHR-GLES3.shaders.literal_parsi", + "ng.correct_int_literal_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001390, + "KHR-GLES3.shaders.literal_p", + "arsing.int_overflow_1_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001391, + "KHR-GLES3.shaders.literal_pa", + "rsing.int_overflow_1_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001392, + "KHR-GLES3.shaders.literal_p", + "arsing.int_overflow_2_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001393, + "KHR-GLES3.shaders.literal_pa", + "rsing.int_overflow_2_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001394, + "KHR-GLES3.shaders.lite", + "ral_parsing.int_wrap_1"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001395, + "KHR-GLES3.shaders.lite", + "ral_parsing.int_wrap_2"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_negativeTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_negativeTestCase.cpp new file mode 100644 index 000000000..b91926343 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_negativeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002960, + "KHR-GLES3.shaders.", + "negative.initialize"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002961, + "KHR-GLES3.shaders.nega", + "tive.constant_sequence"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_shader_integer_mixTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_shader_integer_mixTestCase.cpp new file mode 100644 index 000000000..9574da7e0 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3shaders_shader_integer_mixTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002953, + "KHR-GLES3.shaders.sha", + "der_integer_mix.define"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002954, + "KHR-GLES3.shaders.shader_int", + "eger_mix.prototypes-extension"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002955, + "KHR-GLES3.shaders.shade", + "r_integer_mix.prototypes"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002956, + "KHR-GLES3.shaders.shader_int", + "eger_mix.prototypes-negative"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002957, + "KHR-GLES3.shaders.shade", + "r_integer_mix.mix-ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002958, + "KHR-GLES3.shaders.shade", + "r_integer_mix.mix-uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002959, + "KHR-GLES3.shaders.shade", + "r_integer_mix.mix-bvec4"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_packedTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_packedTestCase.cpp new file mode 100644 index 000000000..a31c2e634 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_packedTestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001882, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001883, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001884, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001885, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001886, + "KHR-GLES3.shaders.uniform_bloc", + "k.single_basic_array.packed.int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001887, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001888, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001889, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001890, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001891, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001892, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001893, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001894, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001895, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001896, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001897, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001898, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001899, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.packed.row_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001900, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.column_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001901, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001902, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.packed.row_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001903, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.column_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001904, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.packed.mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001905, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.packed.row_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001906, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.column_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001907, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.packed.mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001908, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.row_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001909, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.packed.column_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001910, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.packed.mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001911, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.row_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001912, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.packed.column_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001913, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.packed.mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001914, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.row_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001915, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.packed.column_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001916, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.packed.mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001917, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.row_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001918, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.packed.column_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001919, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.packed.mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001920, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.row_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001921, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.packed.column_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001922, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.packed.mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001923, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.packed.row_major_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001924, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.packed.column_major_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_sharedTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_sharedTestCase.cpp new file mode 100644 index 000000000..823c61e4e --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_sharedTestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001839, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001840, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001841, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001842, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001843, + "KHR-GLES3.shaders.uniform_bloc", + "k.single_basic_array.shared.int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001844, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001845, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001846, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001847, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001848, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001849, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001850, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001851, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001852, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001853, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001854, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001855, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001856, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.shared.row_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001857, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.column_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001858, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001859, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.shared.row_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001860, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.column_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001861, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.shared.mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001862, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.shared.row_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001863, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.column_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001864, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.shared.mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001865, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.row_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001866, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.shared.column_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001867, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.shared.mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001868, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.row_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001869, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.shared.column_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001870, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.shared.mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001871, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.row_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001872, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.shared.column_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001873, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.shared.mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001874, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.row_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001875, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.shared.column_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001876, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.shared.mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001877, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.row_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001878, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.shared.column_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001879, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.shared.mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001880, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.shared.row_major_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001881, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.shared.column_major_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_std140TestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_std140TestCase.cpp new file mode 100644 index 000000000..deac37db7 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_array_std140TestCase.cpp @@ -0,0 +1,196 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001925, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001926, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001927, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001928, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001929, + "KHR-GLES3.shaders.uniform_bloc", + "k.single_basic_array.std140.int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001930, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001931, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001932, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001933, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001934, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001935, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001936, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001937, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001938, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001939, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001940, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001941, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001942, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.std140.row_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001943, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.column_major_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001944, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001945, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.std140.row_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001946, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.column_major_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001947, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_array.std140.mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001948, + "KHR-GLES3.shaders.uniform_block.sing", + "le_basic_array.std140.row_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001949, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.column_major_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001950, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.std140.mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001951, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.row_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001952, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.std140.column_major_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001953, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.std140.mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001954, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.row_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001955, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.std140.column_major_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001956, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.std140.mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001957, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.row_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001958, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.std140.column_major_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001959, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.std140.mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001960, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.row_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001961, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.std140.column_major_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001962, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.std140.mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001963, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.row_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001964, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.std140.column_major_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001965, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_array.std140.mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001966, + "KHR-GLES3.shaders.uniform_block.singl", + "e_basic_array.std140.row_major_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001967, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_array.std140.column_major_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_packedTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_packedTestCase.cpp new file mode 100644 index 000000000..3c3aadbcc --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_packedTestCase.cpp @@ -0,0 +1,508 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001597, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001598, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001599, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001600, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001601, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001602, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001603, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001604, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001605, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001606, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001607, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001608, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001609, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_type.packed.lowp_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001610, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001611, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001612, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001613, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001614, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001615, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001616, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001617, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001618, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001619, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001620, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001621, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001622, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001623, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001624, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001625, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001626, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001627, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001628, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001629, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001630, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001631, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001632, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001633, + "KHR-GLES3.shaders.uniform_bloc", + "k.single_basic_type.packed.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001634, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.packed.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001635, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.packed.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001636, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.packed.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001637, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001638, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001639, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001640, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.packed.row_major_lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001641, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001642, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.packed.row_major_highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001643, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.column_major_lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001644, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001645, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001646, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001647, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001648, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001649, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.packed.row_major_lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001650, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001651, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.packed.row_major_highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001652, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.column_major_lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001653, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001654, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001655, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001656, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001657, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.packed.highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001658, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.packed.row_major_lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001659, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001660, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.packed.row_major_highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001661, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.column_major_lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001662, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001663, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001664, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001665, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001666, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001667, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001668, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.row_major_mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001669, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001670, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001671, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.packed.column_major_mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001672, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001673, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001674, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001675, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001676, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001677, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.row_major_mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001678, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001679, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001680, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.packed.column_major_mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001681, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001682, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001683, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001684, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001685, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001686, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.row_major_mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001687, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001688, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001689, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.packed.column_major_mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001690, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001691, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001692, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001693, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001694, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001695, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.row_major_mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001696, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001697, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001698, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.packed.column_major_mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001699, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001700, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001701, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001702, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001703, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001704, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.row_major_mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001705, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001706, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001707, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.packed.column_major_mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001708, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001709, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001710, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.packed.mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001711, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.packed.highp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001712, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001713, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.row_major_mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001714, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.packed.row_major_highp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001715, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.packed.column_major_lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001716, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.packed.column_major_mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001717, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.packed.column_major_highp_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase.cpp new file mode 100644 index 000000000..eae77badb --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_sharedTestCase.cpp @@ -0,0 +1,508 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001476, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001477, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001478, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001479, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001480, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001481, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001482, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001483, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001484, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001485, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001486, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001487, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001488, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_type.shared.lowp_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001489, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001490, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001491, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001492, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001493, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001494, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001495, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001496, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001497, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001498, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001499, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001500, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001501, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001502, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001503, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001504, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001505, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001506, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001507, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001508, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001509, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001510, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001511, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001512, + "KHR-GLES3.shaders.uniform_bloc", + "k.single_basic_type.shared.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001513, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.shared.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001514, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.shared.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001515, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.shared.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001516, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001517, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001518, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001519, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.shared.row_major_lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001520, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001521, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.shared.row_major_highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001522, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.column_major_lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001523, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001524, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001525, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001526, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001527, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001528, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.shared.row_major_lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001529, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001530, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.shared.row_major_highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001531, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.column_major_lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001532, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001533, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001534, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001535, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001536, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.shared.highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001537, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.shared.row_major_lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001538, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001539, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.shared.row_major_highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001540, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.column_major_lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001541, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001542, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001543, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001544, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001545, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001546, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001547, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.row_major_mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001548, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001549, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001550, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.shared.column_major_mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001551, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001552, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001553, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001554, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001555, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001556, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.row_major_mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001557, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001558, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001559, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.shared.column_major_mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001560, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001561, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001562, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001563, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001564, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001565, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.row_major_mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001566, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001567, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001568, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.shared.column_major_mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001569, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001570, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001571, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001572, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001573, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001574, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.row_major_mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001575, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001576, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001577, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.shared.column_major_mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001578, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001579, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001580, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001581, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001582, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001583, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.row_major_mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001584, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001585, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001586, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.shared.column_major_mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001587, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001588, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001589, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.shared.mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001590, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.shared.highp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001591, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001592, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.row_major_mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001593, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.shared.row_major_highp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001594, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.shared.column_major_lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001595, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.shared.column_major_mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001596, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.shared.column_major_highp_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_std140TestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_std140TestCase.cpp new file mode 100644 index 000000000..a18a4ffd3 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3single_basic_type_std140TestCase.cpp @@ -0,0 +1,508 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001718, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001719, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001720, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_float"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001721, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001722, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001723, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001724, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001725, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001726, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001727, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001728, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001729, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001730, + "KHR-GLES3.shaders.uniform_block.", + "single_basic_type.std140.lowp_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001731, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001732, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_int"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001733, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001734, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001735, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_ivec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001736, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001737, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001738, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_ivec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001739, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001740, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001741, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001742, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001743, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001744, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_uint"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001745, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001746, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001747, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_uvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001748, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001749, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001750, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_uvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001751, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001752, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001753, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001754, + "KHR-GLES3.shaders.uniform_bloc", + "k.single_basic_type.std140.bool"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001755, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.std140.bvec2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001756, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.std140.bvec3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001757, + "KHR-GLES3.shaders.uniform_block", + ".single_basic_type.std140.bvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001758, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001759, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001760, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001761, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.std140.row_major_lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001762, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001763, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.std140.row_major_highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001764, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.column_major_lowp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001765, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_mediump_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001766, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_highp_mat2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001767, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001768, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001769, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001770, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.std140.row_major_lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001771, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001772, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.std140.row_major_highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001773, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.column_major_lowp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001774, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_mediump_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001775, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_highp_mat3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001776, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001777, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001778, + "KHR-GLES3.shaders.uniform_block.s", + "ingle_basic_type.std140.highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001779, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.std140.row_major_lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001780, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001781, + "KHR-GLES3.shaders.uniform_block.single", + "_basic_type.std140.row_major_highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001782, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.column_major_lowp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001783, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_mediump_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001784, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_highp_mat4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001785, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001786, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001787, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001788, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001789, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.row_major_mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001790, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001791, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_lowp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001792, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.std140.column_major_mediump_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001793, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_highp_mat2x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001794, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001795, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001796, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001797, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001798, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.row_major_mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001799, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001800, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_lowp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001801, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.std140.column_major_mediump_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001802, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_highp_mat2x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001803, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001804, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001805, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001806, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001807, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.row_major_mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001808, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001809, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_lowp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001810, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.std140.column_major_mediump_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001811, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_highp_mat3x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001812, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001813, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001814, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001815, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001816, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.row_major_mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001817, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001818, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_lowp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001819, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.std140.column_major_mediump_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001820, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_highp_mat3x4"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001821, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001822, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001823, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001824, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001825, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.row_major_mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001826, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001827, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_lowp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001828, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.std140.column_major_mediump_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001829, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_highp_mat4x2"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001830, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001831, + "KHR-GLES3.shaders.uniform_block.sin", + "gle_basic_type.std140.mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001832, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_basic_type.std140.highp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001833, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001834, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.row_major_mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001835, + "KHR-GLES3.shaders.uniform_block.single_", + "basic_type.std140.row_major_highp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001836, + "KHR-GLES3.shaders.uniform_block.single_b", + "asic_type.std140.column_major_lowp_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001837, + "KHR-GLES3.shaders.uniform_block.single_bas", + "ic_type.std140.column_major_mediump_mat4x3"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001838, + "KHR-GLES3.shaders.uniform_block.single_ba", + "sic_type.std140.column_major_highp_mat4x3"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_localTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_localTestCase.cpp new file mode 100644 index 000000000..641247f16 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_localTestCase.cpp @@ -0,0 +1,200 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001402, + "KHR-GLES3.shaders.str", + "uct.local.basic_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001403, + "KHR-GLES3.shaders.stru", + "ct.local.basic_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001404, + "KHR-GLES3.shaders.stru", + "ct.local.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001405, + "KHR-GLES3.shaders.struc", + "t.local.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001406, + "KHR-GLES3.shaders.struct.", + "local.array_member_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001407, + "KHR-GLES3.shaders.struct.l", + "ocal.array_member_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001408, + "KHR-GLES3.shaders.struct.local.a", + "rray_member_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001409, + "KHR-GLES3.shaders.struct.local.ar", + "ray_member_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001410, + "KHR-GLES3.shaders.struct.", + "local.struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001411, + "KHR-GLES3.shaders.struct.l", + "ocal.struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001412, + "KHR-GLES3.shaders.struct.local.s", + "truct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001413, + "KHR-GLES3.shaders.struct.local.st", + "ruct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001414, + "KHR-GLES3.shaders.struct.loc", + "al.nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001415, + "KHR-GLES3.shaders.struct.loca", + "l.nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001416, + "KHR-GLES3.shaders.struct.local.nest", + "ed_struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001417, + "KHR-GLES3.shaders.struct.local.neste", + "d_struct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001418, + "KHR-GLES3.shaders.struc", + "t.local.parameter_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001419, + "KHR-GLES3.shaders.struct", + ".local.parameter_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001420, + "KHR-GLES3.shaders.struct.lo", + "cal.parameter_nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001421, + "KHR-GLES3.shaders.struct.loc", + "al.parameter_nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001422, + "KHR-GLES3.shaders.stru", + "ct.local.return_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001423, + "KHR-GLES3.shaders.struc", + "t.local.return_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001424, + "KHR-GLES3.shaders.struct.", + "local.return_nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001425, + "KHR-GLES3.shaders.struct.l", + "ocal.return_nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001426, + "KHR-GLES3.shaders.struct.local", + ".conditional_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001427, + "KHR-GLES3.shaders.struct.local.", + "conditional_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001428, + "KHR-GLES3.shaders.struct.l", + "ocal.loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001429, + "KHR-GLES3.shaders.struct.lo", + "cal.loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001430, + "KHR-GLES3.shaders.struct.local", + ".dynamic_loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001431, + "KHR-GLES3.shaders.struct.local.", + "dynamic_loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001432, + "KHR-GLES3.shaders.struct.local.ne", + "sted_conditional_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001433, + "KHR-GLES3.shaders.struct.local.nes", + "ted_conditional_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001434, + "KHR-GLES3.shaders.struct.local", + ".nested_loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001435, + "KHR-GLES3.shaders.struct.local.", + "nested_loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001436, + "KHR-GLES3.shaders.struct.local.nes", + "ted_dynamic_loop_assignment_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001437, + "KHR-GLES3.shaders.struct.local.nest", + "ed_dynamic_loop_assignment_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001438, + "KHR-GLES3.shaders.struct.lo", + "cal.loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001439, + "KHR-GLES3.shaders.struct.loc", + "al.loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001440, + "KHR-GLES3.shaders.struct.local.", + "loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001441, + "KHR-GLES3.shaders.struct.local.l", + "oop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001442, + "KHR-GLES3.shaders.struct.local.", + "dynamic_loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001443, + "KHR-GLES3.shaders.struct.local.d", + "ynamic_loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001444, + "KHR-GLES3.shaders.struct.local.dyna", + "mic_loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001445, + "KHR-GLES3.shaders.struct.local.dynam", + "ic_loop_nested_struct_array_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_uniformTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_uniformTestCase.cpp new file mode 100644 index 000000000..a7c98471a --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3struct_uniformTestCase.cpp @@ -0,0 +1,144 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001446, + "KHR-GLES3.shaders.stru", + "ct.uniform.basic_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001447, + "KHR-GLES3.shaders.struc", + "t.uniform.basic_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001448, + "KHR-GLES3.shaders.struc", + "t.uniform.nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001449, + "KHR-GLES3.shaders.struct", + ".uniform.nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001450, + "KHR-GLES3.shaders.struct.u", + "niform.array_member_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001451, + "KHR-GLES3.shaders.struct.un", + "iform.array_member_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001452, + "KHR-GLES3.shaders.struct.uniform.", + "array_member_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001453, + "KHR-GLES3.shaders.struct.uniform.a", + "rray_member_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001454, + "KHR-GLES3.shaders.struct.u", + "niform.struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001455, + "KHR-GLES3.shaders.struct.un", + "iform.struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001456, + "KHR-GLES3.shaders.struct.uniform.", + "struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001457, + "KHR-GLES3.shaders.struct.uniform.s", + "truct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001458, + "KHR-GLES3.shaders.struct.unif", + "orm.nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001459, + "KHR-GLES3.shaders.struct.unifo", + "rm.nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001460, + "KHR-GLES3.shaders.struct.uniform.nes", + "ted_struct_array_dynamic_index_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001461, + "KHR-GLES3.shaders.struct.uniform.nest", + "ed_struct_array_dynamic_index_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001462, + "KHR-GLES3.shaders.struct.uni", + "form.loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001463, + "KHR-GLES3.shaders.struct.unif", + "orm.loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001464, + "KHR-GLES3.shaders.struct.uniform", + ".loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001465, + "KHR-GLES3.shaders.struct.uniform.", + "loop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001466, + "KHR-GLES3.shaders.struct.uniform", + ".dynamic_loop_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001467, + "KHR-GLES3.shaders.struct.uniform.", + "dynamic_loop_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001468, + "KHR-GLES3.shaders.struct.uniform.dyn", + "amic_loop_nested_struct_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001469, + "KHR-GLES3.shaders.struct.uniform.dyna", + "mic_loop_nested_struct_array_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001470, + "KHR-GLES3.shaders.struc", + "t.uniform.sampler_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001471, + "KHR-GLES3.shaders.struct", + ".uniform.sampler_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001472, + "KHR-GLES3.shaders.struct.un", + "iform.sampler_nested_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001473, + "KHR-GLES3.shaders.struct.uni", + "form.sampler_nested_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001474, + "KHR-GLES3.shaders.struct.u", + "niform.sampler_array_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001475, + "KHR-GLES3.shaders.struct.un", + "iform.sampler_array_fragment"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_commonTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_commonTestCase.cpp new file mode 100644 index 000000000..928799148 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_commonTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002303, + "KHR-GLES3.shaders.uniform_bl", + "ock.common.precision_matching"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002304, + "KHR-GLES3.shaders.uniform_", + "block.common.name_matching"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_structTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_structTestCase.cpp new file mode 100644 index 000000000..afc9d7969 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_structTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001986, + "KHR-GLES3.shaders.uniform_block.single", + "_nested_struct.per_block_buffer_shared"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001987, + "KHR-GLES3.shaders.uniform_block.single_nested", + "_struct.per_block_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001988, + "KHR-GLES3.shaders.uniform_block.single", + "_nested_struct.per_block_buffer_packed"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001989, + "KHR-GLES3.shaders.uniform_block.single_nested", + "_struct.per_block_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001990, + "KHR-GLES3.shaders.uniform_block.single", + "_nested_struct.per_block_buffer_std140"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001991, + "KHR-GLES3.shaders.uniform_block.single_nested", + "_struct.per_block_buffer_std140_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001992, + "KHR-GLES3.shaders.uniform_block.single_neste", + "d_struct.single_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001993, + "KHR-GLES3.shaders.uniform_block.single_neste", + "d_struct.single_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001994, + "KHR-GLES3.shaders.uniform_block.single_neste", + "d_struct.single_buffer_std140_instance_array"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_struct_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_struct_arrayTestCase.cpp new file mode 100644 index 000000000..500835788 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_nested_struct_arrayTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001995, + "KHR-GLES3.shaders.uniform_block.single_ne", + "sted_struct_array.per_block_buffer_shared"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001996, + "KHR-GLES3.shaders.uniform_block.single_nested_st", + "ruct_array.per_block_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001997, + "KHR-GLES3.shaders.uniform_block.single_ne", + "sted_struct_array.per_block_buffer_packed"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001998, + "KHR-GLES3.shaders.uniform_block.single_nested_st", + "ruct_array.per_block_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001999, + "KHR-GLES3.shaders.uniform_block.single_ne", + "sted_struct_array.per_block_buffer_std140"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_002000, + "KHR-GLES3.shaders.uniform_block.single_nested_st", + "ruct_array.per_block_buffer_std140_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_002001, + "KHR-GLES3.shaders.uniform_block.single_nested_s", + "truct_array.single_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_002002, + "KHR-GLES3.shaders.uniform_block.single_nested_s", + "truct_array.single_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_002003, + "KHR-GLES3.shaders.uniform_block.single_nested_s", + "truct_array.single_buffer_std140_instance_array"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_structTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_structTestCase.cpp new file mode 100644 index 000000000..50f41cab0 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_structTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001968, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_struct.per_block_buffer_shared"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001969, + "KHR-GLES3.shaders.uniform_block.single_str", + "uct.per_block_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001970, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_struct.per_block_buffer_packed"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001971, + "KHR-GLES3.shaders.uniform_block.single_str", + "uct.per_block_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001972, + "KHR-GLES3.shaders.uniform_block.si", + "ngle_struct.per_block_buffer_std140"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001973, + "KHR-GLES3.shaders.uniform_block.single_str", + "uct.per_block_buffer_std140_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001974, + "KHR-GLES3.shaders.uniform_block.single_s", + "truct.single_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001975, + "KHR-GLES3.shaders.uniform_block.single_s", + "truct.single_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001976, + "KHR-GLES3.shaders.uniform_block.single_s", + "truct.single_buffer_std140_instance_array"); diff --git a/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_struct_arrayTestCase.cpp b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_struct_arrayTestCase.cpp new file mode 100644 index 000000000..4f391e0db --- /dev/null +++ b/graphic/vkgl/src/khrgles3/shaders/Khrgles3uniform_block_single_struct_arrayTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001977, + "KHR-GLES3.shaders.uniform_block.singl", + "e_struct_array.per_block_buffer_shared"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001978, + "KHR-GLES3.shaders.uniform_block.single_struct", + "_array.per_block_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001979, + "KHR-GLES3.shaders.uniform_block.singl", + "e_struct_array.per_block_buffer_packed"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001980, + "KHR-GLES3.shaders.uniform_block.single_struct", + "_array.per_block_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001981, + "KHR-GLES3.shaders.uniform_block.singl", + "e_struct_array.per_block_buffer_std140"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001982, + "KHR-GLES3.shaders.uniform_block.single_struct", + "_array.per_block_buffer_std140_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001983, + "KHR-GLES3.shaders.uniform_block.single_stru", + "ct_array.single_buffer_shared_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001984, + "KHR-GLES3.shaders.uniform_block.single_stru", + "ct_array.single_buffer_packed_instance_array"); + +static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001985, + "KHR-GLES3.shaders.uniform_block.single_stru", + "ct_array.single_buffer_std140_instance_array"); diff --git a/graphic/vkgl/src/khrgles3/texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp b/graphic/vkgl/src/khrgles3/texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp new file mode 100644 index 000000000..dca4a929f --- /dev/null +++ b/graphic/vkgl/src/khrgles3/texture_filter_anisotropic/Khrgles3KHR-GLES3_texture_filter_anisotropicTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002974, + "KHR-GLES3.texture_filt", + "er_anisotropic.queries"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002975, + "KHR-GLES3.texture_filt", + "er_anisotropic.drawing"); diff --git a/graphic/vkgl/src/khrgles3/texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp b/graphic/vkgl/src/khrgles3/texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp new file mode 100644 index 000000000..2cd59b285 --- /dev/null +++ b/graphic/vkgl/src/khrgles3/texture_repeat_mode/Khrgles3KHR-GLES3_texture_repeat_modeTestCase.cpp @@ -0,0 +1,672 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles3BaseFunc.h" +#include "../ActsKhrgles30003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002976, + "KHR-GLES3.texture_repeat_mo", + "de.r8_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002977, + "KHR-GLES3.texture_repea", + "t_mode.r8_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002978, + "KHR-GLES3.texture_repeat_mod", + "e.r8_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002979, + "KHR-GLES3.texture_repeat_mo", + "de.r8_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002980, + "KHR-GLES3.texture_repea", + "t_mode.r8_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002981, + "KHR-GLES3.texture_repeat_mod", + "e.r8_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002982, + "KHR-GLES3.texture_repeat_mo", + "de.r8_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002983, + "KHR-GLES3.texture_repea", + "t_mode.r8_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002984, + "KHR-GLES3.texture_repeat_mod", + "e.r8_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002985, + "KHR-GLES3.texture_repeat_mode", + ".rgb565_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002986, + "KHR-GLES3.texture_repeat_", + "mode.rgb565_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002987, + "KHR-GLES3.texture_repeat_mode.", + "rgb565_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002988, + "KHR-GLES3.texture_repeat_mode", + ".rgb565_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002989, + "KHR-GLES3.texture_repeat_", + "mode.rgb565_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002990, + "KHR-GLES3.texture_repeat_mode.", + "rgb565_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002991, + "KHR-GLES3.texture_repeat_mode", + ".rgb565_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002992, + "KHR-GLES3.texture_repeat_", + "mode.rgb565_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002993, + "KHR-GLES3.texture_repeat_mode.", + "rgb565_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002994, + "KHR-GLES3.texture_repeat_mod", + "e.rgb8_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002995, + "KHR-GLES3.texture_repeat", + "_mode.rgb8_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002996, + "KHR-GLES3.texture_repeat_mode", + ".rgb8_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002997, + "KHR-GLES3.texture_repeat_mod", + "e.rgb8_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002998, + "KHR-GLES3.texture_repeat", + "_mode.rgb8_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_002999, + "KHR-GLES3.texture_repeat_mode", + ".rgb8_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003000, + "KHR-GLES3.texture_repeat_mod", + "e.rgb8_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003001, + "KHR-GLES3.texture_repeat", + "_mode.rgb8_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003002, + "KHR-GLES3.texture_repeat_mode", + ".rgb8_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003003, + "KHR-GLES3.texture_repeat_mode.", + "rgb10_a2_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003004, + "KHR-GLES3.texture_repeat_m", + "ode.rgb10_a2_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003005, + "KHR-GLES3.texture_repeat_mode.r", + "gb10_a2_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003006, + "KHR-GLES3.texture_repeat_mode.", + "rgb10_a2_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003007, + "KHR-GLES3.texture_repeat_m", + "ode.rgb10_a2_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003008, + "KHR-GLES3.texture_repeat_mode.r", + "gb10_a2_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003009, + "KHR-GLES3.texture_repeat_mode.", + "rgb10_a2_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003010, + "KHR-GLES3.texture_repeat_m", + "ode.rgb10_a2_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003011, + "KHR-GLES3.texture_repeat_mode.r", + "gb10_a2_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003012, + "KHR-GLES3.texture_repeat_mod", + "e.r32ui_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003013, + "KHR-GLES3.texture_repeat_", + "mode.r32ui_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003014, + "KHR-GLES3.texture_repeat_mode", + ".r32ui_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003015, + "KHR-GLES3.texture_repeat_mod", + "e.r32ui_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003016, + "KHR-GLES3.texture_repeat_", + "mode.r32ui_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003017, + "KHR-GLES3.texture_repeat_mode", + ".r32ui_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003018, + "KHR-GLES3.texture_repeat_mod", + "e.r32ui_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003019, + "KHR-GLES3.texture_repeat_", + "mode.r32ui_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003020, + "KHR-GLES3.texture_repeat_mode", + ".r32ui_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003021, + "KHR-GLES3.texture_repeat_mode", + ".rg32ui_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003022, + "KHR-GLES3.texture_repeat_", + "mode.rg32ui_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003023, + "KHR-GLES3.texture_repeat_mode.", + "rg32ui_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003024, + "KHR-GLES3.texture_repeat_mode", + ".rg32ui_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003025, + "KHR-GLES3.texture_repeat_", + "mode.rg32ui_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003026, + "KHR-GLES3.texture_repeat_mode.", + "rg32ui_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003027, + "KHR-GLES3.texture_repeat_mode", + ".rg32ui_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003028, + "KHR-GLES3.texture_repeat_", + "mode.rg32ui_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003029, + "KHR-GLES3.texture_repeat_mode.", + "rg32ui_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003030, + "KHR-GLES3.texture_repeat_mode.", + "rgba32ui_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003031, + "KHR-GLES3.texture_repeat_m", + "ode.rgba32ui_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003032, + "KHR-GLES3.texture_repeat_mode.r", + "gba32ui_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003033, + "KHR-GLES3.texture_repeat_mode.", + "rgba32ui_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003034, + "KHR-GLES3.texture_repeat_m", + "ode.rgba32ui_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003035, + "KHR-GLES3.texture_repeat_mode.r", + "gba32ui_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003036, + "KHR-GLES3.texture_repeat_mode.", + "rgba32ui_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003037, + "KHR-GLES3.texture_repeat_m", + "ode.rgba32ui_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003038, + "KHR-GLES3.texture_repeat_mode.r", + "gba32ui_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003039, + "KHR-GLES3.texture_repeat_mode.dept", + "h_component16_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003040, + "KHR-GLES3.texture_repeat_mode.d", + "epth_component16_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003041, + "KHR-GLES3.texture_repeat_mode.depth", + "_component16_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003042, + "KHR-GLES3.texture_repeat_mode.dept", + "h_component16_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003043, + "KHR-GLES3.texture_repeat_mode.d", + "epth_component16_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003044, + "KHR-GLES3.texture_repeat_mode.depth", + "_component16_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003045, + "KHR-GLES3.texture_repeat_mode.dept", + "h_component16_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003046, + "KHR-GLES3.texture_repeat_mode.d", + "epth_component16_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003047, + "KHR-GLES3.texture_repeat_mode.depth", + "_component16_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003048, + "KHR-GLES3.texture_repeat_mode.dept", + "h24_stencil8_49x23_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003049, + "KHR-GLES3.texture_repeat_mode.", + "depth24_stencil8_49x23_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003050, + "KHR-GLES3.texture_repeat_mode.depth", + "24_stencil8_49x23_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003051, + "KHR-GLES3.texture_repeat_mode.dept", + "h24_stencil8_49x23_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003052, + "KHR-GLES3.texture_repeat_mode.", + "depth24_stencil8_49x23_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003053, + "KHR-GLES3.texture_repeat_mode.depth", + "24_stencil8_49x23_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003054, + "KHR-GLES3.texture_repeat_mode.dept", + "h24_stencil8_49x23_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003055, + "KHR-GLES3.texture_repeat_mode.", + "depth24_stencil8_49x23_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003056, + "KHR-GLES3.texture_repeat_mode.depth", + "24_stencil8_49x23_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003057, + "KHR-GLES3.texture_repeat_mo", + "de.r8_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003058, + "KHR-GLES3.texture_repeat", + "_mode.r8_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003059, + "KHR-GLES3.texture_repeat_mod", + "e.r8_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003060, + "KHR-GLES3.texture_repeat_mo", + "de.r8_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003061, + "KHR-GLES3.texture_repeat", + "_mode.r8_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003062, + "KHR-GLES3.texture_repeat_mod", + "e.r8_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003063, + "KHR-GLES3.texture_repeat_mo", + "de.r8_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003064, + "KHR-GLES3.texture_repeat", + "_mode.r8_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003065, + "KHR-GLES3.texture_repeat_mod", + "e.r8_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003066, + "KHR-GLES3.texture_repeat_mode", + ".rgb565_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003067, + "KHR-GLES3.texture_repeat_m", + "ode.rgb565_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003068, + "KHR-GLES3.texture_repeat_mode.", + "rgb565_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003069, + "KHR-GLES3.texture_repeat_mode", + ".rgb565_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003070, + "KHR-GLES3.texture_repeat_m", + "ode.rgb565_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003071, + "KHR-GLES3.texture_repeat_mode.", + "rgb565_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003072, + "KHR-GLES3.texture_repeat_mode", + ".rgb565_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003073, + "KHR-GLES3.texture_repeat_m", + "ode.rgb565_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003074, + "KHR-GLES3.texture_repeat_mode.", + "rgb565_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003075, + "KHR-GLES3.texture_repeat_mod", + "e.rgb8_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003076, + "KHR-GLES3.texture_repeat_", + "mode.rgb8_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003077, + "KHR-GLES3.texture_repeat_mode", + ".rgb8_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003078, + "KHR-GLES3.texture_repeat_mod", + "e.rgb8_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003079, + "KHR-GLES3.texture_repeat_", + "mode.rgb8_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003080, + "KHR-GLES3.texture_repeat_mode", + ".rgb8_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003081, + "KHR-GLES3.texture_repeat_mod", + "e.rgb8_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003082, + "KHR-GLES3.texture_repeat_", + "mode.rgb8_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003083, + "KHR-GLES3.texture_repeat_mode", + ".rgb8_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003084, + "KHR-GLES3.texture_repeat_mode.", + "rgb10_a2_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003085, + "KHR-GLES3.texture_repeat_mo", + "de.rgb10_a2_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003086, + "KHR-GLES3.texture_repeat_mode.r", + "gb10_a2_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003087, + "KHR-GLES3.texture_repeat_mode.", + "rgb10_a2_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003088, + "KHR-GLES3.texture_repeat_mo", + "de.rgb10_a2_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003089, + "KHR-GLES3.texture_repeat_mode.r", + "gb10_a2_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003090, + "KHR-GLES3.texture_repeat_mode.", + "rgb10_a2_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003091, + "KHR-GLES3.texture_repeat_mo", + "de.rgb10_a2_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003092, + "KHR-GLES3.texture_repeat_mode.r", + "gb10_a2_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003093, + "KHR-GLES3.texture_repeat_mode", + ".r32ui_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003094, + "KHR-GLES3.texture_repeat_", + "mode.r32ui_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003095, + "KHR-GLES3.texture_repeat_mode.", + "r32ui_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003096, + "KHR-GLES3.texture_repeat_mode", + ".r32ui_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003097, + "KHR-GLES3.texture_repeat_", + "mode.r32ui_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003098, + "KHR-GLES3.texture_repeat_mode.", + "r32ui_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003099, + "KHR-GLES3.texture_repeat_mode", + ".r32ui_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003100, + "KHR-GLES3.texture_repeat_", + "mode.r32ui_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003101, + "KHR-GLES3.texture_repeat_mode.", + "r32ui_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003102, + "KHR-GLES3.texture_repeat_mode", + ".rg32ui_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003103, + "KHR-GLES3.texture_repeat_m", + "ode.rg32ui_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003104, + "KHR-GLES3.texture_repeat_mode.", + "rg32ui_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003105, + "KHR-GLES3.texture_repeat_mode", + ".rg32ui_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003106, + "KHR-GLES3.texture_repeat_m", + "ode.rg32ui_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003107, + "KHR-GLES3.texture_repeat_mode.", + "rg32ui_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003108, + "KHR-GLES3.texture_repeat_mode", + ".rg32ui_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003109, + "KHR-GLES3.texture_repeat_m", + "ode.rg32ui_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003110, + "KHR-GLES3.texture_repeat_mode.", + "rg32ui_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003111, + "KHR-GLES3.texture_repeat_mode.", + "rgba32ui_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003112, + "KHR-GLES3.texture_repeat_mo", + "de.rgba32ui_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003113, + "KHR-GLES3.texture_repeat_mode.r", + "gba32ui_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003114, + "KHR-GLES3.texture_repeat_mode.", + "rgba32ui_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003115, + "KHR-GLES3.texture_repeat_mo", + "de.rgba32ui_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003116, + "KHR-GLES3.texture_repeat_mode.r", + "gba32ui_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003117, + "KHR-GLES3.texture_repeat_mode.", + "rgba32ui_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003118, + "KHR-GLES3.texture_repeat_mo", + "de.rgba32ui_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003119, + "KHR-GLES3.texture_repeat_mode.r", + "gba32ui_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003120, + "KHR-GLES3.texture_repeat_mode.depth", + "_component16_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003121, + "KHR-GLES3.texture_repeat_mode.d", + "epth_component16_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003122, + "KHR-GLES3.texture_repeat_mode.depth_", + "component16_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003123, + "KHR-GLES3.texture_repeat_mode.depth", + "_component16_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003124, + "KHR-GLES3.texture_repeat_mode.d", + "epth_component16_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003125, + "KHR-GLES3.texture_repeat_mode.depth_", + "component16_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003126, + "KHR-GLES3.texture_repeat_mode.depth", + "_component16_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003127, + "KHR-GLES3.texture_repeat_mode.d", + "epth_component16_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003128, + "KHR-GLES3.texture_repeat_mode.depth_", + "component16_11x131_2_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003129, + "KHR-GLES3.texture_repeat_mode.dept", + "h24_stencil8_11x131_0_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003130, + "KHR-GLES3.texture_repeat_mode.d", + "epth24_stencil8_11x131_0_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003131, + "KHR-GLES3.texture_repeat_mode.depth", + "24_stencil8_11x131_0_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003132, + "KHR-GLES3.texture_repeat_mode.dept", + "h24_stencil8_11x131_1_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003133, + "KHR-GLES3.texture_repeat_mode.d", + "epth24_stencil8_11x131_1_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003134, + "KHR-GLES3.texture_repeat_mode.depth", + "24_stencil8_11x131_1_mirrored_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003135, + "KHR-GLES3.texture_repeat_mode.dept", + "h24_stencil8_11x131_2_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003136, + "KHR-GLES3.texture_repeat_mode.d", + "epth24_stencil8_11x131_2_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles30003TestSuite, TestCase_003137, + "KHR-GLES3.texture_repeat_mode.depth", + "24_stencil8_11x131_2_mirrored_repeat"); -- GitLab From ffe1d731b080f50905ee307bda7e29ede705f8c0 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:44:58 +0800 Subject: [PATCH 4/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=9A=84khrgles31?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- .../khrgles31/ActsKhrgles310001TestSuite.cpp | 60 + .../khrgles31/ActsKhrgles310001TestSuite.h | 40 + .../khrgles31/ActsKhrgles310002TestSuite.cpp | 60 + .../khrgles31/ActsKhrgles310002TestSuite.h | 40 + .../khrgles31/ActsKhrgles310003TestSuite.cpp | 60 + .../khrgles31/ActsKhrgles310003TestSuite.h | 40 + .../khrgles31/ActsKhrgles310004TestSuite.cpp | 60 + .../khrgles31/ActsKhrgles310004TestSuite.h | 40 + .../src/khrgles31/ActsKhrgles31TestSuite.cpp | 60 + .../src/khrgles31/ActsKhrgles31TestSuite.h | 40 + .../vkgl/src/khrgles31/Khrgles31BaseFunc.cpp | 81 + .../vkgl/src/khrgles31/Khrgles31BaseFunc.h | 32 + graphic/vkgl/src/khrgles31/build0001/BUILD.gn | 153 + .../vkgl/src/khrgles31/build0001/Test.json | 38 + .../src/khrgles31/build0001/logdefine.cpp | 20 + graphic/vkgl/src/khrgles31/build0002/BUILD.gn | 72 + .../vkgl/src/khrgles31/build0002/Test.json | 38 + .../src/khrgles31/build0002/logdefine.cpp | 20 + graphic/vkgl/src/khrgles31/build0003/BUILD.gn | 158 + .../vkgl/src/khrgles31/build0003/Test.json | 38 + .../src/khrgles31/build0003/logdefine.cpp | 20 + graphic/vkgl/src/khrgles31/build0004/BUILD.gn | 106 + .../vkgl/src/khrgles31/build0004/Test.json | 38 + .../src/khrgles31/build0004/logdefine.cpp | 20 + .../core/Khrgles31base_rgba32fTestCase.cpp | 36 + .../core/Khrgles31base_rgba8TestCase.cpp | 36 + .../core/Khrgles31base_rgba8iTestCase.cpp | 36 + .../core/Khrgles31base_rgba8uiTestCase.cpp | 36 + ...advanced_BlendEquationSeparateTestCase.cpp | 84 + ...s31blend_equation_advanced_MRTTestCase.cpp | 32 + ...nd_equation_advanced_blend_allTestCase.cpp | 84 + ...uation_advanced_blend_specificTestCase.cpp | 84 + ...end_equation_advanced_coherentTestCase.cpp | 28 + ...n_advanced_extension_directiveTestCase.cpp | 36 + ...advanced_mismatching_qualifierTestCase.cpp | 84 + ...ion_advanced_missing_qualifierTestCase.cpp | 84 + ...equation_advanced_preprocessorTestCase.cpp | 44 + ...uation_advanced_test_coherencyTestCase.cpp | 32 + .../Khrgles31centroid_rgba32fTestCase.cpp | 36 + .../core/Khrgles31centroid_rgba8TestCase.cpp | 36 + .../core/Khrgles31centroid_rgba8iTestCase.cpp | 36 + .../Khrgles31centroid_rgba8uiTestCase.cpp | 36 + ...Khrgles31compressed_format_apiTestCase.cpp | 72 + ...gles31compressed_format_formatTestCase.cpp | 64 + ...Khrgles31core_arrays_of_arraysTestCase.cpp | 296 ++ .../Khrgles31core_compute_shaderTestCase.cpp | 172 + ...les31core_constant_expressionsTestCase.cpp | 3736 +++++++++++++++++ ...les31core_draw_buffers_indexedTestCase.cpp | 48 + .../Khrgles31core_draw_indirectTestCase.cpp | 312 ++ ...core_explicit_uniform_locationTestCase.cpp | 124 + ...1core_framebuffer_completenessTestCase.cpp | 84 + ...ore_framebuffer_no_attachmentsTestCase.cpp | 32 + .../Khrgles31core_gpu_shader5TestCase.cpp | 108 + .../Khrgles31core_layout_bindingTestCase.cpp | 108 + .../Khrgles31core_nearest_edgeTestCase.cpp | 32 + ...les31core_polygon_offset_clampTestCase.cpp | 36 + ...31core_program_interface_queryTestCase.cpp | 152 + .../Khrgles31core_sepshaderobjsTestCase.cpp | 56 + ...s31core_shader_atomic_countersTestCase.cpp | 140 + ...hrgles31core_shader_group_voteTestCase.cpp | 44 + ...31core_shader_image_load_storeTestCase.cpp | 180 + ...hrgles31core_shader_image_sizeTestCase.cpp | 100 + ...rgles31core_shader_integer_mixTestCase.cpp | 52 + .../Khrgles31core_shader_macrosTestCase.cpp | 44 + ...e_shader_storage_buffer_objectTestCase.cpp | 516 +++ ...les31core_texture_border_clampTestCase.cpp | 152 + .../Khrgles31core_texture_bufferTestCase.cpp | 88 + ...s31core_texture_cube_map_arrayTestCase.cpp | 128 + .../Khrgles31core_texture_gatherTestCase.cpp | 164 + ...es31core_vertex_attrib_bindingTestCase.cpp | 116 + .../Khrgles31core_viewport_arrayTestCase.cpp | 92 + ...les31geometry_shader_adjacencyTestCase.cpp | 56 + .../Khrgles31geometry_shader_apiTestCase.cpp | 88 + ...gles31geometry_shader_blittingTestCase.cpp | 36 + ...gles31geometry_shader_clippingTestCase.cpp | 28 + ...etry_shader_constant_variablesTestCase.cpp | 28 + ...Khrgles31geometry_shader_inputTestCase.cpp | 40 + ...s31geometry_shader_layered_fboTestCase.cpp | 56 + ...try_shader_layered_framebufferTestCase.cpp | 40 + ...metry_shader_layered_renderingTestCase.cpp | 28 + ...d_rendering_boundary_conditionTestCase.cpp | 40 + ...ed_rendering_fbo_no_attachmentTestCase.cpp | 28 + ...hrgles31geometry_shader_limitsTestCase.cpp | 60 + ...rgles31geometry_shader_linkingTestCase.cpp | 76 + ...geometry_shader_nonarray_inputTestCase.cpp | 28 + ...hrgles31geometry_shader_outputTestCase.cpp | 44 + ...metry_shader_primitive_counterTestCase.cpp | 100 + ...metry_shader_primitive_queriesTestCase.cpp | 36 + ...ometry_shader_program_resourceTestCase.cpp | 28 + ...es31geometry_shader_qualifiersTestCase.cpp | 28 + ...1internalformat_copy_tex_imageTestCase.cpp | 76 + ...s31internalformat_renderbufferTestCase.cpp | 48 + ...gles31internalformat_texture2dTestCase.cpp | 356 ++ ...late_at_centroid_check_rgba32fTestCase.cpp | 36 + ...polate_at_centroid_check_rgba8TestCase.cpp | 36 + ...olate_at_centroid_check_rgba8iTestCase.cpp | 36 + ...late_at_centroid_check_rgba8uiTestCase.cpp | 36 + ...nterpolate_at_centroid_rgba32fTestCase.cpp | 36 + ...1interpolate_at_centroid_rgba8TestCase.cpp | 36 + ...interpolate_at_centroid_rgba8iTestCase.cpp | 36 + ...nterpolate_at_centroid_rgba8uiTestCase.cpp | 36 + ...polate_at_offset_check_rgba32fTestCase.cpp | 36 + ...erpolate_at_offset_check_rgba8TestCase.cpp | 36 + ...rpolate_at_offset_check_rgba8iTestCase.cpp | 36 + ...polate_at_offset_check_rgba8uiTestCase.cpp | 36 + ...1interpolate_at_offset_rgba32fTestCase.cpp | 36 + ...s31interpolate_at_offset_rgba8TestCase.cpp | 36 + ...31interpolate_at_offset_rgba8iTestCase.cpp | 36 + ...1interpolate_at_offset_rgba8uiTestCase.cpp | 36 + ...polate_at_sample_check_rgba32fTestCase.cpp | 36 + ...erpolate_at_sample_check_rgba8TestCase.cpp | 36 + ...rpolate_at_sample_check_rgba8iTestCase.cpp | 36 + ...polate_at_sample_check_rgba8uiTestCase.cpp | 36 + ...1interpolate_at_sample_rgba32fTestCase.cpp | 36 + ...s31interpolate_at_sample_rgba8TestCase.cpp | 36 + ...31interpolate_at_sample_rgba8iTestCase.cpp | 36 + ...1interpolate_at_sample_rgba8uiTestCase.cpp | 36 + .../core/Khrgles31position_fixedTestCase.cpp | 44 + .../Khrgles31position_non-fixedTestCase.cpp | 44 + .../core/Khrgles31render_rgba32fTestCase.cpp | 36 + .../core/Khrgles31render_rgba8TestCase.cpp | 36 + .../core/Khrgles31render_rgba8iTestCase.cpp | 36 + .../core/Khrgles31render_rgba8uiTestCase.cpp | 36 + .../Khrgles31rendering_renderingTestCase.cpp | 156 + .../Khrgles31rgba32f_samples_0TestCase.cpp | 60 + .../Khrgles31rgba32f_samples_1TestCase.cpp | 60 + .../Khrgles31rgba32f_samples_2TestCase.cpp | 60 + .../Khrgles31rgba32f_samples_4TestCase.cpp | 60 + .../Khrgles31rgba32f_samples_8TestCase.cpp | 60 + .../core/Khrgles31rgba8_samples_0TestCase.cpp | 60 + .../core/Khrgles31rgba8_samples_1TestCase.cpp | 60 + .../core/Khrgles31rgba8_samples_2TestCase.cpp | 60 + .../core/Khrgles31rgba8_samples_4TestCase.cpp | 60 + .../core/Khrgles31rgba8_samples_8TestCase.cpp | 60 + .../Khrgles31rgba8i_samples_0TestCase.cpp | 60 + .../Khrgles31rgba8i_samples_1TestCase.cpp | 60 + .../Khrgles31rgba8i_samples_2TestCase.cpp | 60 + .../Khrgles31rgba8i_samples_4TestCase.cpp | 60 + .../Khrgles31rgba8i_samples_8TestCase.cpp | 60 + .../Khrgles31rgba8ui_samples_0TestCase.cpp | 60 + .../Khrgles31rgba8ui_samples_1TestCase.cpp | 60 + .../Khrgles31rgba8ui_samples_2TestCase.cpp | 60 + .../Khrgles31rgba8ui_samples_4TestCase.cpp | 60 + .../Khrgles31rgba8ui_samples_8TestCase.cpp | 60 + .../core/Khrgles31sample_rgba32fTestCase.cpp | 36 + .../core/Khrgles31sample_rgba8TestCase.cpp | 36 + .../core/Khrgles31sample_rgba8iTestCase.cpp | 36 + .../core/Khrgles31sample_rgba8uiTestCase.cpp | 36 + .../Khrgles31sample_shading_apiTestCase.cpp | 28 + ...1sample_variables_verificationTestCase.cpp | 28 + ...er_bitfield_operation_bitCountTestCase.cpp | 164 + ...ield_operation_bitfieldExtractTestCase.cpp | 152 + ...field_operation_bitfieldInsertTestCase.cpp | 152 + ...ield_operation_bitfieldReverseTestCase.cpp | 164 + ...der_bitfield_operation_findLSBTestCase.cpp | 164 + ...der_bitfield_operation_findMSBTestCase.cpp | 164 + ...hader_bitfield_operation_frexpTestCase.cpp | 104 + ...itfield_operation_imulExtendedTestCase.cpp | 88 + ...hader_bitfield_operation_ldexpTestCase.cpp | 104 + ...itfield_operation_packSnorm4x8TestCase.cpp | 40 + ...itfield_operation_packUnorm4x8TestCase.cpp | 40 + ...r_bitfield_operation_uaddCarryTestCase.cpp | 88 + ...itfield_operation_umulExtendedTestCase.cpp | 88 + ...field_operation_unpackSnorm4x8TestCase.cpp | 40 + ...field_operation_unpackUnorm4x8TestCase.cpp | 40 + ..._bitfield_operation_usubBorrowTestCase.cpp | 88 + ..._multisample_interpolation_apiTestCase.cpp | 28 + ...compilation_and_linking_errorsTestCase.cpp | 96 + ...es31tessellation_shader_singleTestCase.cpp | 52 + ...rol_to_tessellation_evaluationTestCase.cpp | 44 + ...shader_tessellation_invarianceTestCase.cpp | 52 + ...tessellation_shader_point_modeTestCase.cpp | 32 + ...tion_shader_quads_tessellationTestCase.cpp | 32 + ...essellation_shader_tc_barriersTestCase.cpp | 36 + ...ssellation_shader_tessellationTestCase.cpp | 44 + ..._shader_triangles_tessellationTestCase.cpp | 36 + ...es31tessellation_shader_vertexTestCase.cpp | 32 + ...s31tessellation_shader_windingTestCase.cpp | 40 + ...Khrgles31teximage2d_r11g11b10fTestCase.cpp | 48 + .../core/Khrgles31teximage2d_r16fTestCase.cpp | 48 + .../core/Khrgles31teximage2d_r16iTestCase.cpp | 48 + .../Khrgles31teximage2d_r16uiTestCase.cpp | 48 + .../core/Khrgles31teximage2d_r32fTestCase.cpp | 48 + .../core/Khrgles31teximage2d_r32iTestCase.cpp | 48 + .../Khrgles31teximage2d_r32uiTestCase.cpp | 48 + .../core/Khrgles31teximage2d_r8TestCase.cpp | 48 + .../core/Khrgles31teximage2d_r8iTestCase.cpp | 48 + .../Khrgles31teximage2d_r8snormTestCase.cpp | 48 + .../core/Khrgles31teximage2d_r8uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rg16fTestCase.cpp | 48 + .../Khrgles31teximage2d_rg16iTestCase.cpp | 48 + .../Khrgles31teximage2d_rg16uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rg32fTestCase.cpp | 48 + .../Khrgles31teximage2d_rg32iTestCase.cpp | 48 + .../Khrgles31teximage2d_rg32uiTestCase.cpp | 48 + .../core/Khrgles31teximage2d_rg8TestCase.cpp | 48 + .../core/Khrgles31teximage2d_rg8iTestCase.cpp | 48 + .../Khrgles31teximage2d_rg8snormTestCase.cpp | 48 + .../Khrgles31teximage2d_rg8uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb10a2TestCase.cpp | 48 + .../Khrgles31teximage2d_rgb10a2uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb16fTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb16iTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb16uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb32fTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb32iTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb32uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb565TestCase.cpp | 48 + .../Khrgles31teximage2d_rgb5a1TestCase.cpp | 48 + .../core/Khrgles31teximage2d_rgb8TestCase.cpp | 48 + .../Khrgles31teximage2d_rgb8iTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb8snormTestCase.cpp | 48 + .../Khrgles31teximage2d_rgb8uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba16fTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba16iTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba16uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba32fTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba32iTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba32uiTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba4TestCase.cpp | 48 + .../Khrgles31teximage2d_rgba8TestCase.cpp | 48 + .../Khrgles31teximage2d_rgba8iTestCase.cpp | 48 + ...Khrgles31teximage2d_rgba8snormTestCase.cpp | 48 + .../Khrgles31teximage2d_rgba8uiTestCase.cpp | 48 + ...Khrgles31teximage3d_r11g11b10fTestCase.cpp | 64 + .../core/Khrgles31teximage3d_r16fTestCase.cpp | 64 + .../core/Khrgles31teximage3d_r16iTestCase.cpp | 64 + .../Khrgles31teximage3d_r16uiTestCase.cpp | 64 + .../core/Khrgles31teximage3d_r32fTestCase.cpp | 64 + .../core/Khrgles31teximage3d_r32iTestCase.cpp | 64 + .../Khrgles31teximage3d_r32uiTestCase.cpp | 64 + .../core/Khrgles31teximage3d_r8TestCase.cpp | 64 + .../core/Khrgles31teximage3d_r8iTestCase.cpp | 64 + .../Khrgles31teximage3d_r8snormTestCase.cpp | 64 + .../core/Khrgles31teximage3d_r8uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rg16fTestCase.cpp | 64 + .../Khrgles31teximage3d_rg16iTestCase.cpp | 64 + .../Khrgles31teximage3d_rg16uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rg32fTestCase.cpp | 64 + .../Khrgles31teximage3d_rg32iTestCase.cpp | 64 + .../Khrgles31teximage3d_rg32uiTestCase.cpp | 64 + .../core/Khrgles31teximage3d_rg8TestCase.cpp | 64 + .../core/Khrgles31teximage3d_rg8iTestCase.cpp | 64 + .../Khrgles31teximage3d_rg8snormTestCase.cpp | 64 + .../Khrgles31teximage3d_rg8uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb10a2TestCase.cpp | 64 + .../Khrgles31teximage3d_rgb10a2uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb16fTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb16iTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb16uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb32fTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb32iTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb32uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb565TestCase.cpp | 64 + .../Khrgles31teximage3d_rgb5a1TestCase.cpp | 64 + .../core/Khrgles31teximage3d_rgb8TestCase.cpp | 64 + .../Khrgles31teximage3d_rgb8iTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb8snormTestCase.cpp | 64 + .../Khrgles31teximage3d_rgb8uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba16fTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba16iTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba16uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba32fTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba32iTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba32uiTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba4TestCase.cpp | 64 + .../Khrgles31teximage3d_rgba8TestCase.cpp | 64 + .../Khrgles31teximage3d_rgba8iTestCase.cpp | 64 + ...Khrgles31teximage3d_rgba8snormTestCase.cpp | 64 + .../Khrgles31teximage3d_rgba8uiTestCase.cpp | 64 + ...ge_multisample_APIDependenciesTestCase.cpp | 80 + ...tisample_APIGLGetActiveUniformTestCase.cpp | 28 + ...tisample_APIGLGetMultisamplefvTestCase.cpp | 60 + ...e_APIGLGetTexLevelParameterifvTestCase.cpp | 44 + ...e_APIGLTexStorage2DMultisampleTestCase.cpp | 64 + ...e_APIGLTexStorage3DMultisampleTestCase.cpp | 60 + ...ge_multisample_FunctionalTestsTestCase.cpp | 52 + ...storage_multisample_GLCoverageTestCase.cpp | 40 + ...aders_aggressive_optimizationsTestCase.cpp | 72 + ...rgles31shaders_layout_locationTestCase.cpp | 136 + .../Khrgles31shaders_negativeTestCase.cpp | 32 + 281 files changed, 21486 insertions(+) create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.h create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.h create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.h create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.h create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.h create mode 100644 graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.cpp create mode 100644 graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.h create mode 100644 graphic/vkgl/src/khrgles31/build0001/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles31/build0001/Test.json create mode 100644 graphic/vkgl/src/khrgles31/build0001/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles31/build0002/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles31/build0002/Test.json create mode 100644 graphic/vkgl/src/khrgles31/build0002/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles31/build0003/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles31/build0003/Test.json create mode 100644 graphic/vkgl/src/khrgles31/build0003/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles31/build0004/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles31/build0004/Test.json create mode 100644 graphic/vkgl/src/khrgles31/build0004/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_BlendEquationSeparateTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_MRTTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_allTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_specificTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_coherentTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_extension_directiveTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_mismatching_qualifierTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_missing_qualifierTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_preprocessorTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_test_coherencyTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_formatTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_arrays_of_arraysTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_compute_shaderTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_buffers_indexedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_indirectTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_explicit_uniform_locationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_completenessTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_no_attachmentsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_gpu_shader5TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_layout_bindingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_nearest_edgeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_polygon_offset_clampTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_program_interface_queryTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_sepshaderobjsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_atomic_countersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_load_storeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_sizeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_integer_mixTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_macrosTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_storage_buffer_objectTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_border_clampTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_cube_map_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_gatherTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_vertex_attrib_bindingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31core_viewport_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_adjacencyTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_blittingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_clippingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_constant_variablesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_fboTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_renderingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_limitsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_linkingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_nonarray_inputTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_outputTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_counterTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_queriesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_program_resourceTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_qualifiersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_copy_tex_imageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_renderbufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_texture2dTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31position_fixedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31position_non-fixedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rendering_renderingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_4TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_0TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_1TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_2TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_4TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31sample_shading_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31sample_variables_verificationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_compilation_and_linking_errorsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_singleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_invarianceTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_point_modeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_windingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r11g11b10fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb565TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb5a1TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba4TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb565TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb5a1TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba4TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8iTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8snormTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_aggressive_optimizationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_layout_locationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_negativeTestCase.cpp diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.cpp b/graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.cpp new file mode 100644 index 000000000..7763bf91e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles31BaseFunc.h" +#include "ActsKhrgles310001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles310001TestSuite::startTime; + time_t ActsKhrgles310001TestSuite::endTime; + FuncRunResult ActsKhrgles310001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles310001TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles310001TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles310001TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles310001TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.h b/graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.h new file mode 100644 index 000000000..0e67f6b59 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES31_TESTCASE_H +#define KHRGLES31_TESTCASE_H + +#include +#include "Khrgles31BaseFunc.h" + +namespace OHOS { + class ActsKhrgles310001TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES31_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.cpp b/graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.cpp new file mode 100644 index 000000000..f0db88369 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles31BaseFunc.h" +#include "ActsKhrgles310002TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles310002TestSuite::startTime; + time_t ActsKhrgles310002TestSuite::endTime; + FuncRunResult ActsKhrgles310002TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles310002TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles310002TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles310002TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles310002TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.h b/graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.h new file mode 100644 index 000000000..db5794b97 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310002TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES31_TESTCASE_H +#define KHRGLES31_TESTCASE_H + +#include +#include "Khrgles31BaseFunc.h" + +namespace OHOS { + class ActsKhrgles310002TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES31_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.cpp b/graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.cpp new file mode 100644 index 000000000..ce49f3bb2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles31BaseFunc.h" +#include "ActsKhrgles310003TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles310003TestSuite::startTime; + time_t ActsKhrgles310003TestSuite::endTime; + FuncRunResult ActsKhrgles310003TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles310003TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles310003TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles310003TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles310003TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.h b/graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.h new file mode 100644 index 000000000..726ccb7f9 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310003TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES31_TESTCASE_H +#define KHRGLES31_TESTCASE_H + +#include +#include "Khrgles31BaseFunc.h" + +namespace OHOS { + class ActsKhrgles310003TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES31_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.cpp b/graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.cpp new file mode 100644 index 000000000..26ca83eb0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles31BaseFunc.h" +#include "ActsKhrgles310004TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles310004TestSuite::startTime; + time_t ActsKhrgles310004TestSuite::endTime; + FuncRunResult ActsKhrgles310004TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles310004TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles310004TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles310004TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles310004TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.h b/graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.h new file mode 100644 index 000000000..bd57429dd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles310004TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES31_TESTCASE_H +#define KHRGLES31_TESTCASE_H + +#include +#include "Khrgles31BaseFunc.h" + +namespace OHOS { + class ActsKhrgles310004TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES31_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.cpp b/graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.cpp new file mode 100644 index 000000000..bcd4e5006 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles31BaseFunc.h" +#include "ActsKhrgles31TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles31TestSuite::startTime; + time_t ActsKhrgles31TestSuite::endTime; + FuncRunResult ActsKhrgles31TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles31TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles31TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles31TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles31TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.h b/graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.h new file mode 100644 index 000000000..6841d9f9c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/ActsKhrgles31TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES31_TESTCASE_H +#define KHRGLES31_TESTCASE_H + +#include +#include "Khrgles31BaseFunc.h" + +namespace OHOS { + class ActsKhrgles31TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES31_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.cpp b/graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.cpp new file mode 100644 index 000000000..b7b075750 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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. + */ + +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "Khrgles31BaseFunc.h" + +static tcu::TestPackage* createKhrgles31Package(tcu::TestContext& testCtx) +{ + return new es31cts::ES31TestPackage(testCtx, "KHR-GLES31"); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("KHR-GLES31", createKhrgles31Package); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.h b/graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.h new file mode 100644 index 000000000..f4784cf1a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/Khrgles31BaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef KHRGLES31_FUNC_H +#define KHRGLES31_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // KHRGLES31_FUNC_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0001/BUILD.gn b/graphic/vkgl/src/khrgles31/build0001/BUILD.gn new file mode 100644 index 000000000..fa01d9970 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0001/BUILD.gn @@ -0,0 +1,153 @@ +# 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" ] +} diff --git a/graphic/vkgl/src/khrgles31/build0001/Test.json b/graphic/vkgl/src/khrgles31/build0001/Test.json new file mode 100644 index 000000000..3707145d3 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0001/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles31TestSuite0001 test cases", + "driver": { + "module-name": "ActsKhrgles31TestSuite0001", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles31TestSuite0001->/data/local/tmp/ActsKhrgles31TestSuite0001", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0001/logdefine.cpp b/graphic/vkgl/src/khrgles31/build0001/logdefine.cpp new file mode 100644 index 000000000..3a2ce0ac2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0001/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles31TestSuite0001.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0002/BUILD.gn b/graphic/vkgl/src/khrgles31/build0002/BUILD.gn new file mode 100644 index 000000000..ec037be3e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0002/BUILD.gn @@ -0,0 +1,72 @@ +# 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("libkhrgles31func0002") { + 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("ActsKhrgles31TestSuite0002") { + sources = [ + "../ActsKhrgles310002TestSuite.cpp", + "../core/Khrgles31blend_equation_advanced_BlendEquationSeparateTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_MRTTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_blend_allTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_blend_specificTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_coherentTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_extension_directiveTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_mismatching_qualifierTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_missing_qualifierTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_preprocessorTestCase.cpp", + "../core/Khrgles31blend_equation_advanced_test_coherencyTestCase.cpp", + "../core/Khrgles31core_compute_shaderTestCase.cpp", + "../core/Khrgles31core_shader_macrosTestCase.cpp", + "../core/Khrgles31core_shader_storage_buffer_objectTestCase.cpp", + "../core/Khrgles31core_vertex_attrib_bindingTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles31func0002" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles31/build0002/Test.json b/graphic/vkgl/src/khrgles31/build0002/Test.json new file mode 100644 index 000000000..6e84e7baf --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0002/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles31TestSuite0002 test cases", + "driver": { + "module-name": "ActsKhrgles31TestSuite0002", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles31TestSuite0002->/data/local/tmp/ActsKhrgles31TestSuite0002", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0002/logdefine.cpp b/graphic/vkgl/src/khrgles31/build0002/logdefine.cpp new file mode 100644 index 000000000..241ed512c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0002/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles31TestSuite0002.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0003/BUILD.gn b/graphic/vkgl/src/khrgles31/build0003/BUILD.gn new file mode 100644 index 000000000..af8c2bbd2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0003/BUILD.gn @@ -0,0 +1,158 @@ +# 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("libkhrgles31func0003") { + 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("ActsKhrgles31TestSuite0003") { + sources = [ + "../ActsKhrgles310003TestSuite.cpp", + "../core/Khrgles31compressed_format_apiTestCase.cpp", + "../core/Khrgles31compressed_format_formatTestCase.cpp", + "../core/Khrgles31core_arrays_of_arraysTestCase.cpp", + "../core/Khrgles31core_draw_buffers_indexedTestCase.cpp", + "../core/Khrgles31core_draw_indirectTestCase.cpp", + "../core/Khrgles31core_explicit_uniform_locationTestCase.cpp", + "../core/Khrgles31core_framebuffer_completenessTestCase.cpp", + "../core/Khrgles31core_framebuffer_no_attachmentsTestCase.cpp", + "../core/Khrgles31core_gpu_shader5TestCase.cpp", + "../core/Khrgles31core_nearest_edgeTestCase.cpp", + "../core/Khrgles31core_polygon_offset_clampTestCase.cpp", + "../core/Khrgles31core_program_interface_queryTestCase.cpp", + "../core/Khrgles31core_shader_group_voteTestCase.cpp", + "../core/Khrgles31core_shader_image_load_storeTestCase.cpp", + "../core/Khrgles31core_shader_image_sizeTestCase.cpp", + "../core/Khrgles31core_texture_border_clampTestCase.cpp", + "../core/Khrgles31core_texture_bufferTestCase.cpp", + "../core/Khrgles31core_texture_cube_map_arrayTestCase.cpp", + "../core/Khrgles31core_viewport_arrayTestCase.cpp", + "../core/Khrgles31geometry_shader_adjacencyTestCase.cpp", + "../core/Khrgles31geometry_shader_apiTestCase.cpp", + "../core/Khrgles31geometry_shader_blittingTestCase.cpp", + "../core/Khrgles31geometry_shader_clippingTestCase.cpp", + "../core/Khrgles31geometry_shader_constant_variablesTestCase.cpp", + "../core/Khrgles31geometry_shader_inputTestCase.cpp", + "../core/Khrgles31geometry_shader_layered_fboTestCase.cpp", + "../core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp", + "../core/Khrgles31geometry_shader_layered_renderingTestCase.cpp", + "../core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp", + "../core/Khrgles31geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp", + "../core/Khrgles31geometry_shader_limitsTestCase.cpp", + "../core/Khrgles31geometry_shader_linkingTestCase.cpp", + "../core/Khrgles31geometry_shader_nonarray_inputTestCase.cpp", + "../core/Khrgles31geometry_shader_outputTestCase.cpp", + "../core/Khrgles31geometry_shader_primitive_counterTestCase.cpp", + "../core/Khrgles31geometry_shader_primitive_queriesTestCase.cpp", + "../core/Khrgles31geometry_shader_program_resourceTestCase.cpp", + "../core/Khrgles31geometry_shader_qualifiersTestCase.cpp", + "../core/Khrgles31internalformat_copy_tex_imageTestCase.cpp", + "../core/Khrgles31internalformat_renderbufferTestCase.cpp", + "../core/Khrgles31internalformat_texture2dTestCase.cpp", + "../core/Khrgles31rendering_renderingTestCase.cpp", + "../core/Khrgles31tessellation_shader_compilation_and_linking_errorsTestCase.cpp", + "../core/Khrgles31tessellation_shader_singleTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_invarianceTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_shader_point_modeTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_shader_tessellationTestCase.cpp", + "../core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp", + "../core/Khrgles31tessellation_shader_vertexTestCase.cpp", + "../core/Khrgles31tessellation_shader_windingTestCase.cpp", + "../core/Khrgles31teximage2d_r11g11b10fTestCase.cpp", + "../core/Khrgles31teximage2d_r16fTestCase.cpp", + "../core/Khrgles31teximage2d_r16iTestCase.cpp", + "../core/Khrgles31teximage2d_r16uiTestCase.cpp", + "../core/Khrgles31teximage2d_r32fTestCase.cpp", + "../core/Khrgles31teximage2d_r32iTestCase.cpp", + "../core/Khrgles31teximage2d_r32uiTestCase.cpp", + "../core/Khrgles31teximage2d_r8TestCase.cpp", + "../core/Khrgles31teximage2d_r8iTestCase.cpp", + "../core/Khrgles31teximage2d_r8snormTestCase.cpp", + "../core/Khrgles31teximage2d_r8uiTestCase.cpp", + "../core/Khrgles31teximage2d_rg16fTestCase.cpp", + "../core/Khrgles31teximage2d_rg16iTestCase.cpp", + "../core/Khrgles31teximage2d_rg16uiTestCase.cpp", + "../core/Khrgles31teximage2d_rg32fTestCase.cpp", + "../core/Khrgles31teximage2d_rg32iTestCase.cpp", + "../core/Khrgles31teximage2d_rg32uiTestCase.cpp", + "../core/Khrgles31teximage2d_rg8TestCase.cpp", + "../core/Khrgles31teximage2d_rg8iTestCase.cpp", + "../core/Khrgles31teximage2d_rg8snormTestCase.cpp", + "../core/Khrgles31teximage2d_rg8uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgb10a2TestCase.cpp", + "../core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgb16fTestCase.cpp", + "../core/Khrgles31teximage2d_rgb16iTestCase.cpp", + "../core/Khrgles31teximage2d_rgb16uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgb32fTestCase.cpp", + "../core/Khrgles31teximage2d_rgb32iTestCase.cpp", + "../core/Khrgles31teximage2d_rgb32uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgb565TestCase.cpp", + "../core/Khrgles31teximage2d_rgb5a1TestCase.cpp", + "../core/Khrgles31teximage2d_rgb8TestCase.cpp", + "../core/Khrgles31teximage2d_rgb8iTestCase.cpp", + "../core/Khrgles31teximage2d_rgb8snormTestCase.cpp", + "../core/Khrgles31teximage2d_rgb8uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgba16fTestCase.cpp", + "../core/Khrgles31teximage2d_rgba16iTestCase.cpp", + "../core/Khrgles31teximage2d_rgba16uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgba32fTestCase.cpp", + "../core/Khrgles31teximage2d_rgba32iTestCase.cpp", + "../core/Khrgles31teximage2d_rgba32uiTestCase.cpp", + "../core/Khrgles31teximage2d_rgba4TestCase.cpp", + "../core/Khrgles31teximage2d_rgba8TestCase.cpp", + "../core/Khrgles31teximage2d_rgba8iTestCase.cpp", + "../core/Khrgles31teximage2d_rgba8snormTestCase.cpp", + "../core/Khrgles31teximage2d_rgba8uiTestCase.cpp", + "../core/Khrgles31teximage3d_r8TestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles31func0003" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles31/build0003/Test.json b/graphic/vkgl/src/khrgles31/build0003/Test.json new file mode 100644 index 000000000..e7081488a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0003/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles31TestSuite0003 test cases", + "driver": { + "module-name": "ActsKhrgles31TestSuite0003", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles31TestSuite0003->/data/local/tmp/ActsKhrgles31TestSuite0003", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0003/logdefine.cpp b/graphic/vkgl/src/khrgles31/build0003/logdefine.cpp new file mode 100644 index 000000000..f5c9b9211 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0003/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles31TestSuite0003.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0004/BUILD.gn b/graphic/vkgl/src/khrgles31/build0004/BUILD.gn new file mode 100644 index 000000000..098d60de5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0004/BUILD.gn @@ -0,0 +1,106 @@ +# 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("libkhrgles31func0004") { + 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("ActsKhrgles31TestSuite0004") { + sources = [ + "../ActsKhrgles310004TestSuite.cpp", + "../core/Khrgles31teximage3d_r11g11b10fTestCase.cpp", + "../core/Khrgles31teximage3d_r16fTestCase.cpp", + "../core/Khrgles31teximage3d_r16iTestCase.cpp", + "../core/Khrgles31teximage3d_r16uiTestCase.cpp", + "../core/Khrgles31teximage3d_r32fTestCase.cpp", + "../core/Khrgles31teximage3d_r32iTestCase.cpp", + "../core/Khrgles31teximage3d_r32uiTestCase.cpp", + "../core/Khrgles31teximage3d_r8iTestCase.cpp", + "../core/Khrgles31teximage3d_r8snormTestCase.cpp", + "../core/Khrgles31teximage3d_r8uiTestCase.cpp", + "../core/Khrgles31teximage3d_rg16fTestCase.cpp", + "../core/Khrgles31teximage3d_rg16iTestCase.cpp", + "../core/Khrgles31teximage3d_rg16uiTestCase.cpp", + "../core/Khrgles31teximage3d_rg32fTestCase.cpp", + "../core/Khrgles31teximage3d_rg32iTestCase.cpp", + "../core/Khrgles31teximage3d_rg32uiTestCase.cpp", + "../core/Khrgles31teximage3d_rg8TestCase.cpp", + "../core/Khrgles31teximage3d_rg8iTestCase.cpp", + "../core/Khrgles31teximage3d_rg8snormTestCase.cpp", + "../core/Khrgles31teximage3d_rg8uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgb10a2TestCase.cpp", + "../core/Khrgles31teximage3d_rgb10a2uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgb16fTestCase.cpp", + "../core/Khrgles31teximage3d_rgb16iTestCase.cpp", + "../core/Khrgles31teximage3d_rgb16uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgb32fTestCase.cpp", + "../core/Khrgles31teximage3d_rgb32iTestCase.cpp", + "../core/Khrgles31teximage3d_rgb32uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgb565TestCase.cpp", + "../core/Khrgles31teximage3d_rgb5a1TestCase.cpp", + "../core/Khrgles31teximage3d_rgb8TestCase.cpp", + "../core/Khrgles31teximage3d_rgb8iTestCase.cpp", + "../core/Khrgles31teximage3d_rgb8snormTestCase.cpp", + "../core/Khrgles31teximage3d_rgb8uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgba16fTestCase.cpp", + "../core/Khrgles31teximage3d_rgba16iTestCase.cpp", + "../core/Khrgles31teximage3d_rgba16uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgba32fTestCase.cpp", + "../core/Khrgles31teximage3d_rgba32iTestCase.cpp", + "../core/Khrgles31teximage3d_rgba32uiTestCase.cpp", + "../core/Khrgles31teximage3d_rgba4TestCase.cpp", + "../core/Khrgles31teximage3d_rgba8TestCase.cpp", + "../core/Khrgles31teximage3d_rgba8iTestCase.cpp", + "../core/Khrgles31teximage3d_rgba8snormTestCase.cpp", + "../core/Khrgles31teximage3d_rgba8uiTestCase.cpp", + "../shaders/Khrgles31shaders_aggressive_optimizationsTestCase.cpp", + "../shaders/Khrgles31shaders_layout_locationTestCase.cpp", + "../shaders/Khrgles31shaders_negativeTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles31func0004" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles31/build0004/Test.json b/graphic/vkgl/src/khrgles31/build0004/Test.json new file mode 100644 index 000000000..df4f703c9 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0004/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles31TestSuite0004 test cases", + "driver": { + "module-name": "ActsKhrgles31TestSuite0004", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles31TestSuite0004->/data/local/tmp/ActsKhrgles31TestSuite0004", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/build0004/logdefine.cpp b/graphic/vkgl/src/khrgles31/build0004/logdefine.cpp new file mode 100644 index 000000000..b04cbad8a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/build0004/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles31TestSuite0004.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba32fTestCase.cpp new file mode 100644 index 000000000..b000063ce --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000670, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.base.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000671, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.base.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000672, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.base.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8TestCase.cpp new file mode 100644 index 000000000..8217bff20 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000661, + "KHR-GLES31.core.shader_multisample_int", + "erpolation.render.base.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000662, + "KHR-GLES31.core.shader_multisample_int", + "erpolation.render.base.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000663, + "KHR-GLES31.core.shader_multisample_int", + "erpolation.render.base.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8iTestCase.cpp new file mode 100644 index 000000000..9ee5913cc --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000664, + "KHR-GLES31.core.shader_multisample_int", + "erpolation.render.base.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000665, + "KHR-GLES31.core.shader_multisample_int", + "erpolation.render.base.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000666, + "KHR-GLES31.core.shader_multisample_int", + "erpolation.render.base.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8uiTestCase.cpp new file mode 100644 index 000000000..f1a6034d2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31base_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000667, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.base.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000668, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.base.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000669, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.base.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_BlendEquationSeparateTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_BlendEquationSeparateTestCase.cpp new file mode 100644 index 000000000..0519da35c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_BlendEquationSeparateTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001731, + "KHR-GLES31.core.blend_equation_advance", + "d.BlendEquationSeparate.GL_MULTIPLY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001732, + "KHR-GLES31.core.blend_equation_advanc", + "ed.BlendEquationSeparate.GL_SCREEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001733, + "KHR-GLES31.core.blend_equation_advance", + "d.BlendEquationSeparate.GL_OVERLAY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001734, + "KHR-GLES31.core.blend_equation_advanc", + "ed.BlendEquationSeparate.GL_DARKEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001735, + "KHR-GLES31.core.blend_equation_advance", + "d.BlendEquationSeparate.GL_LIGHTEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001736, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_COLORDODGE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001737, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_COLORBURN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001738, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_HARDLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001739, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_SOFTLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001740, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_DIFFERENCE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001741, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_EXCLUSION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001742, + "KHR-GLES31.core.blend_equation_advance", + "d.BlendEquationSeparate.GL_HSL_HUE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001743, + "KHR-GLES31.core.blend_equation_advanced.B", + "lendEquationSeparate.GL_HSL_SATURATION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001744, + "KHR-GLES31.core.blend_equation_advanced", + ".BlendEquationSeparate.GL_HSL_COLOR_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001745, + "KHR-GLES31.core.blend_equation_advanced.B", + "lendEquationSeparate.GL_HSL_LUMINOSITY_KHR"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_MRTTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_MRTTestCase.cpp new file mode 100644 index 000000000..023def930 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_MRTTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001746, + "KHR-GLES31.core.blend_equa", + "tion_advanced.MRT.MRT_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001747, + "KHR-GLES31.core.blend_equati", + "on_advanced.MRT.MRT_separate"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_allTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_allTestCase.cpp new file mode 100644 index 000000000..158b16535 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_allTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001781, + "KHR-GLES31.core.blend_equation_advanced", + ".blend_all.GL_MULTIPLY_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001782, + "KHR-GLES31.core.blend_equation_advance", + "d.blend_all.GL_SCREEN_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001783, + "KHR-GLES31.core.blend_equation_advanced", + ".blend_all.GL_OVERLAY_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001784, + "KHR-GLES31.core.blend_equation_advance", + "d.blend_all.GL_DARKEN_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001785, + "KHR-GLES31.core.blend_equation_advanced", + ".blend_all.GL_LIGHTEN_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001786, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_COLORDODGE_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001787, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_COLORBURN_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001788, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_HARDLIGHT_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001789, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_SOFTLIGHT_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001790, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_DIFFERENCE_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001791, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_EXCLUSION_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001792, + "KHR-GLES31.core.blend_equation_advanced", + ".blend_all.GL_HSL_HUE_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001793, + "KHR-GLES31.core.blend_equation_advanced.bl", + "end_all.GL_HSL_SATURATION_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001794, + "KHR-GLES31.core.blend_equation_advanced.", + "blend_all.GL_HSL_COLOR_KHR_all_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001795, + "KHR-GLES31.core.blend_equation_advanced.bl", + "end_all.GL_HSL_LUMINOSITY_KHR_all_qualifier"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_specificTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_specificTestCase.cpp new file mode 100644 index 000000000..cedd540b3 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_blend_specificTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001796, + "KHR-GLES31.core.blend_equation_adva", + "nced.blend_specific.GL_MULTIPLY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001797, + "KHR-GLES31.core.blend_equation_adv", + "anced.blend_specific.GL_SCREEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001798, + "KHR-GLES31.core.blend_equation_adv", + "anced.blend_specific.GL_OVERLAY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001799, + "KHR-GLES31.core.blend_equation_adv", + "anced.blend_specific.GL_DARKEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001800, + "KHR-GLES31.core.blend_equation_adv", + "anced.blend_specific.GL_LIGHTEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001801, + "KHR-GLES31.core.blend_equation_advan", + "ced.blend_specific.GL_COLORDODGE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001802, + "KHR-GLES31.core.blend_equation_adva", + "nced.blend_specific.GL_COLORBURN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001803, + "KHR-GLES31.core.blend_equation_adva", + "nced.blend_specific.GL_HARDLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001804, + "KHR-GLES31.core.blend_equation_adva", + "nced.blend_specific.GL_SOFTLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001805, + "KHR-GLES31.core.blend_equation_advan", + "ced.blend_specific.GL_DIFFERENCE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001806, + "KHR-GLES31.core.blend_equation_adva", + "nced.blend_specific.GL_EXCLUSION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001807, + "KHR-GLES31.core.blend_equation_adv", + "anced.blend_specific.GL_HSL_HUE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001808, + "KHR-GLES31.core.blend_equation_advance", + "d.blend_specific.GL_HSL_SATURATION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001809, + "KHR-GLES31.core.blend_equation_adva", + "nced.blend_specific.GL_HSL_COLOR_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001810, + "KHR-GLES31.core.blend_equation_advance", + "d.blend_specific.GL_HSL_LUMINOSITY_KHR"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_coherentTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_coherentTestCase.cpp new file mode 100644 index 000000000..2184fa536 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_coherentTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001725, + "KHR-GLES31.core.blend_equation_", + "advanced.coherent.enableDisable"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_extension_directiveTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_extension_directiveTestCase.cpp new file mode 100644 index 000000000..9fcf036f2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_extension_directiveTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001778, + "KHR-GLES31.core.blend_equation_advanced.ext", + "ension_directive.extension_directive_disable"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001779, + "KHR-GLES31.core.blend_equation_advanced.ext", + "ension_directive.extension_directive_enable"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001780, + "KHR-GLES31.core.blend_equation_advanced.ex", + "tension_directive.extension_directive_warn"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_mismatching_qualifierTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_mismatching_qualifierTestCase.cpp new file mode 100644 index 000000000..21c978e71 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_mismatching_qualifierTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001748, + "KHR-GLES31.core.blend_equation_advance", + "d.mismatching_qualifier.GL_MULTIPLY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001749, + "KHR-GLES31.core.blend_equation_advanc", + "ed.mismatching_qualifier.GL_SCREEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001750, + "KHR-GLES31.core.blend_equation_advance", + "d.mismatching_qualifier.GL_OVERLAY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001751, + "KHR-GLES31.core.blend_equation_advanc", + "ed.mismatching_qualifier.GL_DARKEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001752, + "KHR-GLES31.core.blend_equation_advance", + "d.mismatching_qualifier.GL_LIGHTEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001753, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_COLORDODGE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001754, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_COLORBURN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001755, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_HARDLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001756, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_SOFTLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001757, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_DIFFERENCE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001758, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_EXCLUSION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001759, + "KHR-GLES31.core.blend_equation_advance", + "d.mismatching_qualifier.GL_HSL_HUE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001760, + "KHR-GLES31.core.blend_equation_advanced.m", + "ismatching_qualifier.GL_HSL_SATURATION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001761, + "KHR-GLES31.core.blend_equation_advanced", + ".mismatching_qualifier.GL_HSL_COLOR_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001762, + "KHR-GLES31.core.blend_equation_advanced.m", + "ismatching_qualifier.GL_HSL_LUMINOSITY_KHR"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_missing_qualifierTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_missing_qualifierTestCase.cpp new file mode 100644 index 000000000..48e24f1c1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_missing_qualifierTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001763, + "KHR-GLES31.core.blend_equation_advan", + "ced.missing_qualifier.GL_MULTIPLY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001764, + "KHR-GLES31.core.blend_equation_adva", + "nced.missing_qualifier.GL_SCREEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001765, + "KHR-GLES31.core.blend_equation_advan", + "ced.missing_qualifier.GL_OVERLAY_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001766, + "KHR-GLES31.core.blend_equation_adva", + "nced.missing_qualifier.GL_DARKEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001767, + "KHR-GLES31.core.blend_equation_advan", + "ced.missing_qualifier.GL_LIGHTEN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001768, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_COLORDODGE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001769, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_COLORBURN_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001770, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_HARDLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001771, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_SOFTLIGHT_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001772, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_DIFFERENCE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001773, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_EXCLUSION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001774, + "KHR-GLES31.core.blend_equation_advan", + "ced.missing_qualifier.GL_HSL_HUE_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001775, + "KHR-GLES31.core.blend_equation_advanced", + ".missing_qualifier.GL_HSL_SATURATION_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001776, + "KHR-GLES31.core.blend_equation_advanc", + "ed.missing_qualifier.GL_HSL_COLOR_KHR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001777, + "KHR-GLES31.core.blend_equation_advanced", + ".missing_qualifier.GL_HSL_LUMINOSITY_KHR"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_preprocessorTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_preprocessorTestCase.cpp new file mode 100644 index 000000000..885e36c67 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_preprocessorTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001726, + "KHR-GLES31.core.blend_equati", + "on_advanced.preprocessor.none"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001727, + "KHR-GLES31.core.blend_equation", + "_advanced.preprocessor.require"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001728, + "KHR-GLES31.core.blend_equatio", + "n_advanced.preprocessor.enable"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001729, + "KHR-GLES31.core.blend_equati", + "on_advanced.preprocessor.warn"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001730, + "KHR-GLES31.core.blend_equation", + "_advanced.preprocessor.disable"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_test_coherencyTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_test_coherencyTestCase.cpp new file mode 100644 index 000000000..6fe255575 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31blend_equation_advanced_test_coherencyTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001811, + "KHR-GLES31.core.blend_equation_adv", + "anced.test_coherency.mixedSequence"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001812, + "KHR-GLES31.core.blend_equation_adva", + "nced.test_coherency.multiplySequence"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba32fTestCase.cpp new file mode 100644 index 000000000..d193af99a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000694, + "KHR-GLES31.core.shader_multisample_interp", + "olation.render.centroid.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000695, + "KHR-GLES31.core.shader_multisample_interp", + "olation.render.centroid.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000696, + "KHR-GLES31.core.shader_multisample_interp", + "olation.render.centroid.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8TestCase.cpp new file mode 100644 index 000000000..c73c316bc --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000685, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.centroid.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000686, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.centroid.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000687, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.centroid.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8iTestCase.cpp new file mode 100644 index 000000000..8f1750ad2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000688, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.centroid.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000689, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.centroid.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000690, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.centroid.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8uiTestCase.cpp new file mode 100644 index 000000000..02f510c52 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31centroid_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000691, + "KHR-GLES31.core.shader_multisample_interp", + "olation.render.centroid.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000692, + "KHR-GLES31.core.shader_multisample_interp", + "olation.render.centroid.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000693, + "KHR-GLES31.core.shader_multisample_interp", + "olation.render.centroid.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_apiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_apiTestCase.cpp new file mode 100644 index 000000000..fa9a00389 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_apiTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002385, + "KHR-GLES31.core.compressed", + "_format.api.invalid_target"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002386, + "KHR-GLES31.core.compressed_for", + "mat.api.invalid_width_or_height"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002387, + "KHR-GLES31.core.compressed_forma", + "t.api.invalid_size_value_negative"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002388, + "KHR-GLES31.core.compressed_for", + "mat.api.invalid_border_nonzero"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002389, + "KHR-GLES31.core.compressed_for", + "mat.api.invalid_format_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002390, + "KHR-GLES31.core.compressed_", + "format.api.invalid_target_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002391, + "KHR-GLES31.core.compressed_format.api", + ".texstorage_accepts_compressed_format"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002392, + "KHR-GLES31.core.compressed_format.api.", + "invalid_teximage_with_compressed_format"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002393, + "KHR-GLES31.core.compressed", + "_format.api.invalid_format"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002394, + "KHR-GLES31.core.compressed_format.", + "api.invalid_too_small_unpack_buffer"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002395, + "KHR-GLES31.core.compressed_format.", + "api.invalid_inconsistent_data_size"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002396, + "KHR-GLES31.core.compressed_for", + "mat.api.invalid_offset_or_size"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_formatTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_formatTestCase.cpp new file mode 100644 index 000000000..e1adee3ce --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31compressed_format_formatTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002397, + "KHR-GLES31.core.compress", + "ed_format.format.r11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002398, + "KHR-GLES31.core.compressed_", + "format.format.signed_r11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002399, + "KHR-GLES31.core.compress", + "ed_format.format.rg11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002400, + "KHR-GLES31.core.compressed_f", + "ormat.format.signed_rg11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002401, + "KHR-GLES31.core.compresse", + "d_format.format.rgb8_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002402, + "KHR-GLES31.core.compresse", + "d_format.format.srgb8_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002403, + "KHR-GLES31.core.compressed_format.f", + "ormat.rgb8_punchthrough_alpha1_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002404, + "KHR-GLES31.core.compressed_format.f", + "ormat.srgb8_punchthrough_alpha1_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002405, + "KHR-GLES31.core.compressed_", + "format.format.rgba8_etc2_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002406, + "KHR-GLES31.core.compressed_form", + "at.format.srgb8_alpha8_etc2_eac"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_arrays_of_arraysTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_arrays_of_arraysTestCase.cpp new file mode 100644 index 000000000..c141774dd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_arrays_of_arraysTestCase.cpp @@ -0,0 +1,296 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002190, + "KHR-GLES31.core.arrays_of_arr", + "ays.SizedDeclarationsPrimitive"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002191, + "KHR-GLES31.core.arrays_of_array", + "s.SizedDeclarationsStructTypes1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002192, + "KHR-GLES31.core.arrays_of_array", + "s.SizedDeclarationsStructTypes2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002193, + "KHR-GLES31.core.arrays_of_array", + "s.SizedDeclarationsStructTypes3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002194, + "KHR-GLES31.core.arrays_of_array", + "s.SizedDeclarationsStructTypes4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002195, + "KHR-GLES31.core.arrays_of_arrays", + ".SizedDeclarationsTypenameStyle1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002196, + "KHR-GLES31.core.arrays_of_arrays", + ".SizedDeclarationsTypenameStyle2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002197, + "KHR-GLES31.core.arrays_of_arrays", + ".SizedDeclarationsTypenameStyle3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002198, + "KHR-GLES31.core.arrays_of_arrays", + ".SizedDeclarationsTypenameStyle4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002199, + "KHR-GLES31.core.arrays_of_arrays", + ".SizedDeclarationsTypenameStyle5"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002200, + "KHR-GLES31.core.arrays_of_arrays", + ".SizedDeclarationsFunctionParams"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002201, + "KHR-GLES31.core.arrays_of_arrays.", + "sized_declarations_invalid_sizes1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002202, + "KHR-GLES31.core.arrays_of_arrays.", + "sized_declarations_invalid_sizes2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002203, + "KHR-GLES31.core.arrays_of_arrays.", + "sized_declarations_invalid_sizes3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002204, + "KHR-GLES31.core.arrays_of_arrays.", + "sized_declarations_invalid_sizes4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002205, + "KHR-GLES31.core.arrays_of_arrays.Con", + "structorsAndUnsizedDeclConstructors1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002206, + "KHR-GLES31.core.arrays_of_arrays.Con", + "structorsAndUnsizedDeclConstructors2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002207, + "KHR-GLES31.core.arrays_of_arrays.Constr", + "uctorsAndUnsizedDeclUnsizedConstructors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002208, + "KHR-GLES31.core.arrays_of_arrays", + ".ConstructorsAndUnsizedDeclConst"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002209, + "KHR-GLES31.core.arrays_of_arrays.Constr", + "uctorsAndUnsizedDeclInvalidConstructors1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002210, + "KHR-GLES31.core.arrays_of_arrays.Constr", + "uctorsAndUnsizedDeclInvalidConstructors2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002211, + "KHR-GLES31.core.arrays_of_arrays.Constr", + "uctorsAndUnsizedDeclInvalidConstructors3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002212, + "KHR-GLES31.core.arrays_of_arrays.Constr", + "uctorsAndUnsizedDeclInvalidConstructors4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002213, + "KHR-GLES31.core.arrays_of_arrays.Const", + "ructorsAndUnsizedDeclConstructorSizing1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002214, + "KHR-GLES31.core.arrays_of_arrays.Const", + "ructorsAndUnsizedDeclConstructorSizing2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002215, + "KHR-GLES31.core.arrays_of_arrays.Const", + "ructorsAndUnsizedDeclStructConstructors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002216, + "KHR-GLES31.core.arrays_of_arrays.Con", + "structorsAndUnsizedDeclUnsizedArrays1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002217, + "KHR-GLES31.core.arrays_of_arrays.Con", + "structorsAndUnsizedDeclUnsizedArrays2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002218, + "KHR-GLES31.core.arrays_of_arrays.Con", + "structorsAndUnsizedDeclUnsizedArrays3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002219, + "KHR-GLES31.core.arrays_of_arrays.Con", + "structorsAndUnsizedDeclUnsizedArrays4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002220, + "KHR-GLES31.core.arrays_of_a", + "rrays.ExpressionsAssignment1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002221, + "KHR-GLES31.core.arrays_of_a", + "rrays.ExpressionsAssignment2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002222, + "KHR-GLES31.core.arrays_of_a", + "rrays.ExpressionsAssignment3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002223, + "KHR-GLES31.core.arrays_of_arra", + "ys.ExpressionsTypeRestrictions1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002224, + "KHR-GLES31.core.arrays_of_arra", + "ys.ExpressionsTypeRestrictions2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002225, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingScalar1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002226, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingScalar2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002227, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingScalar3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002228, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingScalar4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002229, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingArray1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002230, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingArray2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002231, + "KHR-GLES31.core.arrays_of_arr", + "ays.ExpressionsIndexingArray3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002232, + "KHR-GLES31.core.arrays_of_arra", + "ys.ExpressionsDynamicIndexing1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002233, + "KHR-GLES31.core.arrays_of_arra", + "ys.ExpressionsDynamicIndexing2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002234, + "KHR-GLES31.core.arrays_of_", + "arrays.ExpressionsEquality1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002235, + "KHR-GLES31.core.arrays_of_", + "arrays.ExpressionsEquality2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002236, + "KHR-GLES31.core.arrays_of", + "_arrays.ExpressionsLength1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002237, + "KHR-GLES31.core.arrays_of", + "_arrays.ExpressionsLength2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002238, + "KHR-GLES31.core.arrays_of", + "_arrays.ExpressionsLength3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002239, + "KHR-GLES31.core.arrays_of_", + "arrays.ExpressionsInvalid1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002240, + "KHR-GLES31.core.arrays_of_", + "arrays.ExpressionsInvalid2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002241, + "KHR-GLES31.core.arrays_of_arr", + "ays.InteractionFunctionCalls1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002242, + "KHR-GLES31.core.arrays_of_arr", + "ays.InteractionFunctionCalls2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002243, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionArgumentAliasing1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002244, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionArgumentAliasing2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002245, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionArgumentAliasing3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002246, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionArgumentAliasing4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002247, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionArgumentAliasing5"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002248, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionArgumentAliasing6"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002249, + "KHR-GLES31.core.arrays_of_", + "arrays.InteractionUniforms1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002250, + "KHR-GLES31.core.arrays_of_", + "arrays.InteractionUniforms2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002251, + "KHR-GLES31.core.arrays_of_arr", + "ays.InteractionUniformBuffers1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002252, + "KHR-GLES31.core.arrays_of_arr", + "ays.InteractionUniformBuffers2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002253, + "KHR-GLES31.core.arrays_of_arr", + "ays.InteractionUniformBuffers3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002254, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionInterfaceArrays1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002255, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionInterfaceArrays2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002256, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionInterfaceArrays3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002257, + "KHR-GLES31.core.arrays_of_arra", + "ys.InteractionInterfaceArrays4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_compute_shaderTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_compute_shaderTestCase.cpp new file mode 100644 index 000000000..9831f5ad7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_compute_shaderTestCase.cpp @@ -0,0 +1,172 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001964, + "KHR-GLES31.core.comput", + "e_shader.simple-compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001965, + "KHR-GLES31.core.comput", + "e_shader.one-work-group"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001966, + "KHR-GLES31.core.compu", + "te_shader.resource-ubo"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001967, + "KHR-GLES31.core.compute", + "_shader.resource-texture"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001968, + "KHR-GLES31.core.comput", + "e_shader.resource-image"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001969, + "KHR-GLES31.core.compute_sha", + "der.resource-atomic-counter"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001970, + "KHR-GLES31.core.compute", + "_shader.resource-uniform"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001971, + "KHR-GLES31.core.compute_", + "shader.built-in-variables"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001972, + "KHR-GLES31.core.c", + "ompute_shader.max"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001973, + "KHR-GLES31.core.compute", + "_shader.work-group-size"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001974, + "KHR-GLES31.core.compute", + "_shader.build-separable"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001975, + "KHR-GLES31.core.comput", + "e_shader.shared-simple"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001976, + "KHR-GLES31.core.comput", + "e_shader.shared-struct"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001977, + "KHR-GLES31.core.compute_", + "shader.dispatch-indirect"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001978, + "KHR-GLES31.core.compute_s", + "hader.sso-compute-pipeline"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001979, + "KHR-GLES31.core.comp", + "ute_shader.sso-case2"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001980, + "KHR-GLES31.core.comp", + "ute_shader.sso-case3"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001981, + "KHR-GLES31.core.compu", + "te_shader.atomic-case1"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001982, + "KHR-GLES31.core.compu", + "te_shader.atomic-case2"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001983, + "KHR-GLES31.core.compu", + "te_shader.atomic-case3"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001984, + "KHR-GLES31.core.comp", + "ute_shader.copy-image"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001985, + "KHR-GLES31.core.compute", + "_shader.pipeline-pre-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001986, + "KHR-GLES31.core.compute_shad", + "er.pipeline-gen-draw-commands"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001987, + "KHR-GLES31.core.compute_sh", + "ader.pipeline-compute-chain"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001988, + "KHR-GLES31.core.compute", + "_shader.pipeline-post-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001989, + "KHR-GLES31.core.compute_", + "shader.pipeline-post-xfb"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001990, + "KHR-GLES31.core.compute", + "_shader.shared-indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001991, + "KHR-GLES31.core.comp", + "ute_shader.shared-max"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001992, + "KHR-GLES31.core.comput", + "e_shader.resources-max"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001993, + "KHR-GLES31.core.compute_sh", + "ader.work-group-size-usage"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001994, + "KHR-GLES31.core.compute_sh", + "ader.api-no-active-program"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001995, + "KHR-GLES31.core.compute_s", + "hader.api-work-group-count"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001996, + "KHR-GLES31.core.compu", + "te_shader.api-indirect"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001997, + "KHR-GLES31.core.compu", + "te_shader.api-program"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001998, + "KHR-GLES31.core.compute_sha", + "der.glsl-compile-time-errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001999, + "KHR-GLES31.core.compute_sh", + "ader.glsl-link-time-errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_002000, + "KHR-GLES31.core.compute_", + "shader.api-attach-shader"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase.cpp new file mode 100644 index 000000000..bb66331d2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_constant_expressionsTestCase.cpp @@ -0,0 +1,3736 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000797, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000798, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000799, + "KHR-GLES31.core.constant_expressio", + "ns.basic_radians_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000800, + "KHR-GLES31.core.constant_expressi", + "ons.basic_radians_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000801, + "KHR-GLES31.core.constant_expres", + "sions.basic_radians_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000802, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000803, + "KHR-GLES31.core.constant_expressio", + "ns.basic_radians_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000804, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000805, + "KHR-GLES31.core.constant_expres", + "sions.basic_radians_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000806, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000807, + "KHR-GLES31.core.constant_expressio", + "ns.basic_radians_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000808, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000809, + "KHR-GLES31.core.constant_expres", + "sions.basic_radians_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000810, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000811, + "KHR-GLES31.core.constant_expressio", + "ns.basic_radians_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000812, + "KHR-GLES31.core.constant_express", + "ions.basic_radians_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000813, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000814, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000815, + "KHR-GLES31.core.constant_expressio", + "ns.basic_degrees_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000816, + "KHR-GLES31.core.constant_expressi", + "ons.basic_degrees_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000817, + "KHR-GLES31.core.constant_expres", + "sions.basic_degrees_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000818, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000819, + "KHR-GLES31.core.constant_expressio", + "ns.basic_degrees_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000820, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000821, + "KHR-GLES31.core.constant_expres", + "sions.basic_degrees_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000822, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000823, + "KHR-GLES31.core.constant_expressio", + "ns.basic_degrees_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000824, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000825, + "KHR-GLES31.core.constant_expres", + "sions.basic_degrees_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000826, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000827, + "KHR-GLES31.core.constant_expressio", + "ns.basic_degrees_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000828, + "KHR-GLES31.core.constant_express", + "ions.basic_degrees_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000829, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000830, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000831, + "KHR-GLES31.core.constant_express", + "ions.basic_sin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000832, + "KHR-GLES31.core.constant_expres", + "sions.basic_sin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000833, + "KHR-GLES31.core.constant_expr", + "essions.basic_sin_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000834, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000835, + "KHR-GLES31.core.constant_express", + "ions.basic_sin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000836, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000837, + "KHR-GLES31.core.constant_expr", + "essions.basic_sin_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000838, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000839, + "KHR-GLES31.core.constant_express", + "ions.basic_sin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000840, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000841, + "KHR-GLES31.core.constant_expr", + "essions.basic_sin_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000842, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000843, + "KHR-GLES31.core.constant_express", + "ions.basic_sin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000844, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000845, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000846, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000847, + "KHR-GLES31.core.constant_express", + "ions.basic_cos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000848, + "KHR-GLES31.core.constant_expres", + "sions.basic_cos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000849, + "KHR-GLES31.core.constant_expr", + "essions.basic_cos_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000850, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000851, + "KHR-GLES31.core.constant_express", + "ions.basic_cos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000852, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000853, + "KHR-GLES31.core.constant_expr", + "essions.basic_cos_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000854, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000855, + "KHR-GLES31.core.constant_express", + "ions.basic_cos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000856, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000857, + "KHR-GLES31.core.constant_expr", + "essions.basic_cos_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000858, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000859, + "KHR-GLES31.core.constant_express", + "ions.basic_cos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000860, + "KHR-GLES31.core.constant_expre", + "ssions.basic_cos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000861, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000862, + "KHR-GLES31.core.constant_expres", + "sions.basic_asin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000863, + "KHR-GLES31.core.constant_expressi", + "ons.basic_asin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000864, + "KHR-GLES31.core.constant_expres", + "sions.basic_asin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000865, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000866, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000867, + "KHR-GLES31.core.constant_express", + "ions.basic_asin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000868, + "KHR-GLES31.core.constant_expres", + "sions.basic_asin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000869, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000870, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000871, + "KHR-GLES31.core.constant_express", + "ions.basic_asin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000872, + "KHR-GLES31.core.constant_expres", + "sions.basic_asin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000873, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000874, + "KHR-GLES31.core.constant_expre", + "ssions.basic_asin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000875, + "KHR-GLES31.core.constant_express", + "ions.basic_asin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000876, + "KHR-GLES31.core.constant_expres", + "sions.basic_asin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000877, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000878, + "KHR-GLES31.core.constant_expres", + "sions.basic_acos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000879, + "KHR-GLES31.core.constant_expressi", + "ons.basic_acos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000880, + "KHR-GLES31.core.constant_expres", + "sions.basic_acos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000881, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000882, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000883, + "KHR-GLES31.core.constant_express", + "ions.basic_acos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000884, + "KHR-GLES31.core.constant_expres", + "sions.basic_acos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000885, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000886, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000887, + "KHR-GLES31.core.constant_express", + "ions.basic_acos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000888, + "KHR-GLES31.core.constant_expres", + "sions.basic_acos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000889, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000890, + "KHR-GLES31.core.constant_expre", + "ssions.basic_acos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000891, + "KHR-GLES31.core.constant_express", + "ions.basic_acos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000892, + "KHR-GLES31.core.constant_expres", + "sions.basic_acos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000893, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000894, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000895, + "KHR-GLES31.core.constant_express", + "ions.basic_pow_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000896, + "KHR-GLES31.core.constant_expres", + "sions.basic_pow_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000897, + "KHR-GLES31.core.constant_expr", + "essions.basic_pow_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000898, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000899, + "KHR-GLES31.core.constant_express", + "ions.basic_pow_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000900, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000901, + "KHR-GLES31.core.constant_expr", + "essions.basic_pow_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000902, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000903, + "KHR-GLES31.core.constant_express", + "ions.basic_pow_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000904, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000905, + "KHR-GLES31.core.constant_expr", + "essions.basic_pow_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000906, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000907, + "KHR-GLES31.core.constant_express", + "ions.basic_pow_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000908, + "KHR-GLES31.core.constant_expre", + "ssions.basic_pow_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000909, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000910, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000911, + "KHR-GLES31.core.constant_express", + "ions.basic_exp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000912, + "KHR-GLES31.core.constant_expres", + "sions.basic_exp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000913, + "KHR-GLES31.core.constant_expr", + "essions.basic_exp_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000914, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000915, + "KHR-GLES31.core.constant_express", + "ions.basic_exp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000916, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000917, + "KHR-GLES31.core.constant_expr", + "essions.basic_exp_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000918, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000919, + "KHR-GLES31.core.constant_express", + "ions.basic_exp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000920, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000921, + "KHR-GLES31.core.constant_expr", + "essions.basic_exp_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000922, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000923, + "KHR-GLES31.core.constant_express", + "ions.basic_exp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000924, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000925, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000926, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000927, + "KHR-GLES31.core.constant_express", + "ions.basic_log_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000928, + "KHR-GLES31.core.constant_expres", + "sions.basic_log_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000929, + "KHR-GLES31.core.constant_expr", + "essions.basic_log_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000930, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000931, + "KHR-GLES31.core.constant_express", + "ions.basic_log_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000932, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000933, + "KHR-GLES31.core.constant_expr", + "essions.basic_log_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000934, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000935, + "KHR-GLES31.core.constant_express", + "ions.basic_log_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000936, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000937, + "KHR-GLES31.core.constant_expr", + "essions.basic_log_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000938, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000939, + "KHR-GLES31.core.constant_express", + "ions.basic_log_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000940, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000941, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000942, + "KHR-GLES31.core.constant_expres", + "sions.basic_exp2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000943, + "KHR-GLES31.core.constant_expressi", + "ons.basic_exp2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000944, + "KHR-GLES31.core.constant_expres", + "sions.basic_exp2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000945, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000946, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000947, + "KHR-GLES31.core.constant_express", + "ions.basic_exp2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000948, + "KHR-GLES31.core.constant_expres", + "sions.basic_exp2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000949, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000950, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000951, + "KHR-GLES31.core.constant_express", + "ions.basic_exp2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000952, + "KHR-GLES31.core.constant_expres", + "sions.basic_exp2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000953, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000954, + "KHR-GLES31.core.constant_expre", + "ssions.basic_exp2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000955, + "KHR-GLES31.core.constant_express", + "ions.basic_exp2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000956, + "KHR-GLES31.core.constant_expres", + "sions.basic_exp2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000957, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000958, + "KHR-GLES31.core.constant_expres", + "sions.basic_log2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000959, + "KHR-GLES31.core.constant_expressi", + "ons.basic_log2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000960, + "KHR-GLES31.core.constant_expres", + "sions.basic_log2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000961, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000962, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000963, + "KHR-GLES31.core.constant_express", + "ions.basic_log2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000964, + "KHR-GLES31.core.constant_expres", + "sions.basic_log2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000965, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000966, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000967, + "KHR-GLES31.core.constant_express", + "ions.basic_log2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000968, + "KHR-GLES31.core.constant_expres", + "sions.basic_log2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000969, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000970, + "KHR-GLES31.core.constant_expre", + "ssions.basic_log2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000971, + "KHR-GLES31.core.constant_express", + "ions.basic_log2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000972, + "KHR-GLES31.core.constant_expres", + "sions.basic_log2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000973, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000974, + "KHR-GLES31.core.constant_expres", + "sions.basic_sqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000975, + "KHR-GLES31.core.constant_expressi", + "ons.basic_sqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000976, + "KHR-GLES31.core.constant_expres", + "sions.basic_sqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000977, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000978, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000979, + "KHR-GLES31.core.constant_express", + "ions.basic_sqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000980, + "KHR-GLES31.core.constant_expres", + "sions.basic_sqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000981, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000982, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000983, + "KHR-GLES31.core.constant_express", + "ions.basic_sqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000984, + "KHR-GLES31.core.constant_expres", + "sions.basic_sqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000985, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000986, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000987, + "KHR-GLES31.core.constant_express", + "ions.basic_sqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000988, + "KHR-GLES31.core.constant_expres", + "sions.basic_sqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000989, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000990, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000991, + "KHR-GLES31.core.constant_expressions", + ".basic_inversesqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000992, + "KHR-GLES31.core.constant_expression", + "s.basic_inversesqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000993, + "KHR-GLES31.core.constant_expressi", + "ons.basic_inversesqrt_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000994, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000995, + "KHR-GLES31.core.constant_expressions", + ".basic_inversesqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000996, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000997, + "KHR-GLES31.core.constant_expressi", + "ons.basic_inversesqrt_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000998, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000999, + "KHR-GLES31.core.constant_expressions", + ".basic_inversesqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001000, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001001, + "KHR-GLES31.core.constant_expressi", + "ons.basic_inversesqrt_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001002, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001003, + "KHR-GLES31.core.constant_expressions", + ".basic_inversesqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001004, + "KHR-GLES31.core.constant_expressio", + "ns.basic_inversesqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001005, + "KHR-GLES31.core.constant_expr", + "essions.basic_abs_int_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001006, + "KHR-GLES31.core.constant_expr", + "essions.basic_abs_int_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001007, + "KHR-GLES31.core.constant_expres", + "sions.basic_abs_int_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001008, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_int_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001009, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_ivec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001010, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_ivec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001011, + "KHR-GLES31.core.constant_express", + "ions.basic_abs_ivec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001012, + "KHR-GLES31.core.constant_expres", + "sions.basic_abs_ivec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001013, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_ivec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001014, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_ivec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001015, + "KHR-GLES31.core.constant_express", + "ions.basic_abs_ivec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001016, + "KHR-GLES31.core.constant_expres", + "sions.basic_abs_ivec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001017, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_ivec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001018, + "KHR-GLES31.core.constant_expre", + "ssions.basic_abs_ivec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001019, + "KHR-GLES31.core.constant_express", + "ions.basic_abs_ivec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001020, + "KHR-GLES31.core.constant_expres", + "sions.basic_abs_ivec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001021, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001022, + "KHR-GLES31.core.constant_expres", + "sions.basic_sign_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001023, + "KHR-GLES31.core.constant_expressi", + "ons.basic_sign_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001024, + "KHR-GLES31.core.constant_expres", + "sions.basic_sign_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001025, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001026, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001027, + "KHR-GLES31.core.constant_express", + "ions.basic_sign_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001028, + "KHR-GLES31.core.constant_expres", + "sions.basic_sign_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001029, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001030, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001031, + "KHR-GLES31.core.constant_express", + "ions.basic_sign_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001032, + "KHR-GLES31.core.constant_expres", + "sions.basic_sign_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001033, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001034, + "KHR-GLES31.core.constant_expre", + "ssions.basic_sign_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001035, + "KHR-GLES31.core.constant_express", + "ions.basic_sign_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001036, + "KHR-GLES31.core.constant_expres", + "sions.basic_sign_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001037, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001038, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001039, + "KHR-GLES31.core.constant_expressi", + "ons.basic_floor_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001040, + "KHR-GLES31.core.constant_express", + "ions.basic_floor_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001041, + "KHR-GLES31.core.constant_expre", + "ssions.basic_floor_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001042, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001043, + "KHR-GLES31.core.constant_expressi", + "ons.basic_floor_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001044, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001045, + "KHR-GLES31.core.constant_expre", + "ssions.basic_floor_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001046, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001047, + "KHR-GLES31.core.constant_expressi", + "ons.basic_floor_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001048, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001049, + "KHR-GLES31.core.constant_expre", + "ssions.basic_floor_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001050, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001051, + "KHR-GLES31.core.constant_expressi", + "ons.basic_floor_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001052, + "KHR-GLES31.core.constant_expres", + "sions.basic_floor_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001053, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001054, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001055, + "KHR-GLES31.core.constant_expressi", + "ons.basic_trunc_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001056, + "KHR-GLES31.core.constant_express", + "ions.basic_trunc_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001057, + "KHR-GLES31.core.constant_expre", + "ssions.basic_trunc_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001058, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001059, + "KHR-GLES31.core.constant_expressi", + "ons.basic_trunc_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001060, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001061, + "KHR-GLES31.core.constant_expre", + "ssions.basic_trunc_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001062, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001063, + "KHR-GLES31.core.constant_expressi", + "ons.basic_trunc_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001064, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001065, + "KHR-GLES31.core.constant_expre", + "ssions.basic_trunc_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001066, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001067, + "KHR-GLES31.core.constant_expressi", + "ons.basic_trunc_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001068, + "KHR-GLES31.core.constant_expres", + "sions.basic_trunc_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001069, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001070, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001071, + "KHR-GLES31.core.constant_expressi", + "ons.basic_round_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001072, + "KHR-GLES31.core.constant_express", + "ions.basic_round_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001073, + "KHR-GLES31.core.constant_expre", + "ssions.basic_round_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001074, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001075, + "KHR-GLES31.core.constant_expressi", + "ons.basic_round_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001076, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001077, + "KHR-GLES31.core.constant_expre", + "ssions.basic_round_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001078, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001079, + "KHR-GLES31.core.constant_expressi", + "ons.basic_round_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001080, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001081, + "KHR-GLES31.core.constant_expre", + "ssions.basic_round_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001082, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001083, + "KHR-GLES31.core.constant_expressi", + "ons.basic_round_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001084, + "KHR-GLES31.core.constant_expres", + "sions.basic_round_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001085, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001086, + "KHR-GLES31.core.constant_expres", + "sions.basic_ceil_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001087, + "KHR-GLES31.core.constant_expressi", + "ons.basic_ceil_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001088, + "KHR-GLES31.core.constant_expres", + "sions.basic_ceil_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001089, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001090, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001091, + "KHR-GLES31.core.constant_express", + "ions.basic_ceil_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001092, + "KHR-GLES31.core.constant_expres", + "sions.basic_ceil_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001093, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001094, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001095, + "KHR-GLES31.core.constant_express", + "ions.basic_ceil_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001096, + "KHR-GLES31.core.constant_expres", + "sions.basic_ceil_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001097, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001098, + "KHR-GLES31.core.constant_expre", + "ssions.basic_ceil_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001099, + "KHR-GLES31.core.constant_express", + "ions.basic_ceil_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001100, + "KHR-GLES31.core.constant_expres", + "sions.basic_ceil_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001101, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001102, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001103, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001104, + "KHR-GLES31.core.constant_expres", + "sions.basic_mod_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001105, + "KHR-GLES31.core.constant_expr", + "essions.basic_mod_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001106, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001107, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001108, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001109, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001110, + "KHR-GLES31.core.constant_expressi", + "ons.basic_mod_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001111, + "KHR-GLES31.core.constant_expression", + "s.basic_mod_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001112, + "KHR-GLES31.core.constant_expressi", + "ons.basic_mod_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001113, + "KHR-GLES31.core.constant_expr", + "essions.basic_mod_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001114, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001115, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001116, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001117, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001118, + "KHR-GLES31.core.constant_expressi", + "ons.basic_mod_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001119, + "KHR-GLES31.core.constant_expression", + "s.basic_mod_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001120, + "KHR-GLES31.core.constant_expressi", + "ons.basic_mod_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001121, + "KHR-GLES31.core.constant_expr", + "essions.basic_mod_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001122, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001123, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001124, + "KHR-GLES31.core.constant_expre", + "ssions.basic_mod_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001125, + "KHR-GLES31.core.constant_express", + "ions.basic_mod_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001126, + "KHR-GLES31.core.constant_expressi", + "ons.basic_mod_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001127, + "KHR-GLES31.core.constant_expression", + "s.basic_mod_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001128, + "KHR-GLES31.core.constant_expressi", + "ons.basic_mod_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001129, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001130, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001131, + "KHR-GLES31.core.constant_express", + "ions.basic_min_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001132, + "KHR-GLES31.core.constant_expres", + "sions.basic_min_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001133, + "KHR-GLES31.core.constant_expr", + "essions.basic_min_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001134, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001135, + "KHR-GLES31.core.constant_express", + "ions.basic_min_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001136, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001137, + "KHR-GLES31.core.constant_express", + "ions.basic_min_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001138, + "KHR-GLES31.core.constant_expressi", + "ons.basic_min_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001139, + "KHR-GLES31.core.constant_expression", + "s.basic_min_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001140, + "KHR-GLES31.core.constant_expressi", + "ons.basic_min_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001141, + "KHR-GLES31.core.constant_expr", + "essions.basic_min_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001142, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001143, + "KHR-GLES31.core.constant_express", + "ions.basic_min_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001144, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001145, + "KHR-GLES31.core.constant_express", + "ions.basic_min_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001146, + "KHR-GLES31.core.constant_expressi", + "ons.basic_min_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001147, + "KHR-GLES31.core.constant_expression", + "s.basic_min_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001148, + "KHR-GLES31.core.constant_expressi", + "ons.basic_min_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001149, + "KHR-GLES31.core.constant_expr", + "essions.basic_min_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001150, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001151, + "KHR-GLES31.core.constant_express", + "ions.basic_min_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001152, + "KHR-GLES31.core.constant_expre", + "ssions.basic_min_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001153, + "KHR-GLES31.core.constant_express", + "ions.basic_min_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001154, + "KHR-GLES31.core.constant_expressi", + "ons.basic_min_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001155, + "KHR-GLES31.core.constant_expression", + "s.basic_min_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001156, + "KHR-GLES31.core.constant_expressi", + "ons.basic_min_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001157, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001158, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001159, + "KHR-GLES31.core.constant_express", + "ions.basic_max_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001160, + "KHR-GLES31.core.constant_expres", + "sions.basic_max_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001161, + "KHR-GLES31.core.constant_expr", + "essions.basic_max_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001162, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001163, + "KHR-GLES31.core.constant_express", + "ions.basic_max_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001164, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001165, + "KHR-GLES31.core.constant_express", + "ions.basic_max_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001166, + "KHR-GLES31.core.constant_expressi", + "ons.basic_max_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001167, + "KHR-GLES31.core.constant_expression", + "s.basic_max_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001168, + "KHR-GLES31.core.constant_expressi", + "ons.basic_max_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001169, + "KHR-GLES31.core.constant_expr", + "essions.basic_max_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001170, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001171, + "KHR-GLES31.core.constant_express", + "ions.basic_max_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001172, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001173, + "KHR-GLES31.core.constant_express", + "ions.basic_max_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001174, + "KHR-GLES31.core.constant_expressi", + "ons.basic_max_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001175, + "KHR-GLES31.core.constant_expression", + "s.basic_max_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001176, + "KHR-GLES31.core.constant_expressi", + "ons.basic_max_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001177, + "KHR-GLES31.core.constant_expr", + "essions.basic_max_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001178, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001179, + "KHR-GLES31.core.constant_express", + "ions.basic_max_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001180, + "KHR-GLES31.core.constant_expre", + "ssions.basic_max_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001181, + "KHR-GLES31.core.constant_express", + "ions.basic_max_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001182, + "KHR-GLES31.core.constant_expressi", + "ons.basic_max_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001183, + "KHR-GLES31.core.constant_expression", + "s.basic_max_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001184, + "KHR-GLES31.core.constant_expressi", + "ons.basic_max_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001185, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001186, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001187, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001188, + "KHR-GLES31.core.constant_express", + "ions.basic_clamp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001189, + "KHR-GLES31.core.constant_expre", + "ssions.basic_clamp_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001190, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001191, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001192, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001193, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001194, + "KHR-GLES31.core.constant_expressio", + "ns.basic_clamp_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001195, + "KHR-GLES31.core.constant_expressions", + ".basic_clamp_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001196, + "KHR-GLES31.core.constant_expressio", + "ns.basic_clamp_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001197, + "KHR-GLES31.core.constant_expre", + "ssions.basic_clamp_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001198, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001199, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001200, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001201, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001202, + "KHR-GLES31.core.constant_expressio", + "ns.basic_clamp_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001203, + "KHR-GLES31.core.constant_expressions", + ".basic_clamp_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001204, + "KHR-GLES31.core.constant_expressio", + "ns.basic_clamp_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001205, + "KHR-GLES31.core.constant_expre", + "ssions.basic_clamp_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001206, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001207, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001208, + "KHR-GLES31.core.constant_expres", + "sions.basic_clamp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001209, + "KHR-GLES31.core.constant_expressi", + "ons.basic_clamp_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001210, + "KHR-GLES31.core.constant_expressio", + "ns.basic_clamp_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001211, + "KHR-GLES31.core.constant_expressions", + ".basic_clamp_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001212, + "KHR-GLES31.core.constant_expressio", + "ns.basic_clamp_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001213, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001214, + "KHR-GLES31.core.constant_express", + "ions.basic_length_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001215, + "KHR-GLES31.core.constant_expressio", + "ns.basic_length_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001216, + "KHR-GLES31.core.constant_express", + "ions.basic_length_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001217, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001218, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001219, + "KHR-GLES31.core.constant_expressi", + "ons.basic_length_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001220, + "KHR-GLES31.core.constant_express", + "ions.basic_length_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001221, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001222, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001223, + "KHR-GLES31.core.constant_expressi", + "ons.basic_length_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001224, + "KHR-GLES31.core.constant_express", + "ions.basic_length_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001225, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001226, + "KHR-GLES31.core.constant_expres", + "sions.basic_length_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001227, + "KHR-GLES31.core.constant_expressi", + "ons.basic_length_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001228, + "KHR-GLES31.core.constant_express", + "ions.basic_length_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001229, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001230, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001231, + "KHR-GLES31.core.constant_express", + "ions.basic_dot_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001232, + "KHR-GLES31.core.constant_expres", + "sions.basic_dot_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001233, + "KHR-GLES31.core.constant_expr", + "essions.basic_dot_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001234, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001235, + "KHR-GLES31.core.constant_express", + "ions.basic_dot_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001236, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001237, + "KHR-GLES31.core.constant_expr", + "essions.basic_dot_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001238, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001239, + "KHR-GLES31.core.constant_express", + "ions.basic_dot_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001240, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001241, + "KHR-GLES31.core.constant_expr", + "essions.basic_dot_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001242, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001243, + "KHR-GLES31.core.constant_express", + "ions.basic_dot_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001244, + "KHR-GLES31.core.constant_expre", + "ssions.basic_dot_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001245, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001246, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001247, + "KHR-GLES31.core.constant_expression", + "s.basic_normalize_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001248, + "KHR-GLES31.core.constant_expressio", + "ns.basic_normalize_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001249, + "KHR-GLES31.core.constant_express", + "ions.basic_normalize_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001250, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001251, + "KHR-GLES31.core.constant_expression", + "s.basic_normalize_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001252, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001253, + "KHR-GLES31.core.constant_express", + "ions.basic_normalize_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001254, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001255, + "KHR-GLES31.core.constant_expression", + "s.basic_normalize_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001256, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001257, + "KHR-GLES31.core.constant_express", + "ions.basic_normalize_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001258, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001259, + "KHR-GLES31.core.constant_expression", + "s.basic_normalize_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001260, + "KHR-GLES31.core.constant_expressi", + "ons.basic_normalize_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001261, + "KHR-GLES31.core.constant_express", + "ions.array_radians_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001262, + "KHR-GLES31.core.constant_express", + "ions.array_radians_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001263, + "KHR-GLES31.core.constant_expressio", + "ns.array_radians_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001264, + "KHR-GLES31.core.constant_expressi", + "ons.array_radians_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001265, + "KHR-GLES31.core.constant_expres", + "sions.array_radians_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001266, + "KHR-GLES31.core.constant_express", + "ions.array_radians_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001267, + "KHR-GLES31.core.constant_expressio", + "ns.array_radians_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001268, + "KHR-GLES31.core.constant_express", + "ions.array_radians_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001269, + "KHR-GLES31.core.constant_expres", + "sions.array_radians_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001270, + "KHR-GLES31.core.constant_express", + "ions.array_radians_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001271, + "KHR-GLES31.core.constant_expressio", + "ns.array_radians_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001272, + "KHR-GLES31.core.constant_express", + "ions.array_radians_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001273, + "KHR-GLES31.core.constant_expres", + "sions.array_radians_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001274, + "KHR-GLES31.core.constant_express", + "ions.array_radians_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001275, + "KHR-GLES31.core.constant_expressio", + "ns.array_radians_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001276, + "KHR-GLES31.core.constant_express", + "ions.array_radians_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001277, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001278, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001279, + "KHR-GLES31.core.constant_expressio", + "ns.array_degrees_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001280, + "KHR-GLES31.core.constant_expressi", + "ons.array_degrees_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001281, + "KHR-GLES31.core.constant_expres", + "sions.array_degrees_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001282, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001283, + "KHR-GLES31.core.constant_expressio", + "ns.array_degrees_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001284, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001285, + "KHR-GLES31.core.constant_expres", + "sions.array_degrees_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001286, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001287, + "KHR-GLES31.core.constant_expressio", + "ns.array_degrees_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001288, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001289, + "KHR-GLES31.core.constant_expres", + "sions.array_degrees_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001290, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001291, + "KHR-GLES31.core.constant_expressio", + "ns.array_degrees_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001292, + "KHR-GLES31.core.constant_express", + "ions.array_degrees_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001293, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001294, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001295, + "KHR-GLES31.core.constant_express", + "ions.array_sin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001296, + "KHR-GLES31.core.constant_expres", + "sions.array_sin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001297, + "KHR-GLES31.core.constant_expr", + "essions.array_sin_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001298, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001299, + "KHR-GLES31.core.constant_express", + "ions.array_sin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001300, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001301, + "KHR-GLES31.core.constant_expr", + "essions.array_sin_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001302, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001303, + "KHR-GLES31.core.constant_express", + "ions.array_sin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001304, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001305, + "KHR-GLES31.core.constant_expr", + "essions.array_sin_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001306, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001307, + "KHR-GLES31.core.constant_express", + "ions.array_sin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001308, + "KHR-GLES31.core.constant_expre", + "ssions.array_sin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001309, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001310, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001311, + "KHR-GLES31.core.constant_express", + "ions.array_cos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001312, + "KHR-GLES31.core.constant_expres", + "sions.array_cos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001313, + "KHR-GLES31.core.constant_expr", + "essions.array_cos_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001314, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001315, + "KHR-GLES31.core.constant_express", + "ions.array_cos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001316, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001317, + "KHR-GLES31.core.constant_expr", + "essions.array_cos_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001318, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001319, + "KHR-GLES31.core.constant_express", + "ions.array_cos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001320, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001321, + "KHR-GLES31.core.constant_expr", + "essions.array_cos_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001322, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001323, + "KHR-GLES31.core.constant_express", + "ions.array_cos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001324, + "KHR-GLES31.core.constant_expre", + "ssions.array_cos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001325, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001326, + "KHR-GLES31.core.constant_expres", + "sions.array_asin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001327, + "KHR-GLES31.core.constant_expressi", + "ons.array_asin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001328, + "KHR-GLES31.core.constant_expres", + "sions.array_asin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001329, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001330, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001331, + "KHR-GLES31.core.constant_express", + "ions.array_asin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001332, + "KHR-GLES31.core.constant_expres", + "sions.array_asin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001333, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001334, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001335, + "KHR-GLES31.core.constant_express", + "ions.array_asin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001336, + "KHR-GLES31.core.constant_expres", + "sions.array_asin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001337, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001338, + "KHR-GLES31.core.constant_expre", + "ssions.array_asin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001339, + "KHR-GLES31.core.constant_express", + "ions.array_asin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001340, + "KHR-GLES31.core.constant_expres", + "sions.array_asin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001341, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001342, + "KHR-GLES31.core.constant_expres", + "sions.array_acos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001343, + "KHR-GLES31.core.constant_expressi", + "ons.array_acos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001344, + "KHR-GLES31.core.constant_expres", + "sions.array_acos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001345, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001346, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001347, + "KHR-GLES31.core.constant_express", + "ions.array_acos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001348, + "KHR-GLES31.core.constant_expres", + "sions.array_acos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001349, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001350, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001351, + "KHR-GLES31.core.constant_express", + "ions.array_acos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001352, + "KHR-GLES31.core.constant_expres", + "sions.array_acos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001353, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001354, + "KHR-GLES31.core.constant_expre", + "ssions.array_acos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001355, + "KHR-GLES31.core.constant_express", + "ions.array_acos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001356, + "KHR-GLES31.core.constant_expres", + "sions.array_acos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001357, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001358, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001359, + "KHR-GLES31.core.constant_express", + "ions.array_pow_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001360, + "KHR-GLES31.core.constant_expres", + "sions.array_pow_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001361, + "KHR-GLES31.core.constant_expr", + "essions.array_pow_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001362, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001363, + "KHR-GLES31.core.constant_express", + "ions.array_pow_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001364, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001365, + "KHR-GLES31.core.constant_expr", + "essions.array_pow_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001366, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001367, + "KHR-GLES31.core.constant_express", + "ions.array_pow_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001368, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001369, + "KHR-GLES31.core.constant_expr", + "essions.array_pow_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001370, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001371, + "KHR-GLES31.core.constant_express", + "ions.array_pow_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001372, + "KHR-GLES31.core.constant_expre", + "ssions.array_pow_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001373, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001374, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001375, + "KHR-GLES31.core.constant_express", + "ions.array_exp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001376, + "KHR-GLES31.core.constant_expres", + "sions.array_exp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001377, + "KHR-GLES31.core.constant_expr", + "essions.array_exp_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001378, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001379, + "KHR-GLES31.core.constant_express", + "ions.array_exp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001380, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001381, + "KHR-GLES31.core.constant_expr", + "essions.array_exp_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001382, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001383, + "KHR-GLES31.core.constant_express", + "ions.array_exp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001384, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001385, + "KHR-GLES31.core.constant_expr", + "essions.array_exp_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001386, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001387, + "KHR-GLES31.core.constant_express", + "ions.array_exp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001388, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001389, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001390, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001391, + "KHR-GLES31.core.constant_express", + "ions.array_log_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001392, + "KHR-GLES31.core.constant_expres", + "sions.array_log_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001393, + "KHR-GLES31.core.constant_expr", + "essions.array_log_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001394, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001395, + "KHR-GLES31.core.constant_express", + "ions.array_log_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001396, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001397, + "KHR-GLES31.core.constant_expr", + "essions.array_log_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001398, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001399, + "KHR-GLES31.core.constant_express", + "ions.array_log_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001400, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001401, + "KHR-GLES31.core.constant_expr", + "essions.array_log_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001402, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001403, + "KHR-GLES31.core.constant_express", + "ions.array_log_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001404, + "KHR-GLES31.core.constant_expre", + "ssions.array_log_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001405, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001406, + "KHR-GLES31.core.constant_expres", + "sions.array_exp2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001407, + "KHR-GLES31.core.constant_expressi", + "ons.array_exp2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001408, + "KHR-GLES31.core.constant_expres", + "sions.array_exp2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001409, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001410, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001411, + "KHR-GLES31.core.constant_express", + "ions.array_exp2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001412, + "KHR-GLES31.core.constant_expres", + "sions.array_exp2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001413, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001414, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001415, + "KHR-GLES31.core.constant_express", + "ions.array_exp2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001416, + "KHR-GLES31.core.constant_expres", + "sions.array_exp2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001417, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001418, + "KHR-GLES31.core.constant_expre", + "ssions.array_exp2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001419, + "KHR-GLES31.core.constant_express", + "ions.array_exp2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001420, + "KHR-GLES31.core.constant_expres", + "sions.array_exp2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001421, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001422, + "KHR-GLES31.core.constant_expres", + "sions.array_log2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001423, + "KHR-GLES31.core.constant_expressi", + "ons.array_log2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001424, + "KHR-GLES31.core.constant_expres", + "sions.array_log2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001425, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001426, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001427, + "KHR-GLES31.core.constant_express", + "ions.array_log2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001428, + "KHR-GLES31.core.constant_expres", + "sions.array_log2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001429, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001430, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001431, + "KHR-GLES31.core.constant_express", + "ions.array_log2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001432, + "KHR-GLES31.core.constant_expres", + "sions.array_log2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001433, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001434, + "KHR-GLES31.core.constant_expre", + "ssions.array_log2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001435, + "KHR-GLES31.core.constant_express", + "ions.array_log2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001436, + "KHR-GLES31.core.constant_expres", + "sions.array_log2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001437, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001438, + "KHR-GLES31.core.constant_expres", + "sions.array_sqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001439, + "KHR-GLES31.core.constant_expressi", + "ons.array_sqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001440, + "KHR-GLES31.core.constant_expres", + "sions.array_sqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001441, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001442, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001443, + "KHR-GLES31.core.constant_express", + "ions.array_sqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001444, + "KHR-GLES31.core.constant_expres", + "sions.array_sqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001445, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001446, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001447, + "KHR-GLES31.core.constant_express", + "ions.array_sqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001448, + "KHR-GLES31.core.constant_expres", + "sions.array_sqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001449, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001450, + "KHR-GLES31.core.constant_expre", + "ssions.array_sqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001451, + "KHR-GLES31.core.constant_express", + "ions.array_sqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001452, + "KHR-GLES31.core.constant_expres", + "sions.array_sqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001453, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001454, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001455, + "KHR-GLES31.core.constant_expressions", + ".array_inversesqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001456, + "KHR-GLES31.core.constant_expression", + "s.array_inversesqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001457, + "KHR-GLES31.core.constant_expressi", + "ons.array_inversesqrt_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001458, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001459, + "KHR-GLES31.core.constant_expressions", + ".array_inversesqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001460, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001461, + "KHR-GLES31.core.constant_expressi", + "ons.array_inversesqrt_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001462, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001463, + "KHR-GLES31.core.constant_expressions", + ".array_inversesqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001464, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001465, + "KHR-GLES31.core.constant_expressi", + "ons.array_inversesqrt_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001466, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001467, + "KHR-GLES31.core.constant_expressions", + ".array_inversesqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001468, + "KHR-GLES31.core.constant_expressio", + "ns.array_inversesqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001469, + "KHR-GLES31.core.constant_expr", + "essions.array_abs_int_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001470, + "KHR-GLES31.core.constant_expr", + "essions.array_abs_int_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001471, + "KHR-GLES31.core.constant_expres", + "sions.array_abs_int_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001472, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_int_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001473, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_ivec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001474, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_ivec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001475, + "KHR-GLES31.core.constant_express", + "ions.array_abs_ivec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001476, + "KHR-GLES31.core.constant_expres", + "sions.array_abs_ivec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001477, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_ivec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001478, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_ivec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001479, + "KHR-GLES31.core.constant_express", + "ions.array_abs_ivec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001480, + "KHR-GLES31.core.constant_expres", + "sions.array_abs_ivec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001481, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_ivec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001482, + "KHR-GLES31.core.constant_expre", + "ssions.array_abs_ivec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001483, + "KHR-GLES31.core.constant_express", + "ions.array_abs_ivec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001484, + "KHR-GLES31.core.constant_expres", + "sions.array_abs_ivec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001485, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001486, + "KHR-GLES31.core.constant_expres", + "sions.array_sign_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001487, + "KHR-GLES31.core.constant_expressi", + "ons.array_sign_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001488, + "KHR-GLES31.core.constant_expres", + "sions.array_sign_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001489, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001490, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001491, + "KHR-GLES31.core.constant_express", + "ions.array_sign_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001492, + "KHR-GLES31.core.constant_expres", + "sions.array_sign_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001493, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001494, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001495, + "KHR-GLES31.core.constant_express", + "ions.array_sign_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001496, + "KHR-GLES31.core.constant_expres", + "sions.array_sign_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001497, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001498, + "KHR-GLES31.core.constant_expre", + "ssions.array_sign_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001499, + "KHR-GLES31.core.constant_express", + "ions.array_sign_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001500, + "KHR-GLES31.core.constant_expres", + "sions.array_sign_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001501, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001502, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001503, + "KHR-GLES31.core.constant_expressi", + "ons.array_floor_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001504, + "KHR-GLES31.core.constant_express", + "ions.array_floor_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001505, + "KHR-GLES31.core.constant_expre", + "ssions.array_floor_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001506, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001507, + "KHR-GLES31.core.constant_expressi", + "ons.array_floor_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001508, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001509, + "KHR-GLES31.core.constant_expre", + "ssions.array_floor_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001510, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001511, + "KHR-GLES31.core.constant_expressi", + "ons.array_floor_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001512, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001513, + "KHR-GLES31.core.constant_expre", + "ssions.array_floor_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001514, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001515, + "KHR-GLES31.core.constant_expressi", + "ons.array_floor_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001516, + "KHR-GLES31.core.constant_expres", + "sions.array_floor_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001517, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001518, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001519, + "KHR-GLES31.core.constant_expressi", + "ons.array_trunc_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001520, + "KHR-GLES31.core.constant_express", + "ions.array_trunc_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001521, + "KHR-GLES31.core.constant_expre", + "ssions.array_trunc_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001522, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001523, + "KHR-GLES31.core.constant_expressi", + "ons.array_trunc_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001524, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001525, + "KHR-GLES31.core.constant_expre", + "ssions.array_trunc_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001526, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001527, + "KHR-GLES31.core.constant_expressi", + "ons.array_trunc_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001528, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001529, + "KHR-GLES31.core.constant_expre", + "ssions.array_trunc_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001530, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001531, + "KHR-GLES31.core.constant_expressi", + "ons.array_trunc_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001532, + "KHR-GLES31.core.constant_expres", + "sions.array_trunc_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001533, + "KHR-GLES31.core.constant_expres", + "sions.array_round_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001534, + "KHR-GLES31.core.constant_expres", + "sions.array_round_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001535, + "KHR-GLES31.core.constant_expressi", + "ons.array_round_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001536, + "KHR-GLES31.core.constant_express", + "ions.array_round_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001537, + "KHR-GLES31.core.constant_expre", + "ssions.array_round_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001538, + "KHR-GLES31.core.constant_expres", + "sions.array_round_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001539, + "KHR-GLES31.core.constant_expressi", + "ons.array_round_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001540, + "KHR-GLES31.core.constant_expres", + "sions.array_round_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001541, + "KHR-GLES31.core.constant_expre", + "ssions.array_round_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001542, + "KHR-GLES31.core.constant_expres", + "sions.array_round_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001543, + "KHR-GLES31.core.constant_expressi", + "ons.array_round_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001544, + "KHR-GLES31.core.constant_expres", + "sions.array_round_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001545, + "KHR-GLES31.core.constant_expre", + "ssions.array_round_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001546, + "KHR-GLES31.core.constant_expres", + "sions.array_round_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001547, + "KHR-GLES31.core.constant_expressi", + "ons.array_round_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001548, + "KHR-GLES31.core.constant_expres", + "sions.array_round_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001549, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001550, + "KHR-GLES31.core.constant_expres", + "sions.array_ceil_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001551, + "KHR-GLES31.core.constant_expressi", + "ons.array_ceil_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001552, + "KHR-GLES31.core.constant_expres", + "sions.array_ceil_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001553, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001554, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001555, + "KHR-GLES31.core.constant_express", + "ions.array_ceil_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001556, + "KHR-GLES31.core.constant_expres", + "sions.array_ceil_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001557, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001558, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001559, + "KHR-GLES31.core.constant_express", + "ions.array_ceil_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001560, + "KHR-GLES31.core.constant_expres", + "sions.array_ceil_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001561, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001562, + "KHR-GLES31.core.constant_expre", + "ssions.array_ceil_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001563, + "KHR-GLES31.core.constant_express", + "ions.array_ceil_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001564, + "KHR-GLES31.core.constant_expres", + "sions.array_ceil_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001565, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001566, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001567, + "KHR-GLES31.core.constant_express", + "ions.array_mod_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001568, + "KHR-GLES31.core.constant_expres", + "sions.array_mod_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001569, + "KHR-GLES31.core.constant_expr", + "essions.array_mod_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001570, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001571, + "KHR-GLES31.core.constant_express", + "ions.array_mod_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001572, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001573, + "KHR-GLES31.core.constant_express", + "ions.array_mod_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001574, + "KHR-GLES31.core.constant_expressi", + "ons.array_mod_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001575, + "KHR-GLES31.core.constant_expression", + "s.array_mod_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001576, + "KHR-GLES31.core.constant_expressi", + "ons.array_mod_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001577, + "KHR-GLES31.core.constant_expr", + "essions.array_mod_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001578, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001579, + "KHR-GLES31.core.constant_express", + "ions.array_mod_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001580, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001581, + "KHR-GLES31.core.constant_express", + "ions.array_mod_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001582, + "KHR-GLES31.core.constant_expressi", + "ons.array_mod_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001583, + "KHR-GLES31.core.constant_expression", + "s.array_mod_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001584, + "KHR-GLES31.core.constant_expressi", + "ons.array_mod_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001585, + "KHR-GLES31.core.constant_expr", + "essions.array_mod_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001586, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001587, + "KHR-GLES31.core.constant_express", + "ions.array_mod_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001588, + "KHR-GLES31.core.constant_expre", + "ssions.array_mod_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001589, + "KHR-GLES31.core.constant_express", + "ions.array_mod_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001590, + "KHR-GLES31.core.constant_expressi", + "ons.array_mod_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001591, + "KHR-GLES31.core.constant_expression", + "s.array_mod_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001592, + "KHR-GLES31.core.constant_expressi", + "ons.array_mod_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001593, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001594, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001595, + "KHR-GLES31.core.constant_express", + "ions.array_min_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001596, + "KHR-GLES31.core.constant_expres", + "sions.array_min_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001597, + "KHR-GLES31.core.constant_expr", + "essions.array_min_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001598, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001599, + "KHR-GLES31.core.constant_express", + "ions.array_min_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001600, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001601, + "KHR-GLES31.core.constant_express", + "ions.array_min_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001602, + "KHR-GLES31.core.constant_expressi", + "ons.array_min_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001603, + "KHR-GLES31.core.constant_expression", + "s.array_min_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001604, + "KHR-GLES31.core.constant_expressi", + "ons.array_min_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001605, + "KHR-GLES31.core.constant_expr", + "essions.array_min_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001606, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001607, + "KHR-GLES31.core.constant_express", + "ions.array_min_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001608, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001609, + "KHR-GLES31.core.constant_express", + "ions.array_min_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001610, + "KHR-GLES31.core.constant_expressi", + "ons.array_min_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001611, + "KHR-GLES31.core.constant_expression", + "s.array_min_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001612, + "KHR-GLES31.core.constant_expressi", + "ons.array_min_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001613, + "KHR-GLES31.core.constant_expr", + "essions.array_min_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001614, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001615, + "KHR-GLES31.core.constant_express", + "ions.array_min_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001616, + "KHR-GLES31.core.constant_expre", + "ssions.array_min_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001617, + "KHR-GLES31.core.constant_express", + "ions.array_min_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001618, + "KHR-GLES31.core.constant_expressi", + "ons.array_min_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001619, + "KHR-GLES31.core.constant_expression", + "s.array_min_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001620, + "KHR-GLES31.core.constant_expressi", + "ons.array_min_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001621, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001622, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001623, + "KHR-GLES31.core.constant_express", + "ions.array_max_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001624, + "KHR-GLES31.core.constant_expres", + "sions.array_max_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001625, + "KHR-GLES31.core.constant_expr", + "essions.array_max_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001626, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001627, + "KHR-GLES31.core.constant_express", + "ions.array_max_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001628, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001629, + "KHR-GLES31.core.constant_express", + "ions.array_max_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001630, + "KHR-GLES31.core.constant_expressi", + "ons.array_max_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001631, + "KHR-GLES31.core.constant_expression", + "s.array_max_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001632, + "KHR-GLES31.core.constant_expressi", + "ons.array_max_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001633, + "KHR-GLES31.core.constant_expr", + "essions.array_max_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001634, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001635, + "KHR-GLES31.core.constant_express", + "ions.array_max_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001636, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001637, + "KHR-GLES31.core.constant_express", + "ions.array_max_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001638, + "KHR-GLES31.core.constant_expressi", + "ons.array_max_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001639, + "KHR-GLES31.core.constant_expression", + "s.array_max_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001640, + "KHR-GLES31.core.constant_expressi", + "ons.array_max_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001641, + "KHR-GLES31.core.constant_expr", + "essions.array_max_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001642, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001643, + "KHR-GLES31.core.constant_express", + "ions.array_max_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001644, + "KHR-GLES31.core.constant_expre", + "ssions.array_max_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001645, + "KHR-GLES31.core.constant_express", + "ions.array_max_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001646, + "KHR-GLES31.core.constant_expressi", + "ons.array_max_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001647, + "KHR-GLES31.core.constant_expression", + "s.array_max_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001648, + "KHR-GLES31.core.constant_expressi", + "ons.array_max_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001649, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001650, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001651, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001652, + "KHR-GLES31.core.constant_express", + "ions.array_clamp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001653, + "KHR-GLES31.core.constant_expre", + "ssions.array_clamp_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001654, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001655, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001656, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001657, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_vec2_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001658, + "KHR-GLES31.core.constant_expressio", + "ns.array_clamp_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001659, + "KHR-GLES31.core.constant_expressions", + ".array_clamp_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001660, + "KHR-GLES31.core.constant_expressio", + "ns.array_clamp_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001661, + "KHR-GLES31.core.constant_expre", + "ssions.array_clamp_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001662, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001663, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001664, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001665, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_vec3_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001666, + "KHR-GLES31.core.constant_expressio", + "ns.array_clamp_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001667, + "KHR-GLES31.core.constant_expressions", + ".array_clamp_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001668, + "KHR-GLES31.core.constant_expressio", + "ns.array_clamp_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001669, + "KHR-GLES31.core.constant_expre", + "ssions.array_clamp_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001670, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001671, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001672, + "KHR-GLES31.core.constant_expres", + "sions.array_clamp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001673, + "KHR-GLES31.core.constant_expressi", + "ons.array_clamp_vec4_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001674, + "KHR-GLES31.core.constant_expressio", + "ns.array_clamp_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001675, + "KHR-GLES31.core.constant_expressions", + ".array_clamp_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001676, + "KHR-GLES31.core.constant_expressio", + "ns.array_clamp_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001677, + "KHR-GLES31.core.constant_expres", + "sions.array_length_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001678, + "KHR-GLES31.core.constant_express", + "ions.array_length_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001679, + "KHR-GLES31.core.constant_expressio", + "ns.array_length_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001680, + "KHR-GLES31.core.constant_express", + "ions.array_length_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001681, + "KHR-GLES31.core.constant_expres", + "sions.array_length_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001682, + "KHR-GLES31.core.constant_expres", + "sions.array_length_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001683, + "KHR-GLES31.core.constant_expressi", + "ons.array_length_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001684, + "KHR-GLES31.core.constant_express", + "ions.array_length_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001685, + "KHR-GLES31.core.constant_expres", + "sions.array_length_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001686, + "KHR-GLES31.core.constant_expres", + "sions.array_length_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001687, + "KHR-GLES31.core.constant_expressi", + "ons.array_length_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001688, + "KHR-GLES31.core.constant_express", + "ions.array_length_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001689, + "KHR-GLES31.core.constant_expres", + "sions.array_length_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001690, + "KHR-GLES31.core.constant_expres", + "sions.array_length_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001691, + "KHR-GLES31.core.constant_expressi", + "ons.array_length_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001692, + "KHR-GLES31.core.constant_express", + "ions.array_length_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001693, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001694, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001695, + "KHR-GLES31.core.constant_express", + "ions.array_dot_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001696, + "KHR-GLES31.core.constant_expres", + "sions.array_dot_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001697, + "KHR-GLES31.core.constant_expr", + "essions.array_dot_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001698, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001699, + "KHR-GLES31.core.constant_express", + "ions.array_dot_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001700, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001701, + "KHR-GLES31.core.constant_expr", + "essions.array_dot_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001702, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001703, + "KHR-GLES31.core.constant_express", + "ions.array_dot_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001704, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001705, + "KHR-GLES31.core.constant_expr", + "essions.array_dot_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001706, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001707, + "KHR-GLES31.core.constant_express", + "ions.array_dot_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001708, + "KHR-GLES31.core.constant_expre", + "ssions.array_dot_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001709, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_float_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001710, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001711, + "KHR-GLES31.core.constant_expression", + "s.array_normalize_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001712, + "KHR-GLES31.core.constant_expressio", + "ns.array_normalize_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001713, + "KHR-GLES31.core.constant_express", + "ions.array_normalize_vec2_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001714, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001715, + "KHR-GLES31.core.constant_expression", + "s.array_normalize_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001716, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001717, + "KHR-GLES31.core.constant_express", + "ions.array_normalize_vec3_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001718, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001719, + "KHR-GLES31.core.constant_expression", + "s.array_normalize_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001720, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001721, + "KHR-GLES31.core.constant_express", + "ions.array_normalize_vec4_compute"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001722, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001723, + "KHR-GLES31.core.constant_expression", + "s.array_normalize_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_001724, + "KHR-GLES31.core.constant_expressi", + "ons.array_normalize_vec4_tess_eval"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_buffers_indexedTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_buffers_indexedTestCase.cpp new file mode 100644 index 000000000..d3ac741c0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_buffers_indexedTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002696, + "KHR-GLES31.core.draw_b", + "uffers_indexed.coverage"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002697, + "KHR-GLES31.core.draw_buff", + "ers_indexed.default_state"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002698, + "KHR-GLES31.core.draw_b", + "uffers_indexed.set_get"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002699, + "KHR-GLES31.core.draw_buf", + "fers_indexed.color_masks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002700, + "KHR-GLES31.core.draw_b", + "uffers_indexed.blending"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002701, + "KHR-GLES31.core.draw_b", + "uffers_indexed.negative"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_indirectTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_indirectTestCase.cpp new file mode 100644 index 000000000..b6f6b422c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_draw_indirectTestCase.cpp @@ -0,0 +1,312 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002059, + "KHR-GLES31.core.draw_indi", + "rect.basic-binding-default"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002060, + "KHR-GLES31.core.draw_ind", + "irect.basic-binding-zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002061, + "KHR-GLES31.core.draw_indi", + "rect.basic-binding-single"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002062, + "KHR-GLES31.core.draw_ind", + "irect.basic-binding-multi"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002063, + "KHR-GLES31.core.draw_indi", + "rect.basic-binding-delete"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002064, + "KHR-GLES31.core.draw_in", + "direct.basic-buffer-data"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002065, + "KHR-GLES31.core.draw_indi", + "rect.basic-buffer-subData"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002066, + "KHR-GLES31.core.draw_indire", + "ct.basic-buffer-getPointerv"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002067, + "KHR-GLES31.core.draw_indi", + "rect.basic-buffer-mapRange"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002068, + "KHR-GLES31.core.draw_indirect", + ".basic-buffer-flushMappedRange"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002069, + "KHR-GLES31.core.draw_indire", + "ct.basic-buffer-copySubData"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002070, + "KHR-GLES31.core.draw_indirect.b", + "asic-drawArrays-singlePrimitive"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002071, + "KHR-GLES31.core.draw_indirect.", + "basic-drawArrays-manyPrimitives"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002072, + "KHR-GLES31.core.draw_indirec", + "t.basic-drawArrays-instancing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002073, + "KHR-GLES31.core.draw_indirec", + "t.basic-drawArrays-xfbPaused"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002074, + "KHR-GLES31.core.draw_indirect.ba", + "sic-drawElements-singlePrimitive"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002075, + "KHR-GLES31.core.draw_indirect.b", + "asic-drawElements-manyPrimitives"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002076, + "KHR-GLES31.core.draw_indirect", + ".basic-drawElements-instancing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002077, + "KHR-GLES31.core.draw_indirect", + ".basic-drawElements-xfbPaused"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002078, + "KHR-GLES31.core.draw_indir", + "ect.basic-drawArrays-simple"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002079, + "KHR-GLES31.core.draw_indire", + "ct.basic-drawArrays-noFirst"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002080, + "KHR-GLES31.core.draw_indirect", + ".basic-drawArrays-bufferOffset"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002081, + "KHR-GLES31.core.draw_indirec", + "t.basic-drawArrays-vertexIds"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002082, + "KHR-GLES31.core.draw_indire", + "ct.basic-drawElements-simple"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002083, + "KHR-GLES31.core.draw_indirect.", + "basic-drawElements-noFirstIndex"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002084, + "KHR-GLES31.core.draw_indirect", + ".basic-drawElements-basevertex"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002085, + "KHR-GLES31.core.draw_indirect.", + "basic-drawElements-bufferOffset"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002086, + "KHR-GLES31.core.draw_indirect", + ".basic-drawElements-vertexIds"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002087, + "KHR-GLES31.core.draw_indirect.bas", + "ic-indicesDataType-unsigned_short"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002088, + "KHR-GLES31.core.draw_indirect.ba", + "sic-indicesDataType-unsigned_byte"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002089, + "KHR-GLES31.core.draw_indirect", + ".basic-mode-drawArrays-points"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002090, + "KHR-GLES31.core.draw_indirec", + "t.basic-mode-drawArrays-lines"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002091, + "KHR-GLES31.core.draw_indirect.b", + "asic-mode-drawArrays-line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002092, + "KHR-GLES31.core.draw_indirect.", + "basic-mode-drawArrays-line_loop"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002093, + "KHR-GLES31.core.draw_indirect.bas", + "ic-mode-drawArrays-triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002094, + "KHR-GLES31.core.draw_indirect.ba", + "sic-mode-drawArrays-triangle_fan"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002095, + "KHR-GLES31.core.draw_indirect.bas", + "ic-mode-drawArrays-lines_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002096, + "KHR-GLES31.core.draw_indirect.basic-", + "mode-drawArrays-line_strip_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002097, + "KHR-GLES31.core.draw_indirect.basic", + "-mode-drawArrays-triangles_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002098, + "KHR-GLES31.core.draw_indirect.basic-mo", + "de-drawArrays-triangle_strip_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002099, + "KHR-GLES31.core.draw_indirect.", + "basic-mode-drawElements-points"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002100, + "KHR-GLES31.core.draw_indirect", + ".basic-mode-drawElements-lines"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002101, + "KHR-GLES31.core.draw_indirect.ba", + "sic-mode-drawElements-line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002102, + "KHR-GLES31.core.draw_indirect.b", + "asic-mode-drawElements-line_loop"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002103, + "KHR-GLES31.core.draw_indirect.basi", + "c-mode-drawElements-triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002104, + "KHR-GLES31.core.draw_indirect.bas", + "ic-mode-drawElements-triangle_fan"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002105, + "KHR-GLES31.core.draw_indirect.basi", + "c-mode-drawElements-lines_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002106, + "KHR-GLES31.core.draw_indirect.basic-m", + "ode-drawElements-line_strip_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002107, + "KHR-GLES31.core.draw_indirect.basic-", + "mode-drawElements-triangles_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002108, + "KHR-GLES31.core.draw_indirect.basic-mod", + "e-drawElements-triangle_strip_adjacency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002109, + "KHR-GLES31.core.draw_indirect.advan", + "ced-twoPass-transformFeedback-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002110, + "KHR-GLES31.core.draw_indirect.advanc", + "ed-twoPass-transformFeedback-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002111, + "KHR-GLES31.core.draw_indirect.", + "advanced-twoPass-Compute-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002112, + "KHR-GLES31.core.draw_indirect.a", + "dvanced-twoPass-Compute-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002113, + "KHR-GLES31.core.draw_indirect.ad", + "vanced-primitiveRestart-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002114, + "KHR-GLES31.core.draw_indirec", + "t.negative-noindirect-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002115, + "KHR-GLES31.core.draw_indirect", + ".negative-noindirect-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002116, + "KHR-GLES31.core.draw_indirec", + "t.negative-invalidMode-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002117, + "KHR-GLES31.core.draw_indirect", + ".negative-invalidMode-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002118, + "KHR-GLES31.core.draw_indi", + "rect.negative-noVAO-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002119, + "KHR-GLES31.core.draw_indir", + "ect.negative-noVAO-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002120, + "KHR-GLES31.core.draw_indi", + "rect.negative-noVBO-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002121, + "KHR-GLES31.core.draw_indir", + "ect.negative-noVBO-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002122, + "KHR-GLES31.core.draw_indirect", + ".negative-bufferMapped-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002123, + "KHR-GLES31.core.draw_indirect.", + "negative-bufferMapped-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002124, + "KHR-GLES31.core.draw_indirect", + ".negative-invalidType-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002125, + "KHR-GLES31.core.draw_indirec", + "t.negative-wrongOffset-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002126, + "KHR-GLES31.core.draw_indirect", + ".negative-wrongOffset-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002127, + "KHR-GLES31.core.draw_indirec", + "t.negative-invalidSize-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002128, + "KHR-GLES31.core.draw_indirect", + ".negative-invalidSize-elements"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002129, + "KHR-GLES31.core.draw_indire", + "ct.negative-unalignedOffset"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002130, + "KHR-GLES31.core.draw_", + "indirect.negative-xfb"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_explicit_uniform_locationTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_explicit_uniform_locationTestCase.cpp new file mode 100644 index 000000000..f1edb72ff --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_explicit_uniform_locationTestCase.cpp @@ -0,0 +1,124 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002131, + "KHR-GLES31.core.explicit_u", + "niform_location.uniform-loc"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002132, + "KHR-GLES31.core.explicit_uniform", + "_location.uniform-loc-nondecimal"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002133, + "KHR-GLES31.core.explicit_uniform", + "_location.uniform-loc-all-stages"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002134, + "KHR-GLES31.core.explicit_uniform_lo", + "cation.uniform-loc-multiple-uniforms"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002135, + "KHR-GLES31.core.explicit_unifor", + "m_location.uniform-loc-types-mix"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002136, + "KHR-GLES31.core.explicit_unifor", + "m_location.uniform-loc-types-mat"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002137, + "KHR-GLES31.core.explicit_uniform_", + "location.uniform-loc-types-structs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002138, + "KHR-GLES31.core.explicit_uniform_l", + "ocation.uniform-loc-types-samplers"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002139, + "KHR-GLES31.core.explicit_uniform_lo", + "cation.uniform-loc-arrays-nonspaced"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002140, + "KHR-GLES31.core.explicit_uniform_", + "location.uniform-loc-arrays-spaced"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002141, + "KHR-GLES31.core.explicit_uniform_lo", + "cation.uniform-loc-arrays-of-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002142, + "KHR-GLES31.core.explicit_uniform_lo", + "cation.uniform-loc-mix-with-implicit"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002143, + "KHR-GLES31.core.explicit_uniform_loc", + "ation.uniform-loc-mix-with-implicit2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002144, + "KHR-GLES31.core.explicit_uniform_loc", + "ation.uniform-loc-mix-with-implicit3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002145, + "KHR-GLES31.core.explicit_uniform_loca", + "tion.uniform-loc-mix-with-implicit-max"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002146, + "KHR-GLES31.core.explicit_uniform_locatio", + "n.uniform-loc-mix-with-implicit-max-array"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002147, + "KHR-GLES31.core.explicit_uniform_locat", + "ion.uniform-loc-implicit-in-some-stages"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002148, + "KHR-GLES31.core.explicit_uniform_locati", + "on.uniform-loc-implicit-in-some-stages2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002149, + "KHR-GLES31.core.explicit_uniform_locati", + "on.uniform-loc-implicit-in-some-stages3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002150, + "KHR-GLES31.core.explicit_uniform_location.un", + "iform-loc-negative-compile-non-number-literal"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002151, + "KHR-GLES31.core.explicit_uniform_location", + ".uniform-loc-negative-compile-nonconst-loc"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002152, + "KHR-GLES31.core.explicit_uniform_location.", + "uniform-loc-negative-link-location-reused1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002153, + "KHR-GLES31.core.explicit_uniform_location.", + "uniform-loc-negative-link-location-reused2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002154, + "KHR-GLES31.core.explicit_uniform_locatio", + "n.uniform-loc-negative-link-max-location"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002155, + "KHR-GLES31.core.explicit_uniform_location.un", + "iform-loc-negative-link-max-num-of-locations"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_completenessTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_completenessTestCase.cpp new file mode 100644 index 000000000..67d50edad --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_completenessTestCase.cpp @@ -0,0 +1,84 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002370, + "KHR-GLES31.core.framebuffer_complet", + "eness.incomplete_missing_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002371, + "KHR-GLES31.core.framebuffer_comple", + "teness.incomplete_image_zero_width"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002372, + "KHR-GLES31.core.framebuffer_comple", + "teness.incomplete_image_zero_height"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002373, + "KHR-GLES31.core.framebuffer_complete", + "ness.incomplete_texture_3d_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002374, + "KHR-GLES31.core.framebuffer_complete", + "ness.incomplete_texture_2d_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002375, + "KHR-GLES31.core.framebuffer_completen", + "ess.incomplete_texture_2d_mm_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002376, + "KHR-GLES31.core.framebuffer_completeness.", + "mutable_nbl_texture_expect_mipmap_complete"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002377, + "KHR-GLES31.core.framebuffer_completeness", + ".mutable_nbl_texture_expect_cube_complete"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002378, + "KHR-GLES31.core.framebuffer_completen", + "ess.expect_renderable_internal_format"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002379, + "KHR-GLES31.core.framebuffer_complete", + "ness.all_rbos_expect_same_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002380, + "KHR-GLES31.core.framebuffer_completenes", + "s.rbo_and_texture_expect_zero_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002381, + "KHR-GLES31.core.framebuffer_comp", + "leteness.expect_equal_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002382, + "KHR-GLES31.core.framebuffer_", + "completeness.status_tracking"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002383, + "KHR-GLES31.core.framebuffer_completeness", + ".mutable_texture_missing_attachment_level"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002384, + "KHR-GLES31.core.framebuffer_completeness.", + "immutable_texture_any_level_as_attachment"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_no_attachmentsTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_no_attachmentsTestCase.cpp new file mode 100644 index 000000000..100517b44 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_framebuffer_no_attachmentsTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002188, + "KHR-GLES31.core.framebu", + "ffer_no_attachments.api"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002189, + "KHR-GLES31.core.framebuf", + "fer_no_attachments.render"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_gpu_shader5TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_gpu_shader5TestCase.cpp new file mode 100644 index 000000000..2b70719ca --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_gpu_shader5TestCase.cpp @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002543, + "KHR-GLES31.core.gpu_shade", + "r5.sampler_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002544, + "KHR-GLES31.core.gpu_shad", + "er5.images_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002545, + "KHR-GLES31.core.gpu_shader5.a", + "tomic_counters_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002546, + "KHR-GLES31.core.gpu_shader5.", + "uniform_blocks_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002547, + "KHR-GLES31.core.gpu_sh", + "ader5.precise_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002548, + "KHR-GLES31.core.gpu_", + "shader5.fma_accuracy"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002549, + "KHR-GLES31.core.gpu_sha", + "der5.fma_precision_float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002550, + "KHR-GLES31.core.gpu_sha", + "der5.fma_precision_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002551, + "KHR-GLES31.core.gpu_sha", + "der5.fma_precision_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002552, + "KHR-GLES31.core.gpu_sha", + "der5.fma_precision_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002553, + "KHR-GLES31.core.gpu_shader5.tex", + "ture_gather_offset_color_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002554, + "KHR-GLES31.core.gpu_shader5.te", + "xture_gather_offset_color_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002555, + "KHR-GLES31.core.gpu_shader5.", + "texture_gather_offsets_color"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002556, + "KHR-GLES31.core.gpu_shader5.tex", + "ture_gather_offset_depth_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002557, + "KHR-GLES31.core.gpu_shader5.text", + "ure_gather_offset_depth_repeat_y"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002558, + "KHR-GLES31.core.gpu_shader5.te", + "xture_gather_offset_depth_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002559, + "KHR-GLES31.core.gpu_shader5.", + "texture_gather_offsets_depth"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002560, + "KHR-GLES31.core.gpu_shader5.texture", + "_gather_offset_color_clamp_to_border"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002561, + "KHR-GLES31.core.gpu_shader5.textur", + "e_gather_offset_color_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002562, + "KHR-GLES31.core.gpu_shader5.textur", + "e_gather_offset_depth_clamp_border"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002563, + "KHR-GLES31.core.gpu_shader5.textu", + "re_gather_offset_depth_clamp_edge"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_layout_bindingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_layout_bindingTestCase.cpp new file mode 100644 index 000000000..56d89cc1a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_layout_bindingTestCase.cpp @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000769, + "KHR-GLES31.core.layout_binding.sampler", + "2D_layout_binding_texture_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000770, + "KHR-GLES31.core.layout_binding.sampler", + "3D_layout_binding_texture_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000771, + "KHR-GLES31.core.layout_binding.sampler2DA", + "rray_layout_binding_texture_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000772, + "KHR-GLES31.core.layout_binding.image2D", + "_layout_binding_imageLoad_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000773, + "KHR-GLES31.core.layout_binding.atomic_u", + "int_layout_binding_atomic_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000774, + "KHR-GLES31.core.layout_binding.bloc", + "k_layout_binding_block_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000775, + "KHR-GLES31.core.layout_binding.buffer_", + "layout_binding_atomicAdd_ComputeShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000776, + "KHR-GLES31.core.layout_binding.sampler2", + "D_layout_binding_texture_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000777, + "KHR-GLES31.core.layout_binding.sampler3", + "D_layout_binding_texture_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000778, + "KHR-GLES31.core.layout_binding.sampler2DA", + "rray_layout_binding_texture_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000779, + "KHR-GLES31.core.layout_binding.image2D_", + "layout_binding_imageLoad_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000780, + "KHR-GLES31.core.layout_binding.atomic_u", + "int_layout_binding_atomic_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000781, + "KHR-GLES31.core.layout_binding.block", + "_layout_binding_block_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000782, + "KHR-GLES31.core.layout_binding.buffer_", + "layout_binding_atomicAdd_FragmentShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000783, + "KHR-GLES31.core.layout_binding.sampler", + "2D_layout_binding_texture_VertexShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000784, + "KHR-GLES31.core.layout_binding.sampler", + "3D_layout_binding_texture_VertexShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000785, + "KHR-GLES31.core.layout_binding.sampler2D", + "Array_layout_binding_texture_VertexShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000786, + "KHR-GLES31.core.layout_binding.image2D", + "_layout_binding_imageLoad_VertexShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000787, + "KHR-GLES31.core.layout_binding.atomic_", + "uint_layout_binding_atomic_VertexShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000788, + "KHR-GLES31.core.layout_binding.bloc", + "k_layout_binding_block_VertexShader"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000789, + "KHR-GLES31.core.layout_binding.buffer", + "_layout_binding_atomicAdd_VertexShader"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_nearest_edgeTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_nearest_edgeTestCase.cpp new file mode 100644 index 000000000..f5323a687 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_nearest_edgeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002368, + "KHR-GLES31.core.near", + "est_edge.offset_left"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002369, + "KHR-GLES31.core.near", + "est_edge.offset_right"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_polygon_offset_clampTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_polygon_offset_clampTestCase.cpp new file mode 100644 index 000000000..8b321c4e8 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_polygon_offset_clampTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002258, + "KHR-GLES31.core.polygon_offset_cl", + "amp.PolygonOffsetClampAvailability"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002259, + "KHR-GLES31.core.polygon_offset", + "_clamp.PolygonOffsetClampMinMax"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002260, + "KHR-GLES31.core.polygon_offset_cl", + "amp.PolygonOffsetClampZeroInfinity"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_program_interface_queryTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_program_interface_queryTestCase.cpp new file mode 100644 index 000000000..dbe4dddc8 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_program_interface_queryTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002156, + "KHR-GLES31.core.program_in", + "terface_query.empty-shaders"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002157, + "KHR-GLES31.core.program_int", + "erface_query.simple-shaders"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002158, + "KHR-GLES31.core.program_i", + "nterface_query.input-types"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002159, + "KHR-GLES31.core.program_int", + "erface_query.input-built-in"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002160, + "KHR-GLES31.core.program_in", + "terface_query.input-layout"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002161, + "KHR-GLES31.core.program_in", + "terface_query.output-layout"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002162, + "KHR-GLES31.core.program_int", + "erface_query.output-built-in"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002163, + "KHR-GLES31.core.program_int", + "erface_query.uniform-simple"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002164, + "KHR-GLES31.core.program_in", + "terface_query.uniform-types"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002165, + "KHR-GLES31.core.program_inter", + "face_query.uniform-block-types"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002166, + "KHR-GLES31.core.program_inter", + "face_query.uniform-block-array"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002167, + "KHR-GLES31.core.program_interfac", + "e_query.transform-feedback-types"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002168, + "KHR-GLES31.core.program_interface_query.t", + "ransform-feedback-types-full-array-capture"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002169, + "KHR-GLES31.core.program_int", + "erface_query.atomic-counters"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002170, + "KHR-GLES31.core.program_interface", + "_query.atomic-counters-one-buffer"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002171, + "KHR-GLES31.core.program_", + "interface_query.ssb-types"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002172, + "KHR-GLES31.core.program_i", + "nterface_query.null-length"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002173, + "KHR-GLES31.core.program_inte", + "rface_query.arrays-of-arrays"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002174, + "KHR-GLES31.core.program_int", + "erface_query.top-level-array"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002175, + "KHR-GLES31.core.program_interfac", + "e_query.separate-programs-vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002176, + "KHR-GLES31.core.program_interface", + "_query.separate-programs-fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002177, + "KHR-GLES31.core.program_in", + "terface_query.uniform-block"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002178, + "KHR-GLES31.core.program_i", + "nterface_query.array-names"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002179, + "KHR-GLES31.core.program_i", + "nterface_query.buff-length"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002180, + "KHR-GLES31.core.program_in", + "terface_query.no-locations"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002181, + "KHR-GLES31.core.program_int", + "erface_query.query-not-used"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002182, + "KHR-GLES31.core.program_int", + "erface_query.relink-failure"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002183, + "KHR-GLES31.core.program_in", + "terface_query.link-failure"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002184, + "KHR-GLES31.core.program_int", + "erface_query.compute-shader"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002185, + "KHR-GLES31.core.program_in", + "terface_query.invalid-value"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002186, + "KHR-GLES31.core.program_inte", + "rface_query.invalid-operation"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002187, + "KHR-GLES31.core.program_in", + "terface_query.invalid-enum"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_sepshaderobjsTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_sepshaderobjsTestCase.cpp new file mode 100644 index 000000000..10e52fb03 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_sepshaderobjsTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000328, + "KHR-GLES31.core.sepshad", + "erobjs.CreateShadProgApi"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000329, + "KHR-GLES31.core.sepshad", + "erobjs.UseProgStagesApi"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000330, + "KHR-GLES31.core.seps", + "haderobjs.PipelineApi"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000331, + "KHR-GLES31.core.sepsha", + "derobjs.ProgUniformAPI"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000332, + "KHR-GLES31.core.sepshad", + "erobjs.StateInteraction"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000333, + "KHR-GLES31.core.sepshaderobjs.", + "InterfacePrecisionMatchingFloat"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000334, + "KHR-GLES31.core.sepshaderobjs", + ".InterfacePrecisionMatchingInt"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000335, + "KHR-GLES31.core.sepshaderobjs.", + "InterfacePrecisionMatchingUInt"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_atomic_countersTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_atomic_countersTestCase.cpp new file mode 100644 index 000000000..573a36517 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_atomic_countersTestCase.cpp @@ -0,0 +1,140 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000060, + "KHR-GLES31.core.shader_atomic_c", + "ounters.basic-buffer-operations"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000061, + "KHR-GLES31.core.shader_atomi", + "c_counters.basic-buffer-state"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000062, + "KHR-GLES31.core.shader_atomi", + "c_counters.basic-buffer-bind"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000063, + "KHR-GLES31.core.shader_atomi", + "c_counters.basic-program-max"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000064, + "KHR-GLES31.core.shader_atomic", + "_counters.basic-program-query"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000065, + "KHR-GLES31.core.shader_atomi", + "c_counters.basic-usage-simple"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000066, + "KHR-GLES31.core.shader_atomic_", + "counters.basic-usage-no-offset"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000067, + "KHR-GLES31.core.shader_ato", + "mic_counters.basic-usage-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000068, + "KHR-GLES31.core.shader_ato", + "mic_counters.basic-usage-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000069, + "KHR-GLES31.core.shader_ato", + "mic_counters.basic-usage-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000070, + "KHR-GLES31.core.shader_atomic", + "_counters.basic-glsl-built-in"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000071, + "KHR-GLES31.core.shader_atomic_co", + "unters.advanced-usage-multi-stage"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000072, + "KHR-GLES31.core.shader_atomic_count", + "ers.advanced-usage-draw-update-draw"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000073, + "KHR-GLES31.core.shader_atomic_cou", + "nters.advanced-usage-many-counters"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000074, + "KHR-GLES31.core.shader_atomic_counter", + "s.advanced-usage-multidim-array-medium"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000075, + "KHR-GLES31.core.shader_atomic_counter", + "s.advanced-usage-multidim-array-large"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000076, + "KHR-GLES31.core.shader_atomic_coun", + "ters.advanced-usage-switch-programs"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000077, + "KHR-GLES31.core.shader_atomi", + "c_counters.advanced-usage-ubo"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000078, + "KHR-GLES31.core.shader_atomic_coun", + "ters.advanced-usage-many-draw-calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000079, + "KHR-GLES31.core.shader_atomic_count", + "ers.advanced-usage-many-draw-calls2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000080, + "KHR-GLES31.core.shader_atomic_coun", + "ters.advanced-usage-many-dispatches"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000081, + "KHR-GLES31.core.shader_at", + "omic_counters.negative-api"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000082, + "KHR-GLES31.core.shader_ato", + "mic_counters.negative-glsl"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000083, + "KHR-GLES31.core.shader_ato", + "mic_counters.negative-ssbo"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000084, + "KHR-GLES31.core.shader_at", + "omic_counters.negative-ubo"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000085, + "KHR-GLES31.core.shader_atom", + "ic_counters.negative-uniform"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000086, + "KHR-GLES31.core.shader_ato", + "mic_counters.negative-array"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000087, + "KHR-GLES31.core.shader_atomic", + "_counters.negative-arithmetic"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000088, + "KHR-GLES31.core.shader_atomic_", + "counters.negative-unsized-array"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp new file mode 100644 index 000000000..6bec7b9a6 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002261, + "KHR-GLES31.core.shader_", + "group_vote.availability"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002262, + "KHR-GLES31.core.shader_g", + "roup_vote.all_invocations"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002263, + "KHR-GLES31.core.shader_g", + "roup_vote.any_invocation"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002264, + "KHR-GLES31.core.shader_grou", + "p_vote.all_invocations_equal"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002265, + "KHR-GLES31.core.shader_group_v", + "ote.invocations_with_variables"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_load_storeTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_load_storeTestCase.cpp new file mode 100644 index 000000000..6408f93ce --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_load_storeTestCase.cpp @@ -0,0 +1,180 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002001, + "KHR-GLES31.core.shader_ima", + "ge_load_store.basic-api-get"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002002, + "KHR-GLES31.core.shader_imag", + "e_load_store.basic-api-bind"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002003, + "KHR-GLES31.core.shader_image", + "_load_store.basic-api-barrier"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002004, + "KHR-GLES31.core.shader_image_load", + "_store.basic-api-barrier-byRegion"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002005, + "KHR-GLES31.core.shader_image_", + "load_store.basic-api-texParam"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002006, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allFormats-store-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002007, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allFormats-store-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002008, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allFormats-load-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002009, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allFormats-load-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002010, + "KHR-GLES31.core.shader_image_load_store", + ".basic-allFormats-loadStoreComputeStage"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002011, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-store-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002012, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-store-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002013, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-load-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002014, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-load-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002015, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-atomicFS"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002016, + "KHR-GLES31.core.shader_image_load_", + "store.basic-allTargets-loadStoreVS"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002017, + "KHR-GLES31.core.shader_image_load_", + "store.basic-allTargets-loadStoreCS"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002018, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-atomicVS"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002019, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-allTargets-atomicCS"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002020, + "KHR-GLES31.core.shader_image_", + "load_store.basic-glsl-misc-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002021, + "KHR-GLES31.core.shader_image_", + "load_store.basic-glsl-misc-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002022, + "KHR-GLES31.core.shader_image_loa", + "d_store.basic-glsl-earlyFragTests"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002023, + "KHR-GLES31.core.shader_image", + "_load_store.basic-glsl-const"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002024, + "KHR-GLES31.core.shader_image_loa", + "d_store.advanced-sync-imageAccess"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002025, + "KHR-GLES31.core.shader_image_loa", + "d_store.advanced-sync-vertexArray"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002026, + "KHR-GLES31.core.shader_image_load", + "_store.advanced-sync-imageAccess2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002027, + "KHR-GLES31.core.shader_image_load", + "_store.advanced-allStages-oneImage"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002028, + "KHR-GLES31.core.shader_image_load", + "_store.advanced-memory-order-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002029, + "KHR-GLES31.core.shader_image_", + "load_store.advanced-sso-simple"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002030, + "KHR-GLES31.core.shader_image_l", + "oad_store.advanced-copyImage-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002031, + "KHR-GLES31.core.shader_image_l", + "oad_store.advanced-copyImage-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002032, + "KHR-GLES31.core.shader_image_", + "load_store.advanced-allMips-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002033, + "KHR-GLES31.core.shader_image_", + "load_store.advanced-allMips-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002034, + "KHR-GLES31.core.shader_image", + "_load_store.advanced-cast-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002035, + "KHR-GLES31.core.shader_image", + "_load_store.advanced-cast-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002036, + "KHR-GLES31.core.shader_image", + "_load_store.negative-uniform"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002037, + "KHR-GLES31.core.shader_ima", + "ge_load_store.negative-bind"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002038, + "KHR-GLES31.core.shader_image_lo", + "ad_store.negative-compileErrors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002039, + "KHR-GLES31.core.shader_image_", + "load_store.negative-linkErrors"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_sizeTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_sizeTestCase.cpp new file mode 100644 index 000000000..7ed470e3b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_image_sizeTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002040, + "KHR-GLES31.core.shader_imag", + "e_size.basic-nonMS-vs-float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002041, + "KHR-GLES31.core.shader_ima", + "ge_size.basic-nonMS-vs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002042, + "KHR-GLES31.core.shader_ima", + "ge_size.basic-nonMS-vs-uint"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002043, + "KHR-GLES31.core.shader_imag", + "e_size.basic-nonMS-fs-float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002044, + "KHR-GLES31.core.shader_ima", + "ge_size.basic-nonMS-fs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002045, + "KHR-GLES31.core.shader_ima", + "ge_size.basic-nonMS-fs-uint"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002046, + "KHR-GLES31.core.shader_imag", + "e_size.basic-nonMS-cs-float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002047, + "KHR-GLES31.core.shader_ima", + "ge_size.basic-nonMS-cs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002048, + "KHR-GLES31.core.shader_ima", + "ge_size.basic-nonMS-cs-uint"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002049, + "KHR-GLES31.core.shader_image", + "_size.advanced-nonMS-vs-float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002050, + "KHR-GLES31.core.shader_imag", + "e_size.advanced-nonMS-vs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002051, + "KHR-GLES31.core.shader_image", + "_size.advanced-nonMS-vs-uint"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002052, + "KHR-GLES31.core.shader_image", + "_size.advanced-nonMS-fs-float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002053, + "KHR-GLES31.core.shader_imag", + "e_size.advanced-nonMS-fs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002054, + "KHR-GLES31.core.shader_image", + "_size.advanced-nonMS-fs-uint"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002055, + "KHR-GLES31.core.shader_image", + "_size.advanced-nonMS-cs-float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002056, + "KHR-GLES31.core.shader_imag", + "e_size.advanced-nonMS-cs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002057, + "KHR-GLES31.core.shader_image", + "_size.advanced-nonMS-cs-uint"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002058, + "KHR-GLES31.core.shader_imag", + "e_size.negative-compileTime"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_integer_mixTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_integer_mixTestCase.cpp new file mode 100644 index 000000000..6e37fe4c7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_integer_mixTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000790, + "KHR-GLES31.core.shad", + "er_integer_mix.define"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000791, + "KHR-GLES31.core.shader_inte", + "ger_mix.prototypes-extension"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000792, + "KHR-GLES31.core.shader", + "_integer_mix.prototypes"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000793, + "KHR-GLES31.core.shader_inte", + "ger_mix.prototypes-negative"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000794, + "KHR-GLES31.core.shader", + "_integer_mix.mix-ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000795, + "KHR-GLES31.core.shader", + "_integer_mix.mix-uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000796, + "KHR-GLES31.core.shader", + "_integer_mix.mix-bvec4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_macrosTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_macrosTestCase.cpp new file mode 100644 index 000000000..a04a7162b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_macrosTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001836, + "KHR-GLES31.core.shader_macros.", + "fragment_precision_high_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001837, + "KHR-GLES31.core.shader_macros.f", + "ragment_precision_high_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001838, + "KHR-GLES31.core.shader_macros.f", + "ragment_precision_high_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001839, + "KHR-GLES31.core.shader_macros.fra", + "gment_precision_high_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001840, + "KHR-GLES31.core.shader_macros.f", + "ragment_precision_high_tess_eval"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_storage_buffer_objectTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_storage_buffer_objectTestCase.cpp new file mode 100644 index 000000000..3d5d9de08 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_storage_buffer_objectTestCase.cpp @@ -0,0 +1,516 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001841, + "KHR-GLES31.core.shader_storag", + "e_buffer_object.basic-basic-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001842, + "KHR-GLES31.core.shader_storag", + "e_buffer_object.basic-basic-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001843, + "KHR-GLES31.core.shader_stor", + "age_buffer_object.basic-max"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001844, + "KHR-GLES31.core.shader_storag", + "e_buffer_object.basic-binding"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001845, + "KHR-GLES31.core.shader_storage", + "_buffer_object.basic-syntax-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001846, + "KHR-GLES31.core.shader_storage", + "_buffer_object.basic-syntax-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001847, + "KHR-GLES31.core.shader_storage", + "_buffer_object.basic-syntaxSSO"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001848, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001849, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001850, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case2-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001851, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001852, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case3-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001853, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case3-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001854, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case4-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001855, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case4-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001856, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case5-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001857, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case5-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001858, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case6-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001859, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case6-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001860, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case7-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001861, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std430Layout-case7-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001862, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001863, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001864, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case2-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001865, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001866, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case3-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001867, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case3-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001868, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case4-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001869, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case4-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001870, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case5-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001871, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case5-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001872, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case6-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001873, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.basic-std140Layout-case6-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001874, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-atomic-case1-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001875, + "KHR-GLES31.core.shader_storage_bu", + "ffer_object.basic-atomic-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001876, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-atomic-case3-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001877, + "KHR-GLES31.core.shader_storage_bu", + "ffer_object.basic-atomic-case3-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001878, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-atomic-case4-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001879, + "KHR-GLES31.core.shader_storage_bu", + "ffer_object.basic-atomic-case4-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001880, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001881, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001882, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case2-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001883, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001884, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case3-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001885, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case3-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001886, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case4-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001887, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-stdLayout-case4-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001888, + "KHR-GLES31.core.shader_storage_buff", + "er_object.basic-operations-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001889, + "KHR-GLES31.core.shader_storage_buff", + "er_object.basic-operations-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001890, + "KHR-GLES31.core.shader_storage_buff", + "er_object.basic-operations-case2-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001891, + "KHR-GLES31.core.shader_storage_buff", + "er_object.basic-operations-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001892, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.basic-stdLayout_UBO_SSBO-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001893, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.basic-stdLayout_UBO_SSBO-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001894, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.basic-stdLayout_UBO_SSBO-case2-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001895, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.basic-stdLayout_UBO_SSBO-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001896, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001897, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001898, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case2-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001899, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001900, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case3-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001901, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case3-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001902, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case4-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001903, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case4-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001904, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case5-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001905, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case5-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001906, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case6-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001907, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case6-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001908, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case7-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001909, + "KHR-GLES31.core.shader_storage_buffer_", + "object.basic-matrixOperations-case7-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001910, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.basic-readonly-writeonly"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001911, + "KHR-GLES31.core.shader_storage", + "_buffer_object.basic-name-match"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001912, + "KHR-GLES31.core.shader_storage_buff", + "er_object.advanced-switchBuffers-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001913, + "KHR-GLES31.core.shader_storage_buff", + "er_object.advanced-switchBuffers-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001914, + "KHR-GLES31.core.shader_storage_buff", + "er_object.advanced-switchPrograms-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001915, + "KHR-GLES31.core.shader_storage_buff", + "er_object.advanced-switchPrograms-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001916, + "KHR-GLES31.core.shader_storage_buff", + "er_object.advanced-write-fragment-fs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001917, + "KHR-GLES31.core.shader_storage_buff", + "er_object.advanced-write-fragment-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001918, + "KHR-GLES31.core.shader_storage_buffer_ob", + "ject.advanced-indirectAddressing-case1-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001919, + "KHR-GLES31.core.shader_storage_buffer_ob", + "ject.advanced-indirectAddressing-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001920, + "KHR-GLES31.core.shader_storage_buffer_obj", + "ect.advanced-indirectAddressing-case2-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001921, + "KHR-GLES31.core.shader_storage_buffer_ob", + "ject.advanced-indirectAddressing-case2-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001922, + "KHR-GLES31.core.shader_storage_buffer", + "_object.advanced-readWrite-case1-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001923, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.advanced-readWrite-case1-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001924, + "KHR-GLES31.core.shader_storage_b", + "uffer_object.advanced-usage-case1"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001925, + "KHR-GLES31.core.shader_storage_buf", + "fer_object.advanced-usage-sync-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001926, + "KHR-GLES31.core.shader_storage_bu", + "ffer_object.advanced-usage-sync-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001927, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.advanced-usage-operators-vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001928, + "KHR-GLES31.core.shader_storage_buffe", + "r_object.advanced-usage-operators-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001929, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.advanced-unsizedArrayLength-cs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001930, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.advanced-unsizedArrayLength-fs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001931, + "KHR-GLES31.core.shader_storage_buffer_o", + "bject.advanced-unsizedArrayLength-vs-int"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001932, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-std430-vec"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001933, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-std430-matC"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001934, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-std430-matR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001935, + "KHR-GLES31.core.shader_storage_buffer_object", + ".advanced-unsizedArrayLength-cs-std430-struct"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001936, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-std140-vec"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001937, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-std140-matC"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001938, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-std140-matR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001939, + "KHR-GLES31.core.shader_storage_buffer_object", + ".advanced-unsizedArrayLength-cs-std140-struct"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001940, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-packed-vec"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001941, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-packed-matC"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001942, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-cs-shared-matR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001943, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-fs-std430-vec"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001944, + "KHR-GLES31.core.shader_storage_buffer_object.", + "advanced-unsizedArrayLength-fs-std430-matC-pad"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001945, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-fs-std140-matR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001946, + "KHR-GLES31.core.shader_storage_buffer_object", + ".advanced-unsizedArrayLength-fs-std140-struct"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001947, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-vs-std430-vec"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001948, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-vs-std140-matC"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001949, + "KHR-GLES31.core.shader_storage_buffer_objec", + "t.advanced-unsizedArrayLength-vs-packed-matR"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001950, + "KHR-GLES31.core.shader_storage_buffer_object", + ".advanced-unsizedArrayLength-vs-std140-struct"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001951, + "KHR-GLES31.core.shader_storage_buffer_object.", + "advanced-unsizedArrayLength-cs-std430-vec-pad"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001952, + "KHR-GLES31.core.shader_storage_buffer_object.", + "advanced-unsizedArrayLength-cs-std430-matC-pad"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001953, + "KHR-GLES31.core.shader_storage_buffer_object.", + "advanced-unsizedArrayLength-cs-std140-matR-pad"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001954, + "KHR-GLES31.core.shader_storage_buffer_object.a", + "dvanced-unsizedArrayLength-cs-std430-struct-pad"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001955, + "KHR-GLES31.core.shader_storage_buffer_object.advanc", + "ed-unsizedArrayLength-cs-std430-vec-bindrangeOffset"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001956, + "KHR-GLES31.core.shader_storage_buffer_object.advan", + "ced-unsizedArrayLength-cs-std430-vec-bindrangeSize"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001957, + "KHR-GLES31.core.shader_storage_buffer_object.advan", + "ced-unsizedArrayLength-cs-std430-vec-bindbaseAfter"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001958, + "KHR-GLES31.core.shader_storage_buffer_object.ad", + "vanced-unsizedArrayLength-cs-std430-vec-indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001959, + "KHR-GLES31.core.shader_storage_b", + "uffer_object.advanced-matrix-vsfs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001960, + "KHR-GLES31.core.shader_storage_", + "buffer_object.advanced-matrix-cs"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001961, + "KHR-GLES31.core.shader_storage_", + "buffer_object.negative-api-bind"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001962, + "KHR-GLES31.core.shader_storage_buff", + "er_object.negative-glsl-compileTime"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001963, + "KHR-GLES31.core.shader_storage_bu", + "ffer_object.negative-glsl-linkTime"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_border_clampTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_border_clampTestCase.cpp new file mode 100644 index 000000000..9b065fcab --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_border_clampTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002648, + "KHR-GLES31.core.texture_bord", + "er_clamp.border_color_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002649, + "KHR-GLES31.core.texture_bord", + "er_clamp.texparameteri_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002650, + "KHR-GLES31.core.texture_border", + "_clamp.gettexparameteri_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002651, + "KHR-GLES31.core.texture_border_clamp.s", + "amplerparameteri_non_gen_sampler_error"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002652, + "KHR-GLES31.core.texture_border_clam", + "p.samplerparameteri_with_wrong_pname"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002653, + "KHR-GLES31.core.texture_border_cl", + "amp.samplerparameteri_border_color"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002654, + "KHR-GLES31.core.texture_bo", + "rder_clamp.Texture2DRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002655, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture2DR32I"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002656, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture2DR32UI"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002657, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture2DRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002658, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture2DDC32F"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002659, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture2DDC16"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002660, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture2DCompressed"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002661, + "KHR-GLES31.core.texture_borde", + "r_clamp.Texture2DArrayRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002662, + "KHR-GLES31.core.texture_bor", + "der_clamp.Texture2DArrayR32I"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002663, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture2DArrayR32UI"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002664, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture2DArrayRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002665, + "KHR-GLES31.core.texture_border", + "_clamp.Texture2DArrayCompressed"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002666, + "KHR-GLES31.core.texture_bo", + "rder_clamp.Texture3DRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002667, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture3DR32I"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002668, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture3DR32UI"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002669, + "KHR-GLES31.core.texture_b", + "order_clamp.Texture3DRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002670, + "KHR-GLES31.core.texture_borde", + "r_clamp.Texture2DRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002671, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture2DRGBA8Linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002672, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture2DDC32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002673, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture2DDC16Linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002674, + "KHR-GLES31.core.texture_border_", + "clamp.Texture2DCompressedLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002675, + "KHR-GLES31.core.texture_border_c", + "lamp.Texture2DArrayRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002676, + "KHR-GLES31.core.texture_border_", + "clamp.Texture2DArrayRGBA8Linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002677, + "KHR-GLES31.core.texture_border_cl", + "amp.Texture2DArrayCompressedLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002678, + "KHR-GLES31.core.texture_borde", + "r_clamp.Texture3DRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002679, + "KHR-GLES31.core.texture_bord", + "er_clamp.Texture3DRGBA8Linear"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_bufferTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_bufferTestCase.cpp new file mode 100644 index 000000000..988b077f3 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_bufferTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002680, + "KHR-GLES31.core.texture_buffer.tex", + "ture_buffer_operations_buffer_load"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002681, + "KHR-GLES31.core.texture_buffer.te", + "xture_buffer_operations_cpu_writes"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002682, + "KHR-GLES31.core.texture_buffer.texture", + "_buffer_operations_framebuffer_readback"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002683, + "KHR-GLES31.core.texture_buffer.textur", + "e_buffer_operations_transform_feedback"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002684, + "KHR-GLES31.core.texture_buffer.tex", + "ture_buffer_operations_image_store"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002685, + "KHR-GLES31.core.texture_buffer.tex", + "ture_buffer_operations_ssbo_writes"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002686, + "KHR-GLES31.core.texture_buf", + "fer.texture_buffer_max_size"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002687, + "KHR-GLES31.core.texture_buffer.te", + "xture_buffer_texture_buffer_range"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002688, + "KHR-GLES31.core.texture_buffer.", + "texture_buffer_conv_int_to_float"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002689, + "KHR-GLES31.core.texture_buffer.", + "texture_buffer_atomic_functions"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002690, + "KHR-GLES31.core.texture_buff", + "er.texture_buffer_parameters"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002691, + "KHR-GLES31.core.texture_bu", + "ffer.texture_buffer_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002692, + "KHR-GLES31.core.texture_buffer.texture_buff", + "er_active_uniform_validation_fragment_shader"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002693, + "KHR-GLES31.core.texture_buffer.texture_buff", + "er_active_uniform_validation_compute_shader"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002694, + "KHR-GLES31.core.texture_buffer.", + "texture_buffer_buffer_parameters"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002695, + "KHR-GLES31.core.texture_buf", + "fer.texture_buffer_precision"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_cube_map_arrayTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_cube_map_arrayTestCase.cpp new file mode 100644 index 000000000..eb7fd35bb --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_cube_map_arrayTestCase.cpp @@ -0,0 +1,128 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002622, + "KHR-GLES31.core.texture", + "_cube_map_array.sampling"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002623, + "KHR-GLES31.core.texture_cube_ma", + "p_array.color_depth_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002624, + "KHR-GLES31.core.texture_cube_map_array", + ".stencil_attachments_mutable_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002625, + "KHR-GLES31.core.texture_cube_map_arra", + "y.stencil_attachments_mutable_layered"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002626, + "KHR-GLES31.core.texture_cube_map_array.", + "stencil_attachments_immutable_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002627, + "KHR-GLES31.core.texture_cube_map_array", + ".stencil_attachments_immutable_layered"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002628, + "KHR-GLES31.core.texture_cub", + "e_map_array.tex3D_validation"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002629, + "KHR-GLES31.core.texture_", + "cube_map_array.subimage3D"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002630, + "KHR-GLES31.core.texture_c", + "ube_map_array.getter_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002631, + "KHR-GLES31.core.texture_cube_map_array.gener", + "ate_mip_map_filterable_internalformat_mutable"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002632, + "KHR-GLES31.core.texture_cube_map_array.genera", + "te_mip_map_filterable_internalformat_immutable"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002633, + "KHR-GLES31.core.texture_cube_map_array.gene", + "rate_mip_map_non_filterable_mutable_storage"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002634, + "KHR-GLES31.core.texture_cube_map_array.gener", + "ate_mip_map_non_filterable_immutable_storage"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002635, + "KHR-GLES31.core.texture_cube_", + "map_array.image_op_compute_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002636, + "KHR-GLES31.core.texture_cube", + "_map_array.image_op_vertex_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002637, + "KHR-GLES31.core.texture_cube_", + "map_array.image_op_fragment_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002638, + "KHR-GLES31.core.texture_cube_", + "map_array.image_op_geometry_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002639, + "KHR-GLES31.core.texture_cube_map_ar", + "ray.image_op_tessellation_control_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002640, + "KHR-GLES31.core.texture_cube_map_arra", + "y.image_op_tessellation_evaluation_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002641, + "KHR-GLES31.core.texture_cube", + "_map_array.fbo_incompleteness"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002642, + "KHR-GLES31.core.texture_cube_m", + "ap_array.texture_size_vertex_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002643, + "KHR-GLES31.core.texture_cube_ma", + "p_array.texture_size_geometry_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002644, + "KHR-GLES31.core.texture_cube_map_ar", + "ray.texture_size_tesselation_con_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002645, + "KHR-GLES31.core.texture_cube_map_a", + "rray.texture_size_tesselation_ev_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002646, + "KHR-GLES31.core.texture_cube_ma", + "p_array.texture_size_fragment_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002647, + "KHR-GLES31.core.texture_cube_ma", + "p_array.texture_size_compute_sh"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_gatherTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_gatherTestCase.cpp new file mode 100644 index 000000000..33a05cc5f --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_texture_gatherTestCase.cpp @@ -0,0 +1,164 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000089, + "KHR-GLES31.core.text", + "ure_gather.api-enums"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000090, + "KHR-GLES31.core.texture_g", + "ather.gather-glsl-compile"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000091, + "KHR-GLES31.core.texture_ga", + "ther.plain-gather-float-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000092, + "KHR-GLES31.core.texture_g", + "ather.plain-gather-int-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000093, + "KHR-GLES31.core.texture_g", + "ather.plain-gather-uint-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000094, + "KHR-GLES31.core.texture_ga", + "ther.plain-gather-depth-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000095, + "KHR-GLES31.core.texture_gath", + "er.plain-gather-float-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000096, + "KHR-GLES31.core.texture_gat", + "her.plain-gather-int-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000097, + "KHR-GLES31.core.texture_gath", + "er.plain-gather-uint-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000098, + "KHR-GLES31.core.texture_gath", + "er.plain-gather-depth-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000099, + "KHR-GLES31.core.texture_gathe", + "r.plain-gather-float-cube-rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000100, + "KHR-GLES31.core.texture_gath", + "er.plain-gather-int-cube-rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000101, + "KHR-GLES31.core.texture_ga", + "ther.plain-gather-uint-cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000102, + "KHR-GLES31.core.texture_gat", + "her.plain-gather-depth-cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000103, + "KHR-GLES31.core.texture_ga", + "ther.offset-gather-float-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000104, + "KHR-GLES31.core.texture_g", + "ather.offset-gather-int-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000105, + "KHR-GLES31.core.texture_ga", + "ther.offset-gather-uint-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000106, + "KHR-GLES31.core.texture_ga", + "ther.offset-gather-depth-2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000107, + "KHR-GLES31.core.texture_gathe", + "r.offset-gather-float-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000108, + "KHR-GLES31.core.texture_gath", + "er.offset-gather-int-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000109, + "KHR-GLES31.core.texture_gath", + "er.offset-gather-uint-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000110, + "KHR-GLES31.core.texture_gathe", + "r.offset-gather-depth-2darray"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000111, + "KHR-GLES31.core.tex", + "ture_gather.swizzle"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000112, + "KHR-GLES31.core.text", + "ure_gather.base-level"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000113, + "KHR-GLES31.core.texture_", + "gather.incomplete-texture"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000114, + "KHR-GLES31.core.texture_gathe", + "r.incomplete-texture-last-comp"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000115, + "KHR-GLES31.core.textur", + "e_gather.triangle-draw"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000116, + "KHR-GLES31.core.texture_gath", + "er.plain-gather-float-2d-srgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000117, + "KHR-GLES31.core.texture_gather.", + "plain-gather-float-2d-srgb-alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000118, + "KHR-GLES31.core.texture_gath", + "er.plain-gather-float-2d-rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000119, + "KHR-GLES31.core.texture_gat", + "her.plain-gather-float-2d-rg"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000120, + "KHR-GLES31.core.texture_gat", + "her.plain-gather-float-2d-r"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000121, + "KHR-GLES31.core.texture_gath", + "er.offset-gather-float-2d-rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000122, + "KHR-GLES31.core.texture_gath", + "er.offset-gather-float-2d-rg"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000123, + "KHR-GLES31.core.texture_gat", + "her.offset-gather-float-2d-r"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_vertex_attrib_bindingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_vertex_attrib_bindingTestCase.cpp new file mode 100644 index 000000000..79b0c1df7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_vertex_attrib_bindingTestCase.cpp @@ -0,0 +1,116 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001813, + "KHR-GLES31.core.vertex_a", + "ttrib_binding.basic-usage"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001814, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case1"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001815, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case2"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001816, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case3"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001817, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case4"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001818, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case5"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001819, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case6"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001820, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case8"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001821, + "KHR-GLES31.core.vertex_attr", + "ib_binding.basic-input-case9"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001822, + "KHR-GLES31.core.vertex_attri", + "b_binding.basic-input-case11"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001823, + "KHR-GLES31.core.vertex_attri", + "b_binding.basic-input-case12"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001824, + "KHR-GLES31.core.vertex_attri", + "b_binding.basic-inputI-case1"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001825, + "KHR-GLES31.core.vertex_attri", + "b_binding.basic-inputI-case2"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001826, + "KHR-GLES31.core.vertex_attri", + "b_binding.basic-inputI-case3"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001827, + "KHR-GLES31.core.vertex_at", + "trib_binding.basic-state1"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001828, + "KHR-GLES31.core.vertex_at", + "trib_binding.basic-state2"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001829, + "KHR-GLES31.core.vertex_attrib_", + "binding.advanced-bindingUpdate"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001830, + "KHR-GLES31.core.vertex_attri", + "b_binding.advanced-iterations"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001831, + "KHR-GLES31.core.vertex_attrib_binding.adv", + "anced-largeStrideAndOffsetsNewAndLegacyAPI"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001832, + "KHR-GLES31.core.vertex_attrib_b", + "inding.negative-bindVertexBuffer"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001833, + "KHR-GLES31.core.vertex_attrib_bi", + "nding.negative-vertexAttribFormat"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001834, + "KHR-GLES31.core.vertex_attrib_bin", + "ding.negative-vertexAttribBinding"); + +static SHRINK_HWTEST_F(ActsKhrgles310002TestSuite, TestCase_001835, + "KHR-GLES31.core.vertex_attrib_bin", + "ding.negative-vertexAttribDivisor"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31core_viewport_arrayTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31core_viewport_arrayTestCase.cpp new file mode 100644 index 000000000..80351f8d2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31core_viewport_arrayTestCase.cpp @@ -0,0 +1,92 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002702, + "KHR-GLES31.core.view", + "port_array.api_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002703, + "KHR-GLES31.core.vie", + "wport_array.queries"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002704, + "KHR-GLES31.core.viewp", + "ort_array.viewport_api"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002705, + "KHR-GLES31.core.viewp", + "ort_array.scissor_api"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002706, + "KHR-GLES31.core.viewpor", + "t_array.depth_range_api"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002707, + "KHR-GLES31.core.viewport_a", + "rray.scissor_test_state_api"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002708, + "KHR-GLES31.core.viewport_array.draw_t", + "o_single_layer_with_multiple_viewports"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002709, + "KHR-GLES31.core.viewport_a", + "rray.dynamic_viewport_index"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002710, + "KHR-GLES31.core.viewport_array.draw_mu", + "litple_viewports_with_single_invocation"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002711, + "KHR-GLES31.core.viewport_arr", + "ay.viewport_index_subroutine"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002712, + "KHR-GLES31.core.viewport_", + "array.draw_multiple_layers"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002713, + "KHR-GLES31.core.vie", + "wport_array.scissor"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002714, + "KHR-GLES31.core.viewport_a", + "rray.scissor_zero_dimension"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002715, + "KHR-GLES31.core.viewpo", + "rt_array.scissor_clear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002716, + "KHR-GLES31.core.viewp", + "ort_array.depth_range"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002717, + "KHR-GLES31.core.viewport_a", + "rray.depth_range_depth_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002718, + "KHR-GLES31.core.viewpor", + "t_array.provoking_vertex"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_adjacencyTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_adjacencyTestCase.cpp new file mode 100644 index 000000000..0f473b325 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_adjacencyTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002407, + "KHR-GLES31.core.geometry_shader.ad", + "jacency.adjacency_non_indiced_lines"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002408, + "KHR-GLES31.core.geometry_shader.", + "adjacency.adjacency_indiced_lines"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002409, + "KHR-GLES31.core.geometry_shader.adjac", + "ency.adjacency_non_indiced_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002410, + "KHR-GLES31.core.geometry_shader.adj", + "acency.adjacency_indiced_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002411, + "KHR-GLES31.core.geometry_shader.adja", + "cency.adjacency_non_indiced_triangles"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002412, + "KHR-GLES31.core.geometry_shader.ad", + "jacency.adjacency_indiced_triangles"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002413, + "KHR-GLES31.core.geometry_shader.adjacen", + "cy.adjacency_non_indiced_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002414, + "KHR-GLES31.core.geometry_shader.adjac", + "ency.adjacency_indiced_triangle_strip"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_apiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_apiTestCase.cpp new file mode 100644 index 000000000..f4fa32bef --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_apiTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002518, + "KHR-GLES31.core.geometry_sha", + "der.api.createShaderProgramv"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002519, + "KHR-GLES31.core.geometr", + "y_shader.api.shader_type"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002520, + "KHR-GLES31.core.geometry", + "_shader.api.getProgramiv"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002521, + "KHR-GLES31.core.geometry", + "_shader.api.getProgramiv2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002522, + "KHR-GLES31.core.geometry", + "_shader.api.getProgramiv3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002523, + "KHR-GLES31.core.geometry_", + "shader.api.fs_gs_draw_call"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002524, + "KHR-GLES31.core.geometry_sh", + "ader.api.max_image_uniforms"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002525, + "KHR-GLES31.core.geometry_shade", + "r.api.max_shader_storage_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002526, + "KHR-GLES31.core.geometry_sh", + "ader.api.max_atomic_counters"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002527, + "KHR-GLES31.core.geometry_shader", + ".api.max_atomic_counter_buffers"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002528, + "KHR-GLES31.core.geometry_shader.api", + ".pipeline_program_without_active_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002529, + "KHR-GLES31.core.geometry_shader", + ".api.incompatible_draw_call_mode"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002530, + "KHR-GLES31.core.geometry_shader.", + "api.insufficient_emitted_vertices"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002531, + "KHR-GLES31.core.geometry_shader.a", + "pi.program_pipeline_vs_gs_capture"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002532, + "KHR-GLES31.core.geometry_shader.api.draw_", + "primitives_do_not_match_output_primitives"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002533, + "KHR-GLES31.core.geometry_shader.", + "api.draw_calls_while_tf_is_paused"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_blittingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_blittingTestCase.cpp new file mode 100644 index 000000000..1470f03ec --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_blittingTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002475, + "KHR-GLES31.core.geometry_shad", + "er.blitting.layered_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002476, + "KHR-GLES31.core.geometry_shad", + "er.blitting.nonlayered_layered"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002477, + "KHR-GLES31.core.geometry_sha", + "der.blitting.layered_layered"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_clippingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_clippingTestCase.cpp new file mode 100644 index 000000000..931b90e7e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_clippingTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002474, + "KHR-GLES31.core.geometry", + "_shader.clipping.clipping"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_constant_variablesTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_constant_variablesTestCase.cpp new file mode 100644 index 000000000..ece692178 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_constant_variablesTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002495, + "KHR-GLES31.core.geometry_shader.co", + "nstant_variables.constant_variables"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp new file mode 100644 index 000000000..8976a3c3c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002450, + "KHR-GLES31.core.geometry_shad", + "er.input.gl_in_array_contents"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002451, + "KHR-GLES31.core.geometry_sha", + "der.input.gl_in_array_length"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002452, + "KHR-GLES31.core.geometry_sha", + "der.input.gl_pointsize_value"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002453, + "KHR-GLES31.core.geometry_sh", + "ader.input.gl_position_value"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_fboTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_fboTestCase.cpp new file mode 100644 index 000000000..544236636 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_fboTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002535, + "KHR-GLES31.core.geometry_sh", + "ader.layered_fbo.layered_fbo"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002536, + "KHR-GLES31.core.geometry_shader.l", + "ayered_fbo.layered_fbo_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002537, + "KHR-GLES31.core.geometry_shader.la", + "yered_fbo.fb_texture_invalid_target"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002538, + "KHR-GLES31.core.geometry_shader.layere", + "d_fbo.fb_texture_no_fbo_bound_to_target"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002539, + "KHR-GLES31.core.geometry_shader.laye", + "red_fbo.fb_texture_invalid_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002540, + "KHR-GLES31.core.geometry_shader.la", + "yered_fbo.fb_texture_invalid_value"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002541, + "KHR-GLES31.core.geometry_shader.layer", + "ed_fbo.fb_texture_invalid_level_number"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002542, + "KHR-GLES31.core.geometry_shader.layered_fbo.", + "fb_texture_argument_refers_to_buffer_texture"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp new file mode 100644 index 000000000..b70146df3 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002482, + "KHR-GLES31.core.geometry_shader.l", + "ayered_framebuffer.stencil_support"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002483, + "KHR-GLES31.core.geometry_shader.", + "layered_framebuffer.depth_support"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002484, + "KHR-GLES31.core.geometry_shader.la", + "yered_framebuffer.blending_support"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002485, + "KHR-GLES31.core.geometry_shader.lay", + "ered_framebuffer.clear_call_support"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_renderingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_renderingTestCase.cpp new file mode 100644 index 000000000..0f9dc1848 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_renderingTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002473, + "KHR-GLES31.core.geometry_shader.l", + "ayered_rendering.layered_rendering"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp new file mode 100644 index 000000000..12b27a144 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002478, + "KHR-GLES31.core.geometry_shader.layered_rendering_boundary_co", + "ndition.layered_rendering_boundary_condition_various_textures"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002479, + "KHR-GLES31.core.geometry_shader.layered_rendering_bound", + "ary_condition.layered_rendering_boundary_condition_no_gs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002480, + "KHR-GLES31.core.geometry_shader.layered_rendering_boundary_co", + "ndition.layered_rendering_boundary_condition_no_default_layer"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002481, + "KHR-GLES31.core.geometry_shader.layered_rendering_boundary_c", + "ondition.layered_rendering_boundary_condition_no_layered_fbo"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp new file mode 100644 index 000000000..4f28ec122 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002494, + "KHR-GLES31.core.geometry_shader.layered_rendering_f", + "bo_no_attachment.layered_rendering_fbo_no_attachment"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_limitsTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_limitsTestCase.cpp new file mode 100644 index 000000000..ff4637fa4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_limitsTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002496, + "KHR-GLES31.core.geometry_shade", + "r.limits.max_uniform_components"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002497, + "KHR-GLES31.core.geometry_sha", + "der.limits.max_uniform_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002498, + "KHR-GLES31.core.geometry_shad", + "er.limits.max_input_components"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002499, + "KHR-GLES31.core.geometry_shade", + "r.limits.max_output_components"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002500, + "KHR-GLES31.core.geometry_shad", + "er.limits.max_output_vertices"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002501, + "KHR-GLES31.core.geometry_shader.limi", + "ts.max_output_components_single_point"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002502, + "KHR-GLES31.core.geometry_sha", + "der.limits.max_texture_units"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002503, + "KHR-GLES31.core.geometry_sh", + "ader.limits.max_invocations"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002504, + "KHR-GLES31.core.geometry_shader.", + "limits.max_combined_texture_units"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_linkingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_linkingTestCase.cpp new file mode 100644 index 000000000..4f492b5f7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_linkingTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002505, + "KHR-GLES31.core.geometry_shader.l", + "inking.incomplete_program_objects"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002506, + "KHR-GLES31.core.geometry_s", + "hader.linking.incomplete_gs"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002507, + "KHR-GLES31.core.geometry_shader.lin", + "king.invalid_arrayed_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002508, + "KHR-GLES31.core.geometry_shader.li", + "nking.vs_gs_variable_type_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002509, + "KHR-GLES31.core.geometry_shader.link", + "ing.vs_gs_variable_qualifier_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002510, + "KHR-GLES31.core.geometry_shader.linkin", + "g.vs_gs_arrayed_variable_size_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002511, + "KHR-GLES31.core.geometry_shader", + ".linking.fragcoord_redeclaration"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002512, + "KHR-GLES31.core.geometry_sha", + "der.linking.location_aliasing"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002513, + "KHR-GLES31.core.geometry_shader.li", + "nking.more_ACs_in_GS_than_supported"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002514, + "KHR-GLES31.core.geometry_shader.lin", + "king.more_ACBs_in_GS_than_supported"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002515, + "KHR-GLES31.core.geometry_shader.link", + "ing.geometry_shader_compilation_fail"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002516, + "KHR-GLES31.core.geometry_shader.linking.", + "more_input_vertices_in_GS_than_available"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002517, + "KHR-GLES31.core.geometry_shader.linki", + "ng.tf_capture_from_gs_and_vs_variables"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_nonarray_inputTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_nonarray_inputTestCase.cpp new file mode 100644 index 000000000..0d5b1befa --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_nonarray_inputTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002449, + "KHR-GLES31.core.geometry_shade", + "r.nonarray_input.nonarray_input"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_outputTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_outputTestCase.cpp new file mode 100644 index 000000000..e991ce927 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_outputTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002486, + "KHR-GLES31.core.geometry_shader.o", + "utput.conflicted_output_primitive"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002487, + "KHR-GLES31.core.geometry_shader.ou", + "tput.conflicted_output_vertices_max"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002488, + "KHR-GLES31.core.geometry_sha", + "der.output.vertex_emit_at_end"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002489, + "KHR-GLES31.core.geometry_shader.", + "output.primitive_end_done_at_end"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002490, + "KHR-GLES31.core.geometry_shader.output", + ".primite_end_done_for_single_primitive"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_counterTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_counterTestCase.cpp new file mode 100644 index 000000000..031d05664 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_counterTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002454, + "KHR-GLES31.core.geometry_shader.", + "primitive_counter.point_to_point"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002455, + "KHR-GLES31.core.geometry_shader.pri", + "mitive_counter.points_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002456, + "KHR-GLES31.core.geometry_shader.primi", + "tive_counter.points_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002457, + "KHR-GLES31.core.geometry_shader.", + "primitive_counter.lines_to_points"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002458, + "KHR-GLES31.core.geometry_shader.pr", + "imitive_counter.lines_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002459, + "KHR-GLES31.core.geometry_shader.prim", + "itive_counter.lines_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002460, + "KHR-GLES31.core.geometry_shader.pr", + "imitive_counter.triangles_to_points"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002461, + "KHR-GLES31.core.geometry_shader.prim", + "itive_counter.triangles_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002462, + "KHR-GLES31.core.geometry_shader.primit", + "ive_counter.triangles_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002463, + "KHR-GLES31.core.geometry_shader.pr", + "imitive_counter.points_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002464, + "KHR-GLES31.core.geometry_shader.prim", + "itive_counter.points_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002465, + "KHR-GLES31.core.geometry_shader.primit", + "ive_counter.points_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002466, + "KHR-GLES31.core.geometry_shader.pr", + "imitive_counter.lines_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002467, + "KHR-GLES31.core.geometry_shader.prim", + "itive_counter.lines_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002468, + "KHR-GLES31.core.geometry_shader.primit", + "ive_counter.lines_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002469, + "KHR-GLES31.core.geometry_shader.prim", + "itive_counter.triangles_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002470, + "KHR-GLES31.core.geometry_shader.primit", + "ive_counter.triangles_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002471, + "KHR-GLES31.core.geometry_shader.primitiv", + "e_counter.triangles_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002472, + "KHR-GLES31.core.geometry_shader.primit", + "ive_counter.primitive_id_from_fragment"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_queriesTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_queriesTestCase.cpp new file mode 100644 index 000000000..faf30c782 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_primitive_queriesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002491, + "KHR-GLES31.core.geometry_shader.primi", + "tive_queries.primitive_queries_points"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002492, + "KHR-GLES31.core.geometry_shader.prim", + "itive_queries.primitive_queries_lines"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002493, + "KHR-GLES31.core.geometry_shader.primit", + "ive_queries.primitive_queries_triangles"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_program_resourceTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_program_resourceTestCase.cpp new file mode 100644 index 000000000..cb7d33f71 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_program_resourceTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002448, + "KHR-GLES31.core.geometry_shader.", + "program_resource.program_resource"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_qualifiersTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_qualifiersTestCase.cpp new file mode 100644 index 000000000..d404613eb --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_qualifiersTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002534, + "KHR-GLES31.core.geometry_shade", + "r.qualifiers.flat_interpolation"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_copy_tex_imageTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_copy_tex_imageTestCase.cpp new file mode 100644 index 000000000..7432b5176 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_copy_tex_imageTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002349, + "KHR-GLES31.core.internal", + "format.copy_tex_image.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002350, + "KHR-GLES31.core.internalf", + "ormat.copy_tex_image.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002351, + "KHR-GLES31.core.internalf", + "ormat.copy_tex_image.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002352, + "KHR-GLES31.core.internalfor", + "mat.copy_tex_image.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002353, + "KHR-GLES31.core.internalformat", + ".copy_tex_image.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002354, + "KHR-GLES31.core.internalf", + "ormat.copy_tex_image.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002355, + "KHR-GLES31.core.internalfo", + "rmat.copy_tex_image.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002356, + "KHR-GLES31.core.internalfo", + "rmat.copy_tex_image.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002357, + "KHR-GLES31.core.internalf", + "ormat.copy_tex_image.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002358, + "KHR-GLES31.core.internalf", + "ormat.copy_tex_image.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002359, + "KHR-GLES31.core.internalforma", + "t.copy_tex_image.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002360, + "KHR-GLES31.core.internalf", + "ormat.copy_tex_image.srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002361, + "KHR-GLES31.core.internalformat", + ".copy_tex_image.r11f_g11f_b10f"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_renderbufferTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_renderbufferTestCase.cpp new file mode 100644 index 000000000..4cebe87ae --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_renderbufferTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002362, + "KHR-GLES31.core.internal", + "format.renderbuffer.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002363, + "KHR-GLES31.core.internal", + "format.renderbuffer.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002364, + "KHR-GLES31.core.internalf", + "ormat.renderbuffer.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002365, + "KHR-GLES31.core.internalform", + "at.renderbuffer.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002366, + "KHR-GLES31.core.internalformat.", + "renderbuffer.depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002367, + "KHR-GLES31.core.internalformat", + ".renderbuffer.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_texture2dTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_texture2dTestCase.cpp new file mode 100644 index 000000000..f11c7e8f1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31internalformat_texture2dTestCase.cpp @@ -0,0 +1,356 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002266, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002267, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_unsigned_byte_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002268, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgba_unsigned_short_4_4_4_4_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002269, + "KHR-GLES31.core.internalformat.texture2d.lu", + "minance_alpha_unsigned_byte_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002270, + "KHR-GLES31.core.internalformat.textur", + "e2d.luminance_unsigned_byte_luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002271, + "KHR-GLES31.core.internalformat.te", + "xture2d.alpha_unsigned_byte_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002272, + "KHR-GLES31.core.internalformat.texture2", + "d.rgba_unsigned_int_2_10_10_10_rev_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002273, + "KHR-GLES31.core.internalformat.texture2d.", + "rgba_unsigned_int_2_10_10_10_rev_rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002274, + "KHR-GLES31.core.internalformat.texture2d", + ".rgba_unsigned_int_2_10_10_10_rev_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002275, + "KHR-GLES31.core.internalformat.texture", + "2d.rgb_unsigned_int_2_10_10_10_rev_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002276, + "KHR-GLES31.core.internalformat.texture2d.de", + "pth_component_unsigned_short_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002277, + "KHR-GLES31.core.internalformat.texture2d.d", + "epth_component_unsigned_int_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002278, + "KHR-GLES31.core.internalformat.texture2d.de", + "pth_stencil_unsigned_int_24_8_depth_stencil"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002279, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_half_float_oes_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002280, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_half_float_oes_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002281, + "KHR-GLES31.core.internalformat.text", + "ure2d.rgb_half_float_oes_rgb_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002282, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgba_half_float_oes_rgba_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002283, + "KHR-GLES31.core.internalform", + "at.texture2d.rgb_float_rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002284, + "KHR-GLES31.core.internalforma", + "t.texture2d.rgba_float_rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002285, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgb_float_rgb32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002286, + "KHR-GLES31.core.internalformat.te", + "xture2d.rgba_float_rgba32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002287, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002288, + "KHR-GLES31.core.internalformat.te", + "xture2d.rgba_unsigned_byte_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002289, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002290, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgba_unsigned_byte_srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002291, + "KHR-GLES31.core.internalformat.", + "texture2d.rgba_byte_rgba8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002292, + "KHR-GLES31.core.internalformat.textur", + "e2d.rgba_unsigned_short_4_4_4_4_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002293, + "KHR-GLES31.core.internalformat.texture", + "2d.rgba_unsigned_short_5_5_5_1_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002294, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_half_float_rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002295, + "KHR-GLES31.core.internalforma", + "t.texture2d.rgba_float_rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002296, + "KHR-GLES31.core.internalformat.textur", + "e2d.rgba_integer_unsigned_byte_rgba8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002297, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_integer_byte_rgba8i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002298, + "KHR-GLES31.core.internalformat.texture", + "2d.rgba_integer_unsigned_short_rgba16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002299, + "KHR-GLES31.core.internalformat.te", + "xture2d.rgba_integer_short_rgba16i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002300, + "KHR-GLES31.core.internalformat.textur", + "e2d.rgba_integer_unsigned_int_rgba32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002301, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgba_integer_int_rgba32i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002302, + "KHR-GLES31.core.internalformat.texture2d.rgba_", + "integer_unsigned_int_2_10_10_10_rev_rgb10_a2ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002303, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_unsigned_byte_rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002304, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgb_unsigned_byte_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002305, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgb_unsigned_byte_srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002306, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgb_unsigned_short_5_6_5_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002307, + "KHR-GLES31.core.internalformat.texture2d.rgb", + "_unsigned_int_10f_11f_11f_rev_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002308, + "KHR-GLES31.core.internalformat.texture", + "2d.rgb_unsigned_int_5_9_9_9_rev_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002309, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_half_float_rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002310, + "KHR-GLES31.core.internalformat.text", + "ure2d.rgb_half_float_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002311, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_half_float_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002312, + "KHR-GLES31.core.internalform", + "at.texture2d.rgb_float_rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002313, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgb_float_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002314, + "KHR-GLES31.core.internalforma", + "t.texture2d.rgb_float_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002315, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgb_integer_unsigned_byte_rgb8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002316, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_integer_byte_rgb8i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002317, + "KHR-GLES31.core.internalformat.textur", + "e2d.rgb_integer_unsigned_short_rgb16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002318, + "KHR-GLES31.core.internalformat.t", + "exture2d.rgb_integer_short_rgb16i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002319, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgb_integer_unsigned_int_rgb32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002320, + "KHR-GLES31.core.internalformat.", + "texture2d.rgb_integer_int_rgb32i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002321, + "KHR-GLES31.core.internalformat", + ".texture2d.rg_unsigned_byte_rg8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002322, + "KHR-GLES31.core.internalformat", + ".texture2d.rg_half_float_rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002323, + "KHR-GLES31.core.internalfor", + "mat.texture2d.rg_float_rg32f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002324, + "KHR-GLES31.core.internalfor", + "mat.texture2d.rg_float_rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002325, + "KHR-GLES31.core.internalformat.text", + "ure2d.rg_integer_unsigned_byte_rg8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002326, + "KHR-GLES31.core.internalformat", + ".texture2d.rg_integer_byte_rg8i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002327, + "KHR-GLES31.core.internalformat.textu", + "re2d.rg_integer_unsigned_short_rg16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002328, + "KHR-GLES31.core.internalformat.", + "texture2d.rg_integer_short_rg16i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002329, + "KHR-GLES31.core.internalformat.text", + "ure2d.rg_integer_unsigned_int_rg32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002330, + "KHR-GLES31.core.internalformat", + ".texture2d.rg_integer_int_rg32i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002331, + "KHR-GLES31.core.internalformat", + ".texture2d.red_unsigned_byte_r8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002332, + "KHR-GLES31.core.internalformat", + ".texture2d.red_half_float_r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002333, + "KHR-GLES31.core.internalfor", + "mat.texture2d.red_float_r32f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002334, + "KHR-GLES31.core.internalfor", + "mat.texture2d.red_float_r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002335, + "KHR-GLES31.core.internalformat.text", + "ure2d.red_integer_unsigned_byte_r8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002336, + "KHR-GLES31.core.internalformat", + ".texture2d.red_integer_byte_r8i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002337, + "KHR-GLES31.core.internalformat.textu", + "re2d.red_integer_unsigned_short_r16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002338, + "KHR-GLES31.core.internalformat.", + "texture2d.red_integer_short_r16i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002339, + "KHR-GLES31.core.internalformat.text", + "ure2d.red_integer_unsigned_int_r32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002340, + "KHR-GLES31.core.internalformat", + ".texture2d.red_integer_int_r32i"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002341, + "KHR-GLES31.core.internalformat.texture2d.dep", + "th_component_unsigned_short_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002342, + "KHR-GLES31.core.internalformat.texture2d.de", + "pth_component_unsigned_int_depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002343, + "KHR-GLES31.core.internalformat.texture2d.de", + "pth_component_unsigned_int_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002344, + "KHR-GLES31.core.internalformat.texture2d", + ".depth_component_float_depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002345, + "KHR-GLES31.core.internalformat.texture2d.dep", + "th_stencil_unsigned_int_24_8_depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002346, + "KHR-GLES31.core.internalformat.texture2d.depth_sten", + "cil_float_32_unsigned_int_24_8_rev_depth32f_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002347, + "KHR-GLES31.core.internalformat.textu", + "re2d.rgba_unsigned_short_5_5_5_1_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002348, + "KHR-GLES31.core.internalformat.tex", + "ture2d.rgb_unsigned_short_5_6_5_rgb"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp new file mode 100644 index 000000000..3844dbd19 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000742, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000743, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000744, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp new file mode 100644 index 000000000..76d13a26b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000733, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_centroid_check.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000734, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_centroid_check.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000735, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_centroid_check.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp new file mode 100644 index 000000000..9db7d71d9 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000736, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000737, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000738, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp new file mode 100644 index 000000000..b3bc5efdb --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000739, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000740, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000741, + "KHR-GLES31.core.shader_multisample_interpolation.re", + "nder.interpolate_at_centroid_check.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp new file mode 100644 index 000000000..fb5403d76 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000730, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000731, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000732, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp new file mode 100644 index 000000000..a9c27ee4a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000721, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_centroid.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000722, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_centroid.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000723, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_centroid.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp new file mode 100644 index 000000000..f6a28ae3c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000724, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000725, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000726, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp new file mode 100644 index 000000000..7923949ea --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000727, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000728, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000729, + "KHR-GLES31.core.shader_multisample_interpolation", + ".render.interpolate_at_centroid.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp new file mode 100644 index 000000000..2797793e5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000766, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000767, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000768, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp new file mode 100644 index 000000000..32727170f --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000757, + "KHR-GLES31.core.shader_multisample_interpolation.", + "render.interpolate_at_offset_check.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000758, + "KHR-GLES31.core.shader_multisample_interpolation.", + "render.interpolate_at_offset_check.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000759, + "KHR-GLES31.core.shader_multisample_interpolation.", + "render.interpolate_at_offset_check.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp new file mode 100644 index 000000000..7c2360bac --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000760, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000761, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000762, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp new file mode 100644 index 000000000..4d6fcd5d4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000763, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000764, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000765, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_offset_check.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp new file mode 100644 index 000000000..b30ec58fe --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000754, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000755, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000756, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp new file mode 100644 index 000000000..078137c40 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000745, + "KHR-GLES31.core.shader_multisample_interpolati", + "on.render.interpolate_at_offset.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000746, + "KHR-GLES31.core.shader_multisample_interpolati", + "on.render.interpolate_at_offset.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000747, + "KHR-GLES31.core.shader_multisample_interpolati", + "on.render.interpolate_at_offset.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp new file mode 100644 index 000000000..c05dc54fd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000748, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000749, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000750, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp new file mode 100644 index 000000000..294485165 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000751, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000752, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000753, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_offset.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp new file mode 100644 index 000000000..3e58eda0c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000718, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000719, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000720, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp new file mode 100644 index 000000000..fe03d06fd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000709, + "KHR-GLES31.core.shader_multisample_interpolation.", + "render.interpolate_at_sample_check.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000710, + "KHR-GLES31.core.shader_multisample_interpolation.", + "render.interpolate_at_sample_check.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000711, + "KHR-GLES31.core.shader_multisample_interpolation.", + "render.interpolate_at_sample_check.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp new file mode 100644 index 000000000..c41875ebb --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000712, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000713, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000714, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp new file mode 100644 index 000000000..139574e01 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000715, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000716, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000717, + "KHR-GLES31.core.shader_multisample_interpolation.r", + "ender.interpolate_at_sample_check.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp new file mode 100644 index 000000000..2698642b5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000706, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000707, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000708, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp new file mode 100644 index 000000000..d2b38705a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000697, + "KHR-GLES31.core.shader_multisample_interpolati", + "on.render.interpolate_at_sample.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000698, + "KHR-GLES31.core.shader_multisample_interpolati", + "on.render.interpolate_at_sample.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000699, + "KHR-GLES31.core.shader_multisample_interpolati", + "on.render.interpolate_at_sample.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp new file mode 100644 index 000000000..6ea95ae30 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000700, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000701, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000702, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp new file mode 100644 index 000000000..ca817226d --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000703, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000704, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000705, + "KHR-GLES31.core.shader_multisample_interpolatio", + "n.render.interpolate_at_sample.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31position_fixedTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31position_fixedTestCase.cpp new file mode 100644 index 000000000..58c6d4393 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31position_fixedTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000323, + "KHR-GLES31.core.sample_varia", + "bles.position.fixed.samples_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000324, + "KHR-GLES31.core.sample_varia", + "bles.position.fixed.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000325, + "KHR-GLES31.core.sample_varia", + "bles.position.fixed.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000326, + "KHR-GLES31.core.sample_varia", + "bles.position.fixed.samples_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000327, + "KHR-GLES31.core.sample_varia", + "bles.position.fixed.samples_8"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31position_non-fixedTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31position_non-fixedTestCase.cpp new file mode 100644 index 000000000..7ec1d57aa --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31position_non-fixedTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000318, + "KHR-GLES31.core.sample_variabl", + "es.position.non-fixed.samples_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000319, + "KHR-GLES31.core.sample_variabl", + "es.position.non-fixed.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000320, + "KHR-GLES31.core.sample_variabl", + "es.position.non-fixed.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000321, + "KHR-GLES31.core.sample_variabl", + "es.position.non-fixed.samples_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000322, + "KHR-GLES31.core.sample_variabl", + "es.position.non-fixed.samples_8"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba32fTestCase.cpp new file mode 100644 index 000000000..60db31aec --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000134, + "KHR-GLES31.core.sample_sh", + "ading.render.rgba32f.full"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000135, + "KHR-GLES31.core.sample_sh", + "ading.render.rgba32f.half"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000136, + "KHR-GLES31.core.sample_sh", + "ading.render.rgba32f.none"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8TestCase.cpp new file mode 100644 index 000000000..3454424fb --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000125, + "KHR-GLES31.core.sample_s", + "hading.render.rgba8.full"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000126, + "KHR-GLES31.core.sample_s", + "hading.render.rgba8.half"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000127, + "KHR-GLES31.core.sample_s", + "hading.render.rgba8.none"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8iTestCase.cpp new file mode 100644 index 000000000..03849c841 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000128, + "KHR-GLES31.core.sample_s", + "hading.render.rgba8i.full"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000129, + "KHR-GLES31.core.sample_s", + "hading.render.rgba8i.half"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000130, + "KHR-GLES31.core.sample_s", + "hading.render.rgba8i.none"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8uiTestCase.cpp new file mode 100644 index 000000000..4991fe34e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31render_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000131, + "KHR-GLES31.core.sample_sh", + "ading.render.rgba8ui.full"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000132, + "KHR-GLES31.core.sample_sh", + "ading.render.rgba8ui.half"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000133, + "KHR-GLES31.core.sample_sh", + "ading.render.rgba8ui.none"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rendering_renderingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rendering_renderingTestCase.cpp new file mode 100644 index 000000000..9c0e783b9 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rendering_renderingTestCase.cpp @@ -0,0 +1,156 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002415, + "KHR-GLES31.core.geometry_shader.renderi", + "ng.rendering.points_input_points_output"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002416, + "KHR-GLES31.core.geometry_shader.rendering", + ".rendering.points_input_line_strip_output"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002417, + "KHR-GLES31.core.geometry_shader.renderin", + "g.rendering.points_input_triangles_output"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002418, + "KHR-GLES31.core.geometry_shader.rendering.rend", + "ering.lines_input_points_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002419, + "KHR-GLES31.core.geometry_shader.rendering.render", + "ing.lines_input_line_strip_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002420, + "KHR-GLES31.core.geometry_shader.rendering.renderin", + "g.lines_input_triangle_strip_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002421, + "KHR-GLES31.core.geometry_shader.rendering.render", + "ing.lines_input_points_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002422, + "KHR-GLES31.core.geometry_shader.rendering.renderin", + "g.lines_input_line_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002423, + "KHR-GLES31.core.geometry_shader.rendering.rendering.", + "lines_input_triangle_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002424, + "KHR-GLES31.core.geometry_shader.rendering.render", + "ing.lines_input_points_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002425, + "KHR-GLES31.core.geometry_shader.rendering.renderin", + "g.lines_input_line_strip_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002426, + "KHR-GLES31.core.geometry_shader.rendering.rendering.", + "lines_input_triangle_strip_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002427, + "KHR-GLES31.core.geometry_shader.rendering.rendering.lines_", + "with_adjacency_input_points_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002428, + "KHR-GLES31.core.geometry_shader.rendering.rendering.lines_wi", + "th_adjacency_input_line_strip_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002429, + "KHR-GLES31.core.geometry_shader.rendering.rendering.lines_with", + "_adjacency_input_triangle_strip_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002430, + "KHR-GLES31.core.geometry_shader.rendering.rendering.line", + "s_with_adjacency_input_points_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002431, + "KHR-GLES31.core.geometry_shader.rendering.rendering.lines_", + "with_adjacency_input_line_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002432, + "KHR-GLES31.core.geometry_shader.rendering.rendering.lines_wi", + "th_adjacency_input_triangle_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002433, + "KHR-GLES31.core.geometry_shader.rendering.renderin", + "g.triangles_input_points_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002434, + "KHR-GLES31.core.geometry_shader.rendering.rendering.", + "triangles_input_line_strip_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002435, + "KHR-GLES31.core.geometry_shader.rendering.rendering.tr", + "iangles_input_triangle_strip_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002436, + "KHR-GLES31.core.geometry_shader.rendering.rendering", + ".triangles_input_points_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002437, + "KHR-GLES31.core.geometry_shader.rendering.rendering.t", + "riangles_input_line_strip_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002438, + "KHR-GLES31.core.geometry_shader.rendering.rendering.tri", + "angles_input_triangle_strip_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002439, + "KHR-GLES31.core.geometry_shader.rendering.rendering.", + "triangles_input_points_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002440, + "KHR-GLES31.core.geometry_shader.rendering.rendering.tr", + "iangles_input_line_strip_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002441, + "KHR-GLES31.core.geometry_shader.rendering.rendering.tria", + "ngles_input_triangle_strip_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002442, + "KHR-GLES31.core.geometry_shader.rendering.rendering.triangles_", + "with_adjacency_input_points_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002443, + "KHR-GLES31.core.geometry_shader.rendering.rendering.triangles_wi", + "th_adjacency_input_line_strip_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002444, + "KHR-GLES31.core.geometry_shader.rendering.rendering.triangles_with", + "_adjacency_input_triangle_strip_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002445, + "KHR-GLES31.core.geometry_shader.rendering.rendering.triangles_wit", + "h_adjacency_input_points_output_triangle_strip_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002446, + "KHR-GLES31.core.geometry_shader.rendering.rendering.triangles_with_", + "adjacency_input_line_strip_output_triangle_strip_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002447, + "KHR-GLES31.core.geometry_shader.rendering.rendering.triangles_with_ad", + "jacency_input_triangle_strip_output_triangle_strip_adjacency_drawcall"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp new file mode 100644 index 000000000..99bbca0db --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_0TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000273, + "KHR-GLES31.core.sample_variables", + ".mask.rgba32f.samples_0.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000274, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000275, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000276, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000277, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000278, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000279, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000280, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000281, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_0.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp new file mode 100644 index 000000000..d6deb2f15 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_1TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000282, + "KHR-GLES31.core.sample_variables", + ".mask.rgba32f.samples_1.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000283, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000284, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000285, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000286, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000287, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000288, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000289, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000290, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_1.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp new file mode 100644 index 000000000..e0696a71b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_2TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000291, + "KHR-GLES31.core.sample_variables", + ".mask.rgba32f.samples_2.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000292, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000293, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000294, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000295, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000296, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000297, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000298, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000299, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_2.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_4TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_4TestCase.cpp new file mode 100644 index 000000000..c0760e70a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_4TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000300, + "KHR-GLES31.core.sample_variables", + ".mask.rgba32f.samples_4.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000301, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000302, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000303, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000304, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000305, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000306, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000307, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000308, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_4.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_8TestCase.cpp new file mode 100644 index 000000000..c4f66c5bd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba32f_samples_8TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000309, + "KHR-GLES31.core.sample_variables", + ".mask.rgba32f.samples_8.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000310, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000311, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000312, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000313, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000314, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000315, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000316, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000317, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba32f.samples_8.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_0TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_0TestCase.cpp new file mode 100644 index 000000000..bfdc68870 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_0TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000138, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8.samples_0.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000139, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000140, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000141, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000142, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000143, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000144, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000145, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000146, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_0.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_1TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_1TestCase.cpp new file mode 100644 index 000000000..433412e82 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_1TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000147, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8.samples_1.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000148, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000149, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000150, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000151, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000152, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000153, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000154, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000155, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_1.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_2TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_2TestCase.cpp new file mode 100644 index 000000000..66978b9d4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_2TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000156, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8.samples_2.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000157, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000158, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000159, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000160, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000161, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000162, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000163, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000164, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_2.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_4TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_4TestCase.cpp new file mode 100644 index 000000000..dbd6bdb6f --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_4TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000165, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8.samples_4.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000166, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000167, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000168, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000169, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000170, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000171, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000172, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000173, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_4.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp new file mode 100644 index 000000000..4c383542e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8_samples_8TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000174, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8.samples_8.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000175, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000176, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000177, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000178, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000179, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000180, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000181, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000182, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8.samples_8.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp new file mode 100644 index 000000000..66af4480b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_0TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000183, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8i.samples_0.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000184, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000185, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000186, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000187, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000188, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000189, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000190, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000191, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_0.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp new file mode 100644 index 000000000..694eaa08b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_1TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000192, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8i.samples_1.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000193, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000194, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000195, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000196, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000197, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000198, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000199, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000200, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_1.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp new file mode 100644 index 000000000..855d671b0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_2TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000201, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8i.samples_2.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000202, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000203, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000204, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000205, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000206, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000207, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000208, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000209, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_2.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp new file mode 100644 index 000000000..0263c28f7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_4TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000210, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8i.samples_4.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000211, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000212, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000213, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000214, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000215, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000216, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000217, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000218, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_4.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp new file mode 100644 index 000000000..047820261 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8i_samples_8TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000219, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8i.samples_8.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000220, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000221, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000222, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000223, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000224, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000225, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000226, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000227, + "KHR-GLES31.core.sample_variabl", + "es.mask.rgba8i.samples_8.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp new file mode 100644 index 000000000..8d8dbeab5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_0TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000228, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8ui.samples_0.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000229, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000230, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000231, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000232, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000233, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000234, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000235, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000236, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_0.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp new file mode 100644 index 000000000..24f6095e0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_1TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000237, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8ui.samples_1.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000238, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000239, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000240, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000241, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000242, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000243, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000244, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000245, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_1.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp new file mode 100644 index 000000000..c4357749f --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_2TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000246, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8ui.samples_2.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000247, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000248, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000249, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000250, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000251, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000252, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000253, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000254, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_2.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp new file mode 100644 index 000000000..e93265ac7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_4TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000255, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8ui.samples_4.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000256, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000257, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000258, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000259, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000260, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000261, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000262, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000263, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_4.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp new file mode 100644 index 000000000..046b914a1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31rgba8ui_samples_8TestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000264, + "KHR-GLES31.core.sample_variables", + ".mask.rgba8ui.samples_8.mask_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000265, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000266, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000267, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000268, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000269, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_4"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000270, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_5"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000271, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_6"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000272, + "KHR-GLES31.core.sample_variable", + "s.mask.rgba8ui.samples_8.mask_7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba32fTestCase.cpp new file mode 100644 index 000000000..cec346d04 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba32fTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000682, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.sample.rgba32f.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000683, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.sample.rgba32f.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000684, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.sample.rgba32f.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8TestCase.cpp new file mode 100644 index 000000000..250ed2586 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8TestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000673, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.sample.rgba8.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000674, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.sample.rgba8.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000675, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.sample.rgba8.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8iTestCase.cpp new file mode 100644 index 000000000..a729325d5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8iTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000676, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.sample.rgba8i.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000677, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.sample.rgba8i.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000678, + "KHR-GLES31.core.shader_multisample_inte", + "rpolation.render.sample.rgba8i.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8uiTestCase.cpp new file mode 100644 index 000000000..8e6fdc9e4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_rgba8uiTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000679, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.sample.rgba8ui.samples_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000680, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.sample.rgba8ui.samples_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000681, + "KHR-GLES31.core.shader_multisample_inter", + "polation.render.sample.rgba8ui.samples_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31sample_shading_apiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_shading_apiTestCase.cpp new file mode 100644 index 000000000..f2fee8504 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_shading_apiTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000124, + "KHR-GLES31.core.samp", + "le_shading.api.verify"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31sample_variables_verificationTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_variables_verificationTestCase.cpp new file mode 100644 index 000000000..abf31bd11 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31sample_variables_verificationTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000137, + "KHR-GLES31.core.sample_vari", + "ables.verification.extension"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp new file mode 100644 index 000000000..5f14dffff --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp @@ -0,0 +1,164 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000491, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.bitCount.uint_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000492, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000493, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000494, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000495, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000496, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000497, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000498, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000499, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000500, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000501, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000502, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000503, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000504, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000505, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000506, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000507, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.uvec4_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000508, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.int_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000509, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitCount.int_minus_one"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000510, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000511, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000512, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000513, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.bitCount.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000514, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000515, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000516, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000517, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000518, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000519, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000520, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000521, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000522, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000523, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000524, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000525, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.bitCount.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp new file mode 100644 index 000000000..9351e80c4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000392, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000393, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000394, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000395, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000396, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000397, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000398, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000399, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000400, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000401, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000402, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000403, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000404, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000405, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000406, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000407, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.uvec4_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000408, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldExtract.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000409, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldExtract.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000410, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldExtract.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000411, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldExtract.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000412, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000413, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000414, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000415, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000416, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000417, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000418, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000419, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000420, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000421, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000422, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000423, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldExtract.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp new file mode 100644 index 000000000..b168b40ac --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000424, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000425, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000426, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000427, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000428, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000429, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000430, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000431, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000432, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000433, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000434, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000435, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000436, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000437, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000438, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000439, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.uvec4_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000440, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000441, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000442, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000443, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldInsert.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000444, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000445, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000446, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000447, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000448, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000449, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000450, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000451, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000452, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000453, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000454, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000455, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldInsert.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp new file mode 100644 index 000000000..7f76d6a0c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp @@ -0,0 +1,164 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000456, + "KHR-GLES31.core.shader_bitfield_o", + "peration.bitfieldReverse.uint_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000457, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000458, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000459, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000460, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000461, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000462, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000463, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000464, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000465, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000466, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000467, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000468, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000469, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000470, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000471, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000472, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.uvec4_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000473, + "KHR-GLES31.core.shader_bitfield_o", + "peration.bitfieldReverse.int_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000474, + "KHR-GLES31.core.shader_bitfield_ope", + "ration.bitfieldReverse.int_minus_one"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000475, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldReverse.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000476, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldReverse.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000477, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldReverse.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000478, + "KHR-GLES31.core.shader_bitfield", + "_operation.bitfieldReverse.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000479, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000480, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000481, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000482, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000483, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000484, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000485, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000486, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000487, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000488, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000489, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000490, + "KHR-GLES31.core.shader_bitfield_", + "operation.bitfieldReverse.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp new file mode 100644 index 000000000..e6fe26889 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp @@ -0,0 +1,164 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000526, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.findLSB.uint_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000527, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000528, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000529, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000530, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000531, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000532, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000533, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000534, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000535, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000536, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000537, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000538, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000539, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000540, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000541, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000542, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.uvec4_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000543, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.findLSB.int_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000544, + "KHR-GLES31.core.shader_bitfield", + "_operation.findLSB.int_minus_one"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000545, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findLSB.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000546, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findLSB.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000547, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findLSB.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000548, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findLSB.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000549, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000550, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000551, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000552, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000553, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000554, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000555, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000556, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000557, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000558, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000559, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000560, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findLSB.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp new file mode 100644 index 000000000..ade9329ce --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp @@ -0,0 +1,164 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000561, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.findMSB.uint_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000562, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000563, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000564, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000565, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000566, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000567, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000568, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000569, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000570, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000571, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000572, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000573, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000574, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000575, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000576, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000577, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.uvec4_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000578, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.findMSB.int_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000579, + "KHR-GLES31.core.shader_bitfield", + "_operation.findMSB.int_minus_one"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000580, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findMSB.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000581, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findMSB.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000582, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findMSB.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000583, + "KHR-GLES31.core.shader_bitf", + "ield_operation.findMSB.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000584, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000585, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000586, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000587, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000588, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000589, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000590, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000591, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000592, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000593, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000594, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000595, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.findMSB.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp new file mode 100644 index 000000000..62bec9a63 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000336, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.frexp.float_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000337, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.float_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000338, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.float_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000339, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.float_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000340, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.float_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000341, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.frexp.vec2_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000342, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000343, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000344, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000345, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000346, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.frexp.vec3_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000347, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000348, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000349, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000350, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000351, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.frexp.vec4_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000352, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000353, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000354, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000355, + "KHR-GLES31.core.shader_bitf", + "ield_operation.frexp.vec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp new file mode 100644 index 000000000..b3b4f2a1c --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000644, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.imulExtended.int_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000645, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.imulExtended.int_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000646, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.imulExtended.int_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000647, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.imulExtended.int_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000648, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000649, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000650, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000651, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000652, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000653, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000654, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000655, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000656, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000657, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000658, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000659, + "KHR-GLES31.core.shader_bitfield", + "_operation.imulExtended.ivec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp new file mode 100644 index 000000000..6e0241a44 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp @@ -0,0 +1,104 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000356, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.ldexp.float_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000357, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.float_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000358, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.float_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000359, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.float_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000360, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.float_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000361, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.ldexp.vec2_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000362, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000363, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000364, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000365, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000366, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.ldexp.vec3_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000367, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000368, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000369, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000370, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000371, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.ldexp.vec4_zero"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000372, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000373, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000374, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000375, + "KHR-GLES31.core.shader_bitf", + "ield_operation.ldexp.vec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp new file mode 100644 index 000000000..a28a8f7ee --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000380, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packSnorm4x8.0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000381, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packSnorm4x8.1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000382, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packSnorm4x8.2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000383, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packSnorm4x8.3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp new file mode 100644 index 000000000..4c77b4bd6 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000376, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packUnorm4x8.0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000377, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packUnorm4x8.1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000378, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packUnorm4x8.2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000379, + "KHR-GLES31.core.shader_bitfi", + "eld_operation.packUnorm4x8.3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp new file mode 100644 index 000000000..a029699ed --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000596, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000597, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000598, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000599, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000600, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000601, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000602, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000603, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000604, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000605, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000606, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000607, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000608, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000609, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000610, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000611, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.uaddCarry.uvec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp new file mode 100644 index 000000000..be167aabf --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000628, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.umulExtended.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000629, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.umulExtended.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000630, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.umulExtended.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000631, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.umulExtended.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000632, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000633, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000634, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000635, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000636, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000637, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000638, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000639, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000640, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000641, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000642, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000643, + "KHR-GLES31.core.shader_bitfield", + "_operation.umulExtended.uvec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp new file mode 100644 index 000000000..beecc1a79 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000388, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackSnorm4x8.0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000389, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackSnorm4x8.1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000390, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackSnorm4x8.2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000391, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackSnorm4x8.3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp new file mode 100644 index 000000000..86d79128d --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000384, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackUnorm4x8.0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000385, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackUnorm4x8.1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000386, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackUnorm4x8.2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000387, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.unpackUnorm4x8.3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp new file mode 100644 index 000000000..91d6007b6 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000612, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.usubBorrow.uint_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000613, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.usubBorrow.uint_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000614, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.usubBorrow.uint_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000615, + "KHR-GLES31.core.shader_bitfie", + "ld_operation.usubBorrow.uint_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000616, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec2_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000617, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec2_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000618, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec2_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000619, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec2_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000620, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec3_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000621, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec3_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000622, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec3_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000623, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec3_3"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000624, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec4_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000625, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec4_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000626, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec4_2"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000627, + "KHR-GLES31.core.shader_bitfiel", + "d_operation.usubBorrow.uvec4_3"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp new file mode 100644 index 000000000..3daf1ab07 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000660, + "KHR-GLES31.core.shader_multi", + "sample_interpolation.api.api"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_compilation_and_linking_errorsTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_compilation_and_linking_errorsTestCase.cpp new file mode 100644 index 000000000..517ed8d64 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_compilation_and_linking_errorsTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002593, + "KHR-GLES31.core.tessellation_shader.compilation_and_", + "linking_errors.tc_non_arrayed_per_vertex_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002594, + "KHR-GLES31.core.tessellation_shader.compilation_and_li", + "nking_errors.tc_non_arrayed_per_vertex_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002595, + "KHR-GLES31.core.tessellation_shader.compilation_and_l", + "inking_errors.tc_non_arrayed_per_vertex_output_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002596, + "KHR-GLES31.core.tessellation_shader.compilation_and_lin", + "king_errors.tc_non_arrayed_per_vertex_output_variabless"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002597, + "KHR-GLES31.core.tessellation_shader.compilation_and_", + "linking_errors.te_non_arrayed_per_vertex_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002598, + "KHR-GLES31.core.tessellation_shader.compilation_and_li", + "nking_errors.te_non_arrayed_per_vertex_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002599, + "KHR-GLES31.core.tessellation_shader.compilation_and_lin", + "king_errors.tc_invalid_array_size_used_for_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002600, + "KHR-GLES31.core.tessellation_shader.compilation_and_link", + "ing_errors.tc_invalid_array_size_used_for_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002601, + "KHR-GLES31.core.tessellation_shader.compilation_and_lin", + "king_errors.te_invalid_array_size_used_for_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002602, + "KHR-GLES31.core.tessellation_shader.compilation_and_link", + "ing_errors.te_invalid_array_size_used_for_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002603, + "KHR-GLES31.core.tessellation_shader.compilation_and", + "_linking_errors.tc_invalid_output_patch_vertex_count"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002604, + "KHR-GLES31.core.tessellation_shader.compilation_and_linking_e", + "rrors.tc_invalid_write_operation_at_non_gl_invocation_id_index"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002605, + "KHR-GLES31.core.tessellation_shader.compilation_and_linki", + "ng_errors.tc_invalid_input_per_patch_attribute_definition"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002606, + "KHR-GLES31.core.tessellation_shader.compilation_and_linki", + "ng_errors.te_invalid_output_per_patch_attribute_definition"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002607, + "KHR-GLES31.core.tessellation_shader.compilation_and_", + "linking_errors.tc_non_matching_variable_declarations"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002608, + "KHR-GLES31.core.tessellation_shader.compilation_and_", + "linking_errors.te_lacking_primitive_mode_declaration"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002609, + "KHR-GLES31.core.tessellation_shader.compilation_an", + "d_linking_errors.te_accessing_glTessCoord_as_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002610, + "KHR-GLES31.core.tessellation_shader.compilation_and_l", + "inking_errors.te_accessing_glTessCoord_as_gl_in_member"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_singleTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_singleTestCase.cpp new file mode 100644 index 000000000..479cd3f93 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_singleTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002566, + "KHR-GLES31.core.tessellation_shader.single", + ".default_values_of_context_wide_properties"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002567, + "KHR-GLES31.core.tessellation_sha", + "der.single.isolines_tessellation"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002568, + "KHR-GLES31.core.tessellation_shader.sing", + "le.ext_program_interface_query_dependency"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002569, + "KHR-GLES31.core.tessellation_shade", + "r.single.program_object_properties"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002570, + "KHR-GLES31.core.tessellation_shader.sin", + "gle.xfb_captures_data_from_correct_stage"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002571, + "KHR-GLES31.core.tessellation_s", + "hader.single.max_patch_vertices"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002572, + "KHR-GLES31.core.tessellation_s", + "hader.single.primitive_coverage"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp new file mode 100644 index 000000000..7f4925c43 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002575, + "KHR-GLES31.core.tessellation_shader.tessellation_c", + "ontrol_to_tessellation_evaluation.data_pass_through"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002576, + "KHR-GLES31.core.tessellation_shader.tessella", + "tion_control_to_tessellation_evaluation.gl_in"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002577, + "KHR-GLES31.core.tessellation_shader.tessellation_control_to_t", + "essellation_evaluation.gl_MaxPatchVertices_Position_PointSize"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002578, + "KHR-GLES31.core.tessellation_shader.tessellation_co", + "ntrol_to_tessellation_evaluation.gl_PatchVerticesIn"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002579, + "KHR-GLES31.core.tessellation_shader.tessellation", + "_control_to_tessellation_evaluation.gl_tessLevel"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_invarianceTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_invarianceTestCase.cpp new file mode 100644 index 000000000..3b41c2fbe --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_invarianceTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002611, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002612, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule2"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002613, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule3"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002614, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule4"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002615, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule5"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002616, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule6"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002617, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule7"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_point_modeTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_point_modeTestCase.cpp new file mode 100644 index 000000000..645e1109b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_point_modeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002588, + "KHR-GLES31.core.tessellation_shader.tesse", + "llation_shader_point_mode.point_rendering"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002589, + "KHR-GLES31.core.tessellation_shader.tessell", + "ation_shader_point_mode.points_verification"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp new file mode 100644 index 000000000..77380f901 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002573, + "KHR-GLES31.core.tessellation_shader.tessellat", + "ion_shader_quads_tessellation.degenerate_case"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002574, + "KHR-GLES31.core.tessellation_shader.tessellation_shade", + "r_quads_tessellation.inner_tessellation_level_rounding"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp new file mode 100644 index 000000000..0748012dc --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002590, + "KHR-GLES31.core.tessellation_shader.tessellatio", + "n_shader_tc_barriers.barrier_guarded_read_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002591, + "KHR-GLES31.core.tessellation_shader.tessellatio", + "n_shader_tc_barriers.barrier_guarded_write_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002592, + "KHR-GLES31.core.tessellation_shader.tessellation_s", + "hader_tc_barriers.barrier_guarded_read_write_calls"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tessellationTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tessellationTestCase.cpp new file mode 100644 index 000000000..67befdce3 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_tessellationTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002580, + "KHR-GLES31.core.tessellation_shader.tessellation_shader_", + "tessellation.gl_InvocationID_PatchVerticesIn_PrimitiveID"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002581, + "KHR-GLES31.core.tessellation_shader.te", + "ssellation_shader_tessellation.TCS_TES"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002582, + "KHR-GLES31.core.tessellation_shader.", + "tessellation_shader_tessellation.TES"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002583, + "KHR-GLES31.core.tessellation_shader.tessella", + "tion_shader_tessellation.input_patch_discard"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002584, + "KHR-GLES31.core.tessellation_shader.tessellat", + "ion_shader_tessellation.max_in_out_attributes"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp new file mode 100644 index 000000000..52beb488a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002585, + "KHR-GLES31.core.tessellation_shader.tessellation_", + "shader_triangles_tessellation.degenerate_triangle"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002586, + "KHR-GLES31.core.tessellation_shader.tessellation_", + "shader_triangles_tessellation.identical_triangles"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002587, + "KHR-GLES31.core.tessellation_shader.tessellation_shader_", + "triangles_tessellation.inner_tessellation_level_rounding"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_vertexTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_vertexTestCase.cpp new file mode 100644 index 000000000..8440012b1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_vertexTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002564, + "KHR-GLES31.core.tessellation_", + "shader.vertex.vertex_ordering"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002565, + "KHR-GLES31.core.tessellation", + "_shader.vertex.vertex_spacing"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_windingTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_windingTestCase.cpp new file mode 100644 index 000000000..1407e3d88 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_windingTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002618, + "KHR-GLES31.core.tessellation", + "_shader.winding.triangles_ccw"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002619, + "KHR-GLES31.core.tessellation", + "_shader.winding.triangles_cw"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002620, + "KHR-GLES31.core.tessellati", + "on_shader.winding.quads_ccw"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002621, + "KHR-GLES31.core.tessellati", + "on_shader.winding.quads_cw"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r11g11b10fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r11g11b10fTestCase.cpp new file mode 100644 index 000000000..8dfb82c22 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r11g11b10fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002857, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.r11g11b10f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002858, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.r11g11b10f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002859, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.r11g11b10f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002860, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.r11g11b10f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002861, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.r11g11b10f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002862, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.r11g11b10f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16fTestCase.cpp new file mode 100644 index 000000000..7d4c253b2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002731, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r16f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002732, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r16f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002733, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002734, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r16f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002735, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002736, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16iTestCase.cpp new file mode 100644 index 000000000..b793c95f1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002761, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r16i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002762, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r16i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002763, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002764, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r16i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002765, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002766, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16uiTestCase.cpp new file mode 100644 index 000000000..9b23a8255 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r16uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002755, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002756, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002757, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002758, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002759, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r16ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002760, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r16ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32fTestCase.cpp new file mode 100644 index 000000000..c69b2c842 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002737, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r32f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002738, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r32f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002739, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002740, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r32f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002741, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002742, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32iTestCase.cpp new file mode 100644 index 000000000..2e50a6120 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002773, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r32i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002774, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r32i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002775, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002776, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r32i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002777, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002778, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32uiTestCase.cpp new file mode 100644 index 000000000..a71295825 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r32uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002767, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002768, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002769, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002770, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002771, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r32ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002772, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r32ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8TestCase.cpp new file mode 100644 index 000000000..764b623c5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002719, + "KHR-GLES31.core.pixelstor", + "agemodes.teximage2d.r8.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002720, + "KHR-GLES31.core.pixelstor", + "agemodes.teximage2d.r8.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002721, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002722, + "KHR-GLES31.core.pixelstor", + "agemodes.teximage2d.r8.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002723, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002724, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8iTestCase.cpp new file mode 100644 index 000000000..dea222082 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002749, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002750, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002751, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002752, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002753, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002754, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r8i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8snormTestCase.cpp new file mode 100644 index 000000000..906d6f6b2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8snormTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002725, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r8snorm.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002726, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r8snorm.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002727, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r8snorm.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002728, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r8snorm.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002729, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.r8snorm.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002730, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.r8snorm.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8uiTestCase.cpp new file mode 100644 index 000000000..4a2ea1349 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_r8uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002743, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002744, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002745, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r8ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002746, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.r8ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002747, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r8ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002748, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.r8ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16fTestCase.cpp new file mode 100644 index 000000000..02d5c255e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002791, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002792, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002793, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002794, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002795, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002796, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg16f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16iTestCase.cpp new file mode 100644 index 000000000..5d008f119 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002821, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002822, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002823, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002824, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002825, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002826, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg16i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16uiTestCase.cpp new file mode 100644 index 000000000..fc9bdadc4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg16uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002815, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002816, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002817, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg16ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002818, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg16ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002819, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg16ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002820, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg16ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32fTestCase.cpp new file mode 100644 index 000000000..4d7337cdd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002797, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002798, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002799, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002800, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002801, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002802, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg32f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32iTestCase.cpp new file mode 100644 index 000000000..cdf5e4963 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002833, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002834, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002835, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002836, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002837, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002838, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg32i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32uiTestCase.cpp new file mode 100644 index 000000000..95199da53 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg32uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002827, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002828, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002829, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg32ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002830, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg32ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002831, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg32ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002832, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg32ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8TestCase.cpp new file mode 100644 index 000000000..faeb51110 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002779, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002780, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002781, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002782, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002783, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002784, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8iTestCase.cpp new file mode 100644 index 000000000..83bf17a85 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002809, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002810, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002811, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002812, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rg8i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002813, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002814, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8snormTestCase.cpp new file mode 100644 index 000000000..0589bf4f5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8snormTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002785, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg8snorm.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002786, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg8snorm.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002787, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rg8snorm.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002788, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg8snorm.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002789, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rg8snorm.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002790, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rg8snorm.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8uiTestCase.cpp new file mode 100644 index 000000000..c3ee571c4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rg8uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002803, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002804, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002805, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002806, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002807, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rg8ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002808, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rg8ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp new file mode 100644 index 000000000..ee41136a2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002935, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb10a2.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002936, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb10a2.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002937, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb10a2.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002938, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb10a2.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002939, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb10a2.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002940, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb10a2.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp new file mode 100644 index 000000000..7bfa5bfee --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002965, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb10a2ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002966, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb10a2ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002967, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb10a2ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002968, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb10a2ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002969, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb10a2ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002970, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.rgb10a2ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16fTestCase.cpp new file mode 100644 index 000000000..ece1f6c6d --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002863, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb16f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002864, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb16f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002865, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002866, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb16f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002867, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002868, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16iTestCase.cpp new file mode 100644 index 000000000..c12e6a081 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002893, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb16i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002894, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb16i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002895, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002896, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb16i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002897, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002898, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16uiTestCase.cpp new file mode 100644 index 000000000..85ac2b228 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb16uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002887, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002888, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002889, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002890, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002891, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb16ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002892, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb16ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32fTestCase.cpp new file mode 100644 index 000000000..d1138ed29 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002869, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb32f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002870, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb32f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002871, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002872, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb32f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002873, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002874, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32iTestCase.cpp new file mode 100644 index 000000000..acbf9afe0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002905, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb32i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002906, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb32i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002907, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002908, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb32i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002909, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002910, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32uiTestCase.cpp new file mode 100644 index 000000000..2b7d0e393 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb32uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002899, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002900, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002901, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002902, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002903, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb32ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002904, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb32ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb565TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb565TestCase.cpp new file mode 100644 index 000000000..68547a1cf --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb565TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002845, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb565.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002846, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb565.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002847, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb565.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002848, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb565.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002849, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb565.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002850, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb565.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb5a1TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb5a1TestCase.cpp new file mode 100644 index 000000000..5b1025db1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb5a1TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002923, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb5a1.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002924, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb5a1.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002925, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb5a1.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002926, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb5a1.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002927, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb5a1.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002928, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb5a1.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8TestCase.cpp new file mode 100644 index 000000000..9e519463e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002839, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rgb8.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002840, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rgb8.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002841, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002842, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage2d.rgb8.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002843, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002844, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8iTestCase.cpp new file mode 100644 index 000000000..97421705e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002881, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002882, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002883, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002884, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002885, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002886, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb8i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8snormTestCase.cpp new file mode 100644 index 000000000..61a79ac62 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8snormTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002851, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb8snorm.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002852, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb8snorm.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002853, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb8snorm.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002854, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb8snorm.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002855, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgb8snorm.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002856, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.rgb8snorm.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8uiTestCase.cpp new file mode 100644 index 000000000..4ce4272ec --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgb8uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002875, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002876, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002877, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb8ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002878, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgb8ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002879, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb8ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002880, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgb8ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16fTestCase.cpp new file mode 100644 index 000000000..093f83c3b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002941, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002942, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002943, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002944, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002945, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002946, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba16f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16iTestCase.cpp new file mode 100644 index 000000000..fac96b893 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002977, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002978, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002979, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002980, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002981, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002982, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba16i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16uiTestCase.cpp new file mode 100644 index 000000000..b1d9f8d56 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba16uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002971, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002972, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002973, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba16ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002974, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba16ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002975, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba16ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002976, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba16ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32fTestCase.cpp new file mode 100644 index 000000000..51b58391e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32fTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002947, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32f.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002948, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32f.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002949, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32f.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002950, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32f.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002951, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32f.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002952, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba32f.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32iTestCase.cpp new file mode 100644 index 000000000..7471d90ce --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002983, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002984, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002985, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002986, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002987, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002988, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba32i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32uiTestCase.cpp new file mode 100644 index 000000000..6d4bedc8d --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba32uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002989, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002990, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002991, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba32ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002992, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba32ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002993, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba32ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002994, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba32ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba4TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba4TestCase.cpp new file mode 100644 index 000000000..0ed6159fd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba4TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002929, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba4.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002930, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba4.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002931, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba4.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002932, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba4.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002933, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba4.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002934, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba4.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8TestCase.cpp new file mode 100644 index 000000000..52019815b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8TestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002911, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002912, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002913, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002914, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002915, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002916, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8iTestCase.cpp new file mode 100644 index 000000000..edb1beb18 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8iTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002959, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8i.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002960, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8i.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002961, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8i.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002962, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage2d.rgba8i.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002963, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8i.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002964, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8i.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8snormTestCase.cpp new file mode 100644 index 000000000..4d05d11dd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8snormTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002917, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba8snorm.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002918, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba8snorm.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002919, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.rgba8snorm.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002920, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba8snorm.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002921, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.rgba8snorm.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002922, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage2d.rgba8snorm.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp new file mode 100644 index 000000000..026d309b9 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage2d_rgba8uiTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002953, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8ui.0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002954, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8ui.1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002955, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8ui.16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002956, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8ui.1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002957, + "KHR-GLES31.core.pixelstorage", + "modes.teximage2d.rgba8ui.16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002958, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage2d.rgba8ui.16_16"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp new file mode 100644 index 000000000..ad2cad354 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r11g11b10fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003225, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r11g11b10f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003226, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r11g11b10f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003227, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.r11g11b10f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003228, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r11g11b10f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003229, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.r11g11b10f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003230, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.r11g11b10f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003231, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r11g11b10f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003232, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.r11g11b10f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003233, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.r11g11b10f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003234, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.r11g11b10f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp new file mode 100644 index 000000000..7c63438af --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003015, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003016, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003017, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003018, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003019, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003020, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003021, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003022, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003023, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003024, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp new file mode 100644 index 000000000..cd5278a56 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003065, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003066, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003067, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003068, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003069, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003070, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003071, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r16i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003072, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003073, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003074, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp new file mode 100644 index 000000000..3d63fcb8a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r16uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003055, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003056, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003057, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003058, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003059, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003060, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r16ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003061, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003062, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r16ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003063, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r16ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003064, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r16ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp new file mode 100644 index 000000000..b0fc815db --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003025, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003026, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003027, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003028, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003029, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003030, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003031, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003032, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003033, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003034, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp new file mode 100644 index 000000000..a092b2acc --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003085, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003086, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003087, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003088, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003089, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003090, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003091, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r32i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003092, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003093, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003094, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp new file mode 100644 index 000000000..ba52838cd --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r32uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003075, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003076, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003077, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003078, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003079, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003080, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r32ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003081, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003082, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r32ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003083, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r32ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003084, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r32ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8TestCase.cpp new file mode 100644 index 000000000..b387c601f --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310003TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002995, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage3d.r8.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002996, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage3d.r8.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002997, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002998, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage3d.r8.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_002999, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_003000, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_003001, + "KHR-GLES31.core.pixelstora", + "gemodes.teximage3d.r8.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_003002, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_003003, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310003TestSuite, TestCase_003004, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8iTestCase.cpp new file mode 100644 index 000000000..2b7d795b2 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003045, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003046, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003047, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003048, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003049, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003050, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003051, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003052, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003053, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003054, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8snormTestCase.cpp new file mode 100644 index 000000000..bf89852ed --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8snormTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003005, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003006, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003007, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003008, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003009, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003010, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r8snorm.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003011, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003012, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.r8snorm.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003013, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r8snorm.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003014, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.r8snorm.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp new file mode 100644 index 000000000..3af320138 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_r8uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003035, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003036, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003037, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003038, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003039, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003040, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003041, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.r8ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003042, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003043, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003044, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.r8ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp new file mode 100644 index 000000000..124a72563 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003115, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003116, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003117, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003118, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003119, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003120, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003121, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003122, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003123, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003124, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16iTestCase.cpp new file mode 100644 index 000000000..c865b8bb4 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003165, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003166, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003167, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003168, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003169, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003170, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003171, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003172, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003173, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003174, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16uiTestCase.cpp new file mode 100644 index 000000000..8cddbb44d --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg16uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003155, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003156, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003157, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003158, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003159, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003160, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003161, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg16ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003162, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003163, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003164, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg16ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32fTestCase.cpp new file mode 100644 index 000000000..6c5560a75 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003125, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003126, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003127, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003128, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003129, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003130, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003131, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003132, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003133, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003134, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32iTestCase.cpp new file mode 100644 index 000000000..32f73d93f --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003185, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003186, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003187, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003188, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003189, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003190, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003191, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003192, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003193, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003194, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32uiTestCase.cpp new file mode 100644 index 000000000..a0d8257b0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg32uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003175, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003176, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003177, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003178, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003179, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003180, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003181, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg32ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003182, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003183, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003184, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg32ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp new file mode 100644 index 000000000..d9dfa8048 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003095, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003096, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003097, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003098, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003099, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003100, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003101, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003102, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003103, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003104, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp new file mode 100644 index 000000000..0072acaf1 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003145, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003146, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003147, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003148, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003149, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003150, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003151, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rg8i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003152, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003153, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003154, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8snormTestCase.cpp new file mode 100644 index 000000000..80e384910 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8snormTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003105, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8snorm.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003106, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8snorm.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003107, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rg8snorm.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003108, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8snorm.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003109, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rg8snorm.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003110, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rg8snorm.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003111, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8snorm.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003112, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rg8snorm.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003113, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rg8snorm.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003114, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rg8snorm.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp new file mode 100644 index 000000000..16d138efe --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rg8uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003135, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003136, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003137, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003138, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003139, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003140, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003141, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003142, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rg8ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003143, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003144, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rg8ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2TestCase.cpp new file mode 100644 index 000000000..7d5da9cf9 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003355, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003356, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003357, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003358, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003359, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003360, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003361, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003362, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb10a2.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003363, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003364, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2uiTestCase.cpp new file mode 100644 index 000000000..70df17454 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb10a2uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003405, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003406, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003407, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003408, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003409, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003410, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgb10a2ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003411, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003412, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb10a2ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003413, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgb10a2ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003414, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgb10a2ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16fTestCase.cpp new file mode 100644 index 000000000..c3113029a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003235, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003236, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003237, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003238, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003239, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003240, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003241, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003242, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003243, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003244, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16iTestCase.cpp new file mode 100644 index 000000000..8a1660a8b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003285, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003286, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003287, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003288, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003289, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003290, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003291, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb16i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003292, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003293, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003294, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16uiTestCase.cpp new file mode 100644 index 000000000..6ef1b5722 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb16uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003275, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003276, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003277, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003278, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003279, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003280, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb16ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003281, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003282, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb16ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003283, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb16ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003284, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb16ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32fTestCase.cpp new file mode 100644 index 000000000..6b6b9d482 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003245, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003246, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003247, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003248, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003249, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003250, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003251, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003252, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003253, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003254, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32iTestCase.cpp new file mode 100644 index 000000000..74cdf201d --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003305, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003306, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003307, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003308, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003309, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003310, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003311, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb32i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003312, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003313, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003314, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp new file mode 100644 index 000000000..1e90776ff --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb32uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003295, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003296, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003297, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003298, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003299, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003300, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb32ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003301, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003302, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb32ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003303, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb32ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003304, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb32ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb565TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb565TestCase.cpp new file mode 100644 index 000000000..3518417c5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb565TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003205, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb565.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003206, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb565.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003207, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb565.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003208, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb565.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003209, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb565.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003210, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb565.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003211, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb565.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003212, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb565.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003213, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb565.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003214, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb565.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb5a1TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb5a1TestCase.cpp new file mode 100644 index 000000000..785d86349 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb5a1TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003335, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb5a1.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003336, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb5a1.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003337, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb5a1.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003338, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb5a1.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003339, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb5a1.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003340, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb5a1.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003341, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb5a1.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003342, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb5a1.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003343, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb5a1.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003344, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb5a1.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp new file mode 100644 index 000000000..82f223744 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003195, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rgb8.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003196, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rgb8.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003197, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003198, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rgb8.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003199, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003200, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003201, + "KHR-GLES31.core.pixelstorag", + "emodes.teximage3d.rgb8.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003202, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003203, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003204, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8iTestCase.cpp new file mode 100644 index 000000000..67cf18b32 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003265, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003266, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003267, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003268, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003269, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003270, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003271, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003272, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003273, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003274, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8snormTestCase.cpp new file mode 100644 index 000000000..8dce2901e --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8snormTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003215, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003216, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003217, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003218, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003219, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003220, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgb8snorm.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003221, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003222, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgb8snorm.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003223, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgb8snorm.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003224, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgb8snorm.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8uiTestCase.cpp new file mode 100644 index 000000000..b80c40d47 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgb8uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003255, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003256, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003257, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003258, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003259, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003260, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003261, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgb8ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003262, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003263, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003264, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgb8ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp new file mode 100644 index 000000000..6f694754a --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003365, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003366, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003367, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003368, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003369, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003370, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003371, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003372, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003373, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003374, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp new file mode 100644 index 000000000..95d277637 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003425, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003426, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003427, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003428, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003429, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003430, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003431, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003432, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003433, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003434, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16uiTestCase.cpp new file mode 100644 index 000000000..d59c9ad15 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba16uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003415, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003416, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003417, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003418, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003419, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003420, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003421, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba16ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003422, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003423, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003424, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba16ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp new file mode 100644 index 000000000..f593d5b4b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32fTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003375, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003376, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003377, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003378, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003379, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003380, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32f.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003381, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003382, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32f.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003383, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32f.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003384, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32f.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32iTestCase.cpp new file mode 100644 index 000000000..c73ef04d8 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003435, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003436, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003437, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003438, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003439, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003440, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003441, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003442, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003443, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003444, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32uiTestCase.cpp new file mode 100644 index 000000000..7c6ccf074 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba32uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003445, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003446, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003447, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003448, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003449, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003450, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003451, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba32ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003452, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003453, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003454, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba32ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba4TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba4TestCase.cpp new file mode 100644 index 000000000..e605a5eb7 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba4TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003345, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003346, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003347, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003348, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003349, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003350, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba4.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003351, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003352, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba4.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003353, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba4.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003354, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba4.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8TestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8TestCase.cpp new file mode 100644 index 000000000..ccf812af5 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8TestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003315, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003316, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003317, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003318, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003319, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003320, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003321, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003322, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003323, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003324, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8iTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8iTestCase.cpp new file mode 100644 index 000000000..53a271907 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8iTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003395, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8i.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003396, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8i.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003397, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8i.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003398, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8i.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003399, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8i.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003400, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8i.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003401, + "KHR-GLES31.core.pixelstorage", + "modes.teximage3d.rgba8i.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003402, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8i.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003403, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8i.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003404, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8i.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8snormTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8snormTestCase.cpp new file mode 100644 index 000000000..f0ddb0e09 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8snormTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003325, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8snorm.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003326, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8snorm.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003327, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgba8snorm.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003328, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8snorm.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003329, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgba8snorm.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003330, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgba8snorm.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003331, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8snorm.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003332, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgba8snorm.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003333, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgba8snorm.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003334, + "KHR-GLES31.core.pixelstoragemod", + "es.teximage3d.rgba8snorm.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp new file mode 100644 index 000000000..4d1ddd003 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31teximage3d_rgba8uiTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003385, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.0_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003386, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.1_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003387, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.16_0_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003388, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.1_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003389, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.16_1_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003390, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8ui.16_16_0"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003391, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.1_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003392, + "KHR-GLES31.core.pixelstoragem", + "odes.teximage3d.rgba8ui.16_1_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003393, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8ui.16_16_1"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003394, + "KHR-GLES31.core.pixelstoragemo", + "des.teximage3d.rgba8ui.16_16_4"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp new file mode 100644 index 000000000..aac1e2026 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp @@ -0,0 +1,80 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000035, + "KHR-GLES31.core.texture_storage_multisample.APIDepende", + "ncies.fbo_with_attachments_of_varying_amount_of_samples"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000036, + "KHR-GLES31.core.texture_storage_multisample.APIDepe", + "ndencies.fbo_with_single_and_multisample_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000037, + "KHR-GLES31.core.texture_storage_multisample.APIDependenci", + "es.fbo_with_fixed_and_varying_sample_locations_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000038, + "KHR-GLES31.core.texture_storage_multisample.APIDependencies.fbo_with", + "_different_fixedsamplelocations_texture_and_renderbuffer_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000039, + "KHR-GLES31.core.texture_storage_multisample.APIDependencies.fbo_with_render", + "buffer_and_multisample_texture_attachments_with_different_number_of_samples"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000040, + "KHR-GLES31.core.texture_storage_multisample.APIDependenci", + "es.framebuffer_texture2d_used_with_invalid_texture_target"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000041, + "KHR-GLES31.core.texture_storage_multisample.APIDepen", + "dencies.framebuffer_texture2d_used_with_invalid_level"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000042, + "KHR-GLES31.core.texture_storage_multisample.APIDependencie", + "s.framebuffer_texture_layer_used_for_invalid_texture_target"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000043, + "KHR-GLES31.core.texture_storage_multisample.APIDependencies", + ".framebuffer_texture_layer_used_with_invalid_level_argument"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000044, + "KHR-GLES31.core.texture_storage_multisample.APIDependencies.renderbuffer_s", + "torage_multisample_invalid_samples_argument_for_noninteger_internalformats"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000045, + "KHR-GLES31.core.texture_storage_multisample.APIDependencies.renderbuffer", + "_storage_multisample_invalid_samples_argument_for_integer_internalformats"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000046, + "KHR-GLES31.core.texture_storage_multisample.APIDependencie", + "s.no_error_generated_for_valid_framebuffer_texture2d_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000047, + "KHR-GLES31.core.texture_storage_multisample.APIDependencies.no_", + "error_generated_for_valid_renderbuffer_storage_multisample_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000048, + "KHR-GLES31.core.texture_storage_multisam", + "ple.APIDependencies.tex_parameter_support"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp new file mode 100644 index 000000000..27720ceb0 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000001, + "KHR-GLES31.core.texture_storage_multisample.API", + "GLGetActiveUniform.multisample_texture_samplers"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp new file mode 100644 index 000000000..d96290965 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000021, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv.m", + "ultisample_texture_get_multisamplefv_index_equal_gl_samples_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000022, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv.mu", + "ltisample_texture_get_multisamplefv_index_greater_gl_samples_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000023, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisample", + "fv.multisample_texture_get_multisamplefv_invalid_pname_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000024, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv", + ".multisample_texture_get_multisamplefv_null_val_arguments_accepted"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000025, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv.mu", + "ltisample_texture_get_multisamplefv_sample_position_values_validation"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000026, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetM", + "ultisamplefv.multisample_texture_sample_maski_getters"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000027, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv.mult", + "isample_texture_sample_maski_index_lower_than_gl_max_sample_mask_words"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000028, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv.m", + "ultisample_texture_sample_maski_index_equal_gl_max_sample_mask_words"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000029, + "KHR-GLES31.core.texture_storage_multisample.APIGLGetMultisamplefv.mu", + "ltisample_texture_sample_maski_index_greater_gl_max_sample_mask_words"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp new file mode 100644 index 000000000..710135b93 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000030, + "KHR-GLES31.core.texture_storage_multisample.", + "APIGLGetTexLevelParameterifv.functional_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000031, + "KHR-GLES31.core.texture_storage_multisample.APIGLGet", + "TexLevelParameterifv.invalid_texture_target_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000032, + "KHR-GLES31.core.texture_storage_multisample.APIGLGet", + "TexLevelParameterifv.invalid_value_argument_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000033, + "KHR-GLES31.core.texture_storage_multisample.APIGLGe", + "tTexLevelParameterifv.negative_lod_is_rejected_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000034, + "KHR-GLES31.core.texture_storage_multisample.APIG", + "LGetTexLevelParameterifv.functional_max_lod_test"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp new file mode 100644 index 000000000..9a3679918 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp @@ -0,0 +1,64 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000002, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMult", + "isample.multisample_texture_tex_storage_2d_general_samples_number"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000003, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMultisample", + ".multisample_texture_tex_storage_2d_invalid_and_border_case_texture_sizes"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000004, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMultisample.multisa", + "mple_texture_tex_storage_2d_non_color_depth_or_stencil_internal_formats_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000005, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMulti", + "sample.multisample_texture_tex_storage_2d_reconfiguration_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000006, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMultis", + "ample.multisample_texture_tex_storage_2d_texture_2d_multsample_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000007, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMultisample.multisa", + "mple_texture_tex_storage_2d_unsupported_samples_count_for_color_textures_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000008, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMultisample.multisa", + "mple_texture_tex_storage_2d_unsupported_samples_count_for_depth_textures_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000009, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage2DMultisample.multisample", + "_texture_tex_storage_2d_unsupported_samples_count_for_depth_stencil_textures_rejected"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000010, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage", + "2DMultisample.multisample_texture_tex_storage_2d_valid_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000011, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage", + "2DMultisample.multisample_texture_tex_storage_2d_zero_sample"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp new file mode 100644 index 000000000..f53fb6a2b --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000012, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage3DMult", + "isample.invalid_texture_sizes_are_rejected_valid_are_accepted_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000013, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage", + "3DMultisample.multisample_texture_tex_storage_3d_zero_sample"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000014, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage3DMultisamp", + "le.non_color_depth_stencil_renderable_internalformats_are_rejected_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000015, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage3DMultisample.requests_to_", + "set_up_multisample_color_textures_with_unsupported_number_of_samples_are_rejected_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000016, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage3DMultisample.requests_to_", + "set_up_multisample_depth_textures_with_unsupported_number_of_samples_are_rejected_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000017, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage3DMultisample.requests_to_s", + "et_up_multisample_stencil_textures_with_unsupported_number_of_samples_are_rejected_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000018, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage3DMultisample.reques", + "ts_to_set_up_multisample_textures_with_valid_and_invalid_number_of_samples_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000019, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStorage", + "3DMultisample.texture_2D_multisample_target_is_rejected_test"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000020, + "KHR-GLES31.core.texture_storage_multisample.APIGLTexStor", + "age3DMultisample.valid_internalformats_are_accepted_test"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp new file mode 100644 index 000000000..b042c79bc --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000053, + "KHR-GLES31.core.texture_storage_multisample.Functio", + "nalTests.multisampled_fbo_to_singlesampled_fbo_blit"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000054, + "KHR-GLES31.core.texture_storage_multisample.Funct", + "ionalTests.blitting_multisampled_depth_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000055, + "KHR-GLES31.core.texture_storage_multisample.Functi", + "onalTests.blitting_multisampled_integer_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000056, + "KHR-GLES31.core.texture_storage_multisample.Functi", + "onalTests.blitting_to_multisampled_fbo_is_forbidden"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000057, + "KHR-GLES31.core.texture_storage_multisample.FunctionalTests.verif", + "y_sample_masking_for_non_integer_color_renderable_internalformats"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000058, + "KHR-GLES31.core.texture_storage_multisample.Fu", + "nctionalTests.texture_size_in_fragment_shaders"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000059, + "KHR-GLES31.core.texture_storage_multisample.F", + "unctionalTests.texture_size_in_vertex_shaders"); diff --git a/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp new file mode 100644 index 000000000..e741f0398 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000049, + "KHR-GLES31.core.texture_storage_multisample.GLC", + "overage.extension_specific_enums_are_recognized"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000050, + "KHR-GLES31.core.texture_storage_multisample.GLCoverage.get_tex_para", + "meter_reports_correct_default_values_for_multisample_texture_targets"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000051, + "KHR-GLES31.core.texture_storage_multisample.GLCover", + "age.gl_sample_mask_mode_status_is_reported_correctly"); + +static SHRINK_HWTEST_F(ActsKhrgles310001TestSuite, TestCase_000052, + "KHR-GLES31.core.texture_storage_multisample.GLCover", + "age.gl_tex_parameter_handlers_accept_zero_base_level"); diff --git a/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_aggressive_optimizationsTestCase.cpp b/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_aggressive_optimizationsTestCase.cpp new file mode 100644 index 000000000..84b74fd56 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_aggressive_optimizationsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003457, + "KHR-GLES31.shaders.aggressive", + "_optimizations.sin_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003458, + "KHR-GLES31.shaders.aggressive", + "_optimizations.sin_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003459, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.sin_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003460, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.sin_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003461, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.sin_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003462, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.sin_vec3_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003463, + "KHR-GLES31.shaders.aggressive", + "_optimizations.cos_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003464, + "KHR-GLES31.shaders.aggressive", + "_optimizations.cos_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003465, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.cos_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003466, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.cos_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003467, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.cos_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003468, + "KHR-GLES31.shaders.aggressiv", + "e_optimizations.cos_vec3_frag"); diff --git a/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_layout_locationTestCase.cpp b/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_layout_locationTestCase.cpp new file mode 100644 index 000000000..fd20505fa --- /dev/null +++ b/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_layout_locationTestCase.cpp @@ -0,0 +1,136 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003469, + "KHR-GLES31.shaders.lay", + "out_location.sampler_2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003470, + "KHR-GLES31.shaders.lay", + "out_location.sampler_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003471, + "KHR-GLES31.shaders.layo", + "ut_location.sampler_cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003472, + "KHR-GLES31.shaders.layout_l", + "ocation.sampler_cube_shadow"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003473, + "KHR-GLES31.shaders.layout_", + "location.sampler_2d_shadow"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003474, + "KHR-GLES31.shaders.layout", + "_location.sampler_2d_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003475, + "KHR-GLES31.shaders.layout_loc", + "ation.sampler_2d_array_shadow"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003476, + "KHR-GLES31.shaders.layo", + "ut_location.isampler_2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003477, + "KHR-GLES31.shaders.layo", + "ut_location.isampler_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003478, + "KHR-GLES31.shaders.layou", + "t_location.isampler_cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003479, + "KHR-GLES31.shaders.layout_", + "location.isampler_2d_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003480, + "KHR-GLES31.shaders.layo", + "ut_location.usampler_2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003481, + "KHR-GLES31.shaders.layo", + "ut_location.usampler_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003482, + "KHR-GLES31.shaders.layou", + "t_location.usampler_cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003483, + "KHR-GLES31.shaders.layout_", + "location.usampler_2d_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003484, + "KHR-GLES31.shaders.la", + "yout_location.image_2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003485, + "KHR-GLES31.shaders.lay", + "out_location.iimage_2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003486, + "KHR-GLES31.shaders.lay", + "out_location.uimage_2d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003487, + "KHR-GLES31.shaders.la", + "yout_location.image_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003488, + "KHR-GLES31.shaders.lay", + "out_location.iimage_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003489, + "KHR-GLES31.shaders.lay", + "out_location.uimage_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003490, + "KHR-GLES31.shaders.lay", + "out_location.image_cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003491, + "KHR-GLES31.shaders.layo", + "ut_location.iimage_cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003492, + "KHR-GLES31.shaders.layo", + "ut_location.uimage_cube"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003493, + "KHR-GLES31.shaders.layou", + "t_location.image_2d_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003494, + "KHR-GLES31.shaders.layout", + "_location.iimage_2d_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003495, + "KHR-GLES31.shaders.layout", + "_location.uimage_2d_array"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003496, + "KHR-GLES31.shaders.layou", + "t_location.invalid_cases"); diff --git a/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_negativeTestCase.cpp b/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_negativeTestCase.cpp new file mode 100644 index 000000000..726fcce53 --- /dev/null +++ b/graphic/vkgl/src/khrgles31/shaders/Khrgles31shaders_negativeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles31BaseFunc.h" +#include "../ActsKhrgles310004TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003455, + "KHR-GLES31.shaders.", + "negative.initialize"); + +static SHRINK_HWTEST_F(ActsKhrgles310004TestSuite, TestCase_003456, + "KHR-GLES31.shaders.neg", + "ative.constant_sequence"); -- GitLab From 22584be12929c80f1cea6ab9ae84883f44e93d0d Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:45:10 +0800 Subject: [PATCH 5/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=9A=84khrgles32?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- .../khrgles32/ActsKhrgles320001TestSuite.cpp | 60 + .../khrgles32/ActsKhrgles320001TestSuite.h | 40 + .../khrgles32/ActsKhrgles320002TestSuite.cpp | 60 + .../khrgles32/ActsKhrgles320002TestSuite.h | 40 + .../src/khrgles32/ActsKhrgles32TestSuite.cpp | 60 + .../src/khrgles32/ActsKhrgles32TestSuite.h | 40 + .../vkgl/src/khrgles32/Khrgles32BaseFunc.cpp | 81 + .../vkgl/src/khrgles32/Khrgles32BaseFunc.h | 32 + graphic/vkgl/src/khrgles32/build0001/BUILD.gn | 99 + .../vkgl/src/khrgles32/build0001/Test.json | 38 + .../src/khrgles32/build0001/logdefine.cpp | 20 + graphic/vkgl/src/khrgles32/build0002/BUILD.gn | 73 + .../vkgl/src/khrgles32/build0002/Test.json | 38 + .../src/khrgles32/build0002/logdefine.cpp | 20 + ...Khrgles32compressed_format_apiTestCase.cpp | 100 + ...gles32compressed_format_formatTestCase.cpp | 176 ++ ...les32core_constant_expressionsTestCase.cpp | 2808 +++++++++++++++++ .../core/Khrgles32core_copy_imageTestCase.cpp | 32 + ...les32core_draw_buffers_indexedTestCase.cpp | 48 + ...2core_framebuffer_completenessTestCase.cpp | 96 + .../Khrgles32core_gpu_shader5TestCase.cpp | 108 + .../Khrgles32core_nearest_edgeTestCase.cpp | 32 + ...es32core_separable_programs_tfTestCase.cpp | 32 + .../Khrgles32core_shader_macrosTestCase.cpp | 44 + ...les32core_texture_border_clampTestCase.cpp | 152 + .../Khrgles32core_texture_bufferTestCase.cpp | 88 + ...es32core_texture_compatibilityTestCase.cpp | 76 + ...s32core_texture_cube_map_arrayTestCase.cpp | 132 + ...ext_texture_shadow_lod_textureTestCase.cpp | 44 + ..._texture_shadow_lod_texturelodTestCase.cpp | 44 + ...re_shadow_lod_texturelodoffsetTestCase.cpp | 32 + ...xture_shadow_lod_textureoffsetTestCase.cpp | 36 + ...les32geometry_shader_adjacencyTestCase.cpp | 56 + .../Khrgles32geometry_shader_apiTestCase.cpp | 88 + ...gles32geometry_shader_blittingTestCase.cpp | 36 + ...gles32geometry_shader_clippingTestCase.cpp | 28 + ...etry_shader_constant_variablesTestCase.cpp | 28 + ...Khrgles32geometry_shader_inputTestCase.cpp | 40 + ...s32geometry_shader_layered_fboTestCase.cpp | 56 + ...try_shader_layered_framebufferTestCase.cpp | 40 + ...metry_shader_layered_renderingTestCase.cpp | 28 + ...d_rendering_boundary_conditionTestCase.cpp | 40 + ...ed_rendering_fbo_no_attachmentTestCase.cpp | 28 + ...hrgles32geometry_shader_limitsTestCase.cpp | 60 + ...rgles32geometry_shader_linkingTestCase.cpp | 76 + ...geometry_shader_nonarray_inputTestCase.cpp | 28 + ...hrgles32geometry_shader_outputTestCase.cpp | 44 + ...metry_shader_primitive_counterTestCase.cpp | 100 + ...metry_shader_primitive_queriesTestCase.cpp | 36 + ...ometry_shader_program_resourceTestCase.cpp | 28 + ...es32geometry_shader_qualifiersTestCase.cpp | 28 + ...2internalformat_copy_tex_imageTestCase.cpp | 76 + ...s32internalformat_renderbufferTestCase.cpp | 48 + ...gles32internalformat_texture2dTestCase.cpp | 356 +++ .../Khrgles32rendering_renderingTestCase.cpp | 156 + ...compilation_and_linking_errorsTestCase.cpp | 96 + ...es32tessellation_shader_singleTestCase.cpp | 52 + ...rol_to_tessellation_evaluationTestCase.cpp | 44 + ...shader_tessellation_invarianceTestCase.cpp | 52 + ...tessellation_shader_point_modeTestCase.cpp | 32 + ...tion_shader_quads_tessellationTestCase.cpp | 32 + ...essellation_shader_tc_barriersTestCase.cpp | 36 + ...ssellation_shader_tessellationTestCase.cpp | 44 + ..._shader_triangles_tessellationTestCase.cpp | 36 + ...es32tessellation_shader_vertexTestCase.cpp | 32 + ...s32tessellation_shader_windingTestCase.cpp | 40 + .../info/Khrgles32KHR-GLES32_infoTestCase.cpp | 48 + ...aders_aggressive_optimizationsTestCase.cpp | 72 + .../Khrgles32shaders_negativeTestCase.cpp | 36 + ...es32shaders_shader_integer_mixTestCase.cpp | 52 + 70 files changed, 6989 insertions(+) create mode 100644 graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.h create mode 100644 graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.h create mode 100644 graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.cpp create mode 100644 graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.h create mode 100644 graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.cpp create mode 100644 graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.h create mode 100644 graphic/vkgl/src/khrgles32/build0001/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles32/build0001/Test.json create mode 100644 graphic/vkgl/src/khrgles32/build0001/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles32/build0002/BUILD.gn create mode 100644 graphic/vkgl/src/khrgles32/build0002/Test.json create mode 100644 graphic/vkgl/src/khrgles32/build0002/logdefine.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_formatTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_constant_expressionsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_framebuffer_completenessTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_separable_programs_tfTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_border_clampTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_compatibilityTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_cube_map_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_adjacencyTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_blittingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_clippingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_constant_variablesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_inputTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_fboTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_framebufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_renderingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_boundary_conditionTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_limitsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_linkingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_nonarray_inputTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_outputTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_counterTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_program_resourceTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_qualifiersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_copy_tex_imageTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_renderbufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32rendering_renderingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_compilation_and_linking_errorsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_singleTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_invarianceTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_windingTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/info/Khrgles32KHR-GLES32_infoTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_aggressive_optimizationsTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_negativeTestCase.cpp create mode 100644 graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_shader_integer_mixTestCase.cpp diff --git a/graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.cpp b/graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.cpp new file mode 100644 index 000000000..5c861b1cf --- /dev/null +++ b/graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles32BaseFunc.h" +#include "ActsKhrgles320001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles320001TestSuite::startTime; + time_t ActsKhrgles320001TestSuite::endTime; + FuncRunResult ActsKhrgles320001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles320001TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles320001TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles320001TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles320001TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.h b/graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.h new file mode 100644 index 000000000..b37608646 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/ActsKhrgles320001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES32_TESTCASE_H +#define KHRGLES32_TESTCASE_H + +#include +#include "Khrgles32BaseFunc.h" + +namespace OHOS { + class ActsKhrgles320001TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES32_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.cpp b/graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.cpp new file mode 100644 index 000000000..f1c8b8b44 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles32BaseFunc.h" +#include "ActsKhrgles320002TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles320002TestSuite::startTime; + time_t ActsKhrgles320002TestSuite::endTime; + FuncRunResult ActsKhrgles320002TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles320002TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles320002TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles320002TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles320002TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.h b/graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.h new file mode 100644 index 000000000..5452ff517 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/ActsKhrgles320002TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES32_TESTCASE_H +#define KHRGLES32_TESTCASE_H + +#include +#include "Khrgles32BaseFunc.h" + +namespace OHOS { + class ActsKhrgles320002TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES32_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.cpp b/graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.cpp new file mode 100644 index 000000000..7172e9f2b --- /dev/null +++ b/graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "Khrgles32BaseFunc.h" +#include "ActsKhrgles32TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrgles32TestSuite::startTime; + time_t ActsKhrgles32TestSuite::endTime; + FuncRunResult ActsKhrgles32TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrgles32TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrgles32TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrgles32TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrgles32TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.h b/graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.h new file mode 100644 index 000000000..7abca570b --- /dev/null +++ b/graphic/vkgl/src/khrgles32/ActsKhrgles32TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLES32_TESTCASE_H +#define KHRGLES32_TESTCASE_H + +#include +#include "Khrgles32BaseFunc.h" + +namespace OHOS { + class ActsKhrgles32TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLES32_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.cpp b/graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.cpp new file mode 100644 index 000000000..5ce8dff24 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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. + */ + +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "Khrgles32BaseFunc.h" + +static tcu::TestPackage* createKhrgles32Package(tcu::TestContext& testCtx) +{ + return new es32cts::ES32TestPackage(testCtx, "KHR-GLES32"); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("KHR-GLES32", createKhrgles32Package); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.h b/graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.h new file mode 100644 index 000000000..839d1dcaa --- /dev/null +++ b/graphic/vkgl/src/khrgles32/Khrgles32BaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef KHRGLES32_FUNC_H +#define KHRGLES32_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // KHRGLES32_FUNC_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/build0001/BUILD.gn b/graphic/vkgl/src/khrgles32/build0001/BUILD.gn new file mode 100644 index 000000000..11758d503 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/build0001/BUILD.gn @@ -0,0 +1,99 @@ +# 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("libkhrgles32func0001") { + sources = common_src + sources += [ "../Khrgles32BaseFunc.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("ActsKhrgles32TestSuite0001") { + sources = [ + "../ActsKhrgles320001TestSuite.cpp", + "../core/Khrgles32core_constant_expressionsTestCase.cpp", + "../core/Khrgles32core_draw_buffers_indexedTestCase.cpp", + "../core/Khrgles32core_gpu_shader5TestCase.cpp", + "../core/Khrgles32core_texture_border_clampTestCase.cpp", + "../core/Khrgles32core_texture_bufferTestCase.cpp", + "../core/Khrgles32core_texture_cube_map_arrayTestCase.cpp", + "../core/Khrgles32geometry_shader_adjacencyTestCase.cpp", + "../core/Khrgles32geometry_shader_apiTestCase.cpp", + "../core/Khrgles32geometry_shader_blittingTestCase.cpp", + "../core/Khrgles32geometry_shader_clippingTestCase.cpp", + "../core/Khrgles32geometry_shader_constant_variablesTestCase.cpp", + "../core/Khrgles32geometry_shader_inputTestCase.cpp", + "../core/Khrgles32geometry_shader_layered_fboTestCase.cpp", + "../core/Khrgles32geometry_shader_layered_framebufferTestCase.cpp", + "../core/Khrgles32geometry_shader_layered_renderingTestCase.cpp", + "../core/Khrgles32geometry_shader_layered_rendering_boundary_conditionTestCase.cpp", + "../core/Khrgles32geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp", + "../core/Khrgles32geometry_shader_limitsTestCase.cpp", + "../core/Khrgles32geometry_shader_linkingTestCase.cpp", + "../core/Khrgles32geometry_shader_nonarray_inputTestCase.cpp", + "../core/Khrgles32geometry_shader_outputTestCase.cpp", + "../core/Khrgles32geometry_shader_primitive_counterTestCase.cpp", + "../core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp", + "../core/Khrgles32geometry_shader_program_resourceTestCase.cpp", + "../core/Khrgles32geometry_shader_qualifiersTestCase.cpp", + "../core/Khrgles32rendering_renderingTestCase.cpp", + "../core/Khrgles32tessellation_shader_compilation_and_linking_errorsTestCase.cpp", + "../core/Khrgles32tessellation_shader_singleTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_invarianceTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_shader_tessellationTestCase.cpp", + "../core/Khrgles32tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp", + "../core/Khrgles32tessellation_shader_vertexTestCase.cpp", + "../core/Khrgles32tessellation_shader_windingTestCase.cpp", + "../info/Khrgles32KHR-GLES32_infoTestCase.cpp", + "../shaders/Khrgles32shaders_aggressive_optimizationsTestCase.cpp", + "../shaders/Khrgles32shaders_negativeTestCase.cpp", + "../shaders/Khrgles32shaders_shader_integer_mixTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles32func0001" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles32/build0001/Test.json b/graphic/vkgl/src/khrgles32/build0001/Test.json new file mode 100644 index 000000000..57e182c0c --- /dev/null +++ b/graphic/vkgl/src/khrgles32/build0001/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles32TestSuite0001 test cases", + "driver": { + "module-name": "ActsKhrgles32TestSuite0001", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles32TestSuite0001->/data/local/tmp/ActsKhrgles32TestSuite0001", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/build0001/logdefine.cpp b/graphic/vkgl/src/khrgles32/build0001/logdefine.cpp new file mode 100644 index 000000000..d8b5b2520 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/build0001/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles32TestSuite0001.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/build0002/BUILD.gn b/graphic/vkgl/src/khrgles32/build0002/BUILD.gn new file mode 100644 index 000000000..4911788d7 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/build0002/BUILD.gn @@ -0,0 +1,73 @@ +# 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("libkhrgles32func0002") { + sources = common_src + sources += [ "../Khrgles32BaseFunc.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("ActsKhrgles32TestSuite0002") { + sources = [ + "../ActsKhrgles320002TestSuite.cpp", + "../core/Khrgles32compressed_format_apiTestCase.cpp", + "../core/Khrgles32compressed_format_formatTestCase.cpp", + "../core/Khrgles32core_copy_imageTestCase.cpp", + "../core/Khrgles32core_framebuffer_completenessTestCase.cpp", + "../core/Khrgles32core_nearest_edgeTestCase.cpp", + "../core/Khrgles32core_separable_programs_tfTestCase.cpp", + "../core/Khrgles32core_shader_macrosTestCase.cpp", + "../core/Khrgles32core_texture_compatibilityTestCase.cpp", + "../core/Khrgles32ext_texture_shadow_lod_textureTestCase.cpp", + "../core/Khrgles32ext_texture_shadow_lod_texturelodTestCase.cpp", + "../core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp", + "../core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp", + "../core/Khrgles32internalformat_copy_tex_imageTestCase.cpp", + "../core/Khrgles32internalformat_renderbufferTestCase.cpp", + "../core/Khrgles32internalformat_texture2dTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrgles32func0002" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrgles32/build0002/Test.json b/graphic/vkgl/src/khrgles32/build0002/Test.json new file mode 100644 index 000000000..c35fb04ea --- /dev/null +++ b/graphic/vkgl/src/khrgles32/build0002/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrgles32TestSuite0002 test cases", + "driver": { + "module-name": "ActsKhrgles32TestSuite0002", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrgles32TestSuite0002->/data/local/tmp/ActsKhrgles32TestSuite0002", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/build0002/logdefine.cpp b/graphic/vkgl/src/khrgles32/build0002/logdefine.cpp new file mode 100644 index 000000000..1474928d8 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/build0002/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrgles32TestSuite0002.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_apiTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_apiTestCase.cpp new file mode 100644 index 000000000..834616b21 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_apiTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001180, + "KHR-GLES32.core.compressed", + "_format.api.invalid_target"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001181, + "KHR-GLES32.core.compressed_for", + "mat.api.invalid_width_or_height"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001182, + "KHR-GLES32.core.compressed_format", + ".api.invalid_width_or_height_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001183, + "KHR-GLES32.core.compressed_forma", + "t.api.invalid_size_value_negative"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001184, + "KHR-GLES32.core.compressed_for", + "mat.api.invalid_border_nonzero"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001185, + "KHR-GLES32.core.compressed_format", + ".api.invalid_border_nonzero_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001186, + "KHR-GLES32.core.compressed_for", + "mat.api.invalid_format_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001187, + "KHR-GLES32.core.compressed_", + "format.api.invalid_target_3d"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001188, + "KHR-GLES32.core.compressed_format.api", + ".texstorage_accepts_compressed_format"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001189, + "KHR-GLES32.core.compressed_format.api.", + "invalid_teximage_with_compressed_format"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001190, + "KHR-GLES32.core.compressed", + "_format.api.invalid_format"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001191, + "KHR-GLES32.core.compressed_fo", + "rmat.api.invalid_format_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001192, + "KHR-GLES32.core.compressed_format.", + "api.invalid_too_small_unpack_buffer"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001193, + "KHR-GLES32.core.compressed_format.", + "api.invalid_inconsistent_data_size"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001194, + "KHR-GLES32.core.compressed_format.api", + ".invalid_inconsistent_data_size_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001195, + "KHR-GLES32.core.compressed_for", + "mat.api.invalid_offset_or_size"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001196, + "KHR-GLES32.core.compressed_format.", + "api.copy_compressed_to_uncompressed"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001197, + "KHR-GLES32.core.compressed_format.", + "api.copy_uncompressed_to_compressed"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001198, + "KHR-GLES32.core.compressed_format", + ".api.copy_compressed_to_compressed"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_formatTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_formatTestCase.cpp new file mode 100644 index 000000000..3042cd790 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32compressed_format_formatTestCase.cpp @@ -0,0 +1,176 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001199, + "KHR-GLES32.core.compress", + "ed_format.format.r11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001200, + "KHR-GLES32.core.compressed_", + "format.format.signed_r11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001201, + "KHR-GLES32.core.compress", + "ed_format.format.rg11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001202, + "KHR-GLES32.core.compressed_f", + "ormat.format.signed_rg11_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001203, + "KHR-GLES32.core.compresse", + "d_format.format.rgb8_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001204, + "KHR-GLES32.core.compresse", + "d_format.format.srgb8_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001205, + "KHR-GLES32.core.compressed_format.f", + "ormat.rgb8_punchthrough_alpha1_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001206, + "KHR-GLES32.core.compressed_format.f", + "ormat.srgb8_punchthrough_alpha1_etc2"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001207, + "KHR-GLES32.core.compressed_", + "format.format.rgba8_etc2_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001208, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_etc2_eac"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001209, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_4x4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001210, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_5x4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001211, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_5x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001212, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_6x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001213, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_6x6"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001214, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_8x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001215, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_8x6"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001216, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_8x8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001217, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_10x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001218, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_10x6"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001219, + "KHR-GLES32.core.compressed_", + "format.format.rgba_astc_10x8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001220, + "KHR-GLES32.core.compressed_f", + "ormat.format.rgba_astc_10x10"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001221, + "KHR-GLES32.core.compressed_f", + "ormat.format.rgba_astc_12x10"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001222, + "KHR-GLES32.core.compressed_f", + "ormat.format.rgba_astc_12x12"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001223, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_4x4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001224, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_5x4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001225, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_5x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001226, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_6x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001227, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_6x6"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001228, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_8x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001229, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_8x6"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001230, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_8x8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001231, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_10x5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001232, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_10x6"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001233, + "KHR-GLES32.core.compressed_form", + "at.format.srgb8_alpha8_astc_10x8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001234, + "KHR-GLES32.core.compressed_forma", + "t.format.srgb8_alpha8_astc_10x10"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001235, + "KHR-GLES32.core.compressed_forma", + "t.format.srgb8_alpha8_astc_12x10"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001236, + "KHR-GLES32.core.compressed_forma", + "t.format.srgb8_alpha8_astc_12x12"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_constant_expressionsTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_constant_expressionsTestCase.cpp new file mode 100644 index 000000000..4ccf46c96 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_constant_expressionsTestCase.cpp @@ -0,0 +1,2808 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000325, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000326, + "KHR-GLES32.core.constant_expressio", + "ns.basic_radians_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000327, + "KHR-GLES32.core.constant_expressi", + "ons.basic_radians_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000328, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000329, + "KHR-GLES32.core.constant_expressio", + "ns.basic_radians_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000330, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000331, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000332, + "KHR-GLES32.core.constant_expressio", + "ns.basic_radians_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000333, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000334, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000335, + "KHR-GLES32.core.constant_expressio", + "ns.basic_radians_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000336, + "KHR-GLES32.core.constant_express", + "ions.basic_radians_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000337, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000338, + "KHR-GLES32.core.constant_expressio", + "ns.basic_degrees_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000339, + "KHR-GLES32.core.constant_expressi", + "ons.basic_degrees_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000340, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000341, + "KHR-GLES32.core.constant_expressio", + "ns.basic_degrees_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000342, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000343, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000344, + "KHR-GLES32.core.constant_expressio", + "ns.basic_degrees_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000345, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000346, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000347, + "KHR-GLES32.core.constant_expressio", + "ns.basic_degrees_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000348, + "KHR-GLES32.core.constant_express", + "ions.basic_degrees_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000349, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000350, + "KHR-GLES32.core.constant_express", + "ions.basic_sin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000351, + "KHR-GLES32.core.constant_expres", + "sions.basic_sin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000352, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000353, + "KHR-GLES32.core.constant_express", + "ions.basic_sin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000354, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000355, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000356, + "KHR-GLES32.core.constant_express", + "ions.basic_sin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000357, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000358, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000359, + "KHR-GLES32.core.constant_express", + "ions.basic_sin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000360, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000361, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000362, + "KHR-GLES32.core.constant_express", + "ions.basic_cos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000363, + "KHR-GLES32.core.constant_expres", + "sions.basic_cos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000364, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000365, + "KHR-GLES32.core.constant_express", + "ions.basic_cos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000366, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000367, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000368, + "KHR-GLES32.core.constant_express", + "ions.basic_cos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000369, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000370, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000371, + "KHR-GLES32.core.constant_express", + "ions.basic_cos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000372, + "KHR-GLES32.core.constant_expre", + "ssions.basic_cos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000373, + "KHR-GLES32.core.constant_expres", + "sions.basic_asin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000374, + "KHR-GLES32.core.constant_expressi", + "ons.basic_asin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000375, + "KHR-GLES32.core.constant_expres", + "sions.basic_asin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000376, + "KHR-GLES32.core.constant_expre", + "ssions.basic_asin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000377, + "KHR-GLES32.core.constant_express", + "ions.basic_asin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000378, + "KHR-GLES32.core.constant_expres", + "sions.basic_asin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000379, + "KHR-GLES32.core.constant_expre", + "ssions.basic_asin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000380, + "KHR-GLES32.core.constant_express", + "ions.basic_asin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000381, + "KHR-GLES32.core.constant_expres", + "sions.basic_asin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000382, + "KHR-GLES32.core.constant_expre", + "ssions.basic_asin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000383, + "KHR-GLES32.core.constant_express", + "ions.basic_asin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000384, + "KHR-GLES32.core.constant_expres", + "sions.basic_asin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000385, + "KHR-GLES32.core.constant_expres", + "sions.basic_acos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000386, + "KHR-GLES32.core.constant_expressi", + "ons.basic_acos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000387, + "KHR-GLES32.core.constant_expres", + "sions.basic_acos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000388, + "KHR-GLES32.core.constant_expre", + "ssions.basic_acos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000389, + "KHR-GLES32.core.constant_express", + "ions.basic_acos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000390, + "KHR-GLES32.core.constant_expres", + "sions.basic_acos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000391, + "KHR-GLES32.core.constant_expre", + "ssions.basic_acos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000392, + "KHR-GLES32.core.constant_express", + "ions.basic_acos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000393, + "KHR-GLES32.core.constant_expres", + "sions.basic_acos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000394, + "KHR-GLES32.core.constant_expre", + "ssions.basic_acos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000395, + "KHR-GLES32.core.constant_express", + "ions.basic_acos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000396, + "KHR-GLES32.core.constant_expres", + "sions.basic_acos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000397, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000398, + "KHR-GLES32.core.constant_express", + "ions.basic_pow_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000399, + "KHR-GLES32.core.constant_expres", + "sions.basic_pow_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000400, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000401, + "KHR-GLES32.core.constant_express", + "ions.basic_pow_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000402, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000403, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000404, + "KHR-GLES32.core.constant_express", + "ions.basic_pow_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000405, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000406, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000407, + "KHR-GLES32.core.constant_express", + "ions.basic_pow_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000408, + "KHR-GLES32.core.constant_expre", + "ssions.basic_pow_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000409, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000410, + "KHR-GLES32.core.constant_express", + "ions.basic_exp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000411, + "KHR-GLES32.core.constant_expres", + "sions.basic_exp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000412, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000413, + "KHR-GLES32.core.constant_express", + "ions.basic_exp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000414, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000415, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000416, + "KHR-GLES32.core.constant_express", + "ions.basic_exp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000417, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000418, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000419, + "KHR-GLES32.core.constant_express", + "ions.basic_exp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000420, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000421, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000422, + "KHR-GLES32.core.constant_express", + "ions.basic_log_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000423, + "KHR-GLES32.core.constant_expres", + "sions.basic_log_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000424, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000425, + "KHR-GLES32.core.constant_express", + "ions.basic_log_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000426, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000427, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000428, + "KHR-GLES32.core.constant_express", + "ions.basic_log_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000429, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000430, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000431, + "KHR-GLES32.core.constant_express", + "ions.basic_log_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000432, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000433, + "KHR-GLES32.core.constant_expres", + "sions.basic_exp2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000434, + "KHR-GLES32.core.constant_expressi", + "ons.basic_exp2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000435, + "KHR-GLES32.core.constant_expres", + "sions.basic_exp2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000436, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000437, + "KHR-GLES32.core.constant_express", + "ions.basic_exp2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000438, + "KHR-GLES32.core.constant_expres", + "sions.basic_exp2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000439, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000440, + "KHR-GLES32.core.constant_express", + "ions.basic_exp2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000441, + "KHR-GLES32.core.constant_expres", + "sions.basic_exp2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000442, + "KHR-GLES32.core.constant_expre", + "ssions.basic_exp2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000443, + "KHR-GLES32.core.constant_express", + "ions.basic_exp2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000444, + "KHR-GLES32.core.constant_expres", + "sions.basic_exp2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000445, + "KHR-GLES32.core.constant_expres", + "sions.basic_log2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000446, + "KHR-GLES32.core.constant_expressi", + "ons.basic_log2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000447, + "KHR-GLES32.core.constant_expres", + "sions.basic_log2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000448, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000449, + "KHR-GLES32.core.constant_express", + "ions.basic_log2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000450, + "KHR-GLES32.core.constant_expres", + "sions.basic_log2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000451, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000452, + "KHR-GLES32.core.constant_express", + "ions.basic_log2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000453, + "KHR-GLES32.core.constant_expres", + "sions.basic_log2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000454, + "KHR-GLES32.core.constant_expre", + "ssions.basic_log2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000455, + "KHR-GLES32.core.constant_express", + "ions.basic_log2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000456, + "KHR-GLES32.core.constant_expres", + "sions.basic_log2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000457, + "KHR-GLES32.core.constant_expres", + "sions.basic_sqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000458, + "KHR-GLES32.core.constant_expressi", + "ons.basic_sqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000459, + "KHR-GLES32.core.constant_expres", + "sions.basic_sqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000460, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000461, + "KHR-GLES32.core.constant_express", + "ions.basic_sqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000462, + "KHR-GLES32.core.constant_expres", + "sions.basic_sqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000463, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000464, + "KHR-GLES32.core.constant_express", + "ions.basic_sqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000465, + "KHR-GLES32.core.constant_expres", + "sions.basic_sqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000466, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000467, + "KHR-GLES32.core.constant_express", + "ions.basic_sqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000468, + "KHR-GLES32.core.constant_expres", + "sions.basic_sqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000469, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000470, + "KHR-GLES32.core.constant_expressions", + ".basic_inversesqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000471, + "KHR-GLES32.core.constant_expression", + "s.basic_inversesqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000472, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000473, + "KHR-GLES32.core.constant_expressions", + ".basic_inversesqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000474, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000475, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000476, + "KHR-GLES32.core.constant_expressions", + ".basic_inversesqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000477, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000478, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000479, + "KHR-GLES32.core.constant_expressions", + ".basic_inversesqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000480, + "KHR-GLES32.core.constant_expressio", + "ns.basic_inversesqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000481, + "KHR-GLES32.core.constant_expr", + "essions.basic_abs_int_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000482, + "KHR-GLES32.core.constant_expres", + "sions.basic_abs_int_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000483, + "KHR-GLES32.core.constant_expre", + "ssions.basic_abs_int_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000484, + "KHR-GLES32.core.constant_expre", + "ssions.basic_abs_ivec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000485, + "KHR-GLES32.core.constant_express", + "ions.basic_abs_ivec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000486, + "KHR-GLES32.core.constant_expres", + "sions.basic_abs_ivec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000487, + "KHR-GLES32.core.constant_expre", + "ssions.basic_abs_ivec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000488, + "KHR-GLES32.core.constant_express", + "ions.basic_abs_ivec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000489, + "KHR-GLES32.core.constant_expres", + "sions.basic_abs_ivec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000490, + "KHR-GLES32.core.constant_expre", + "ssions.basic_abs_ivec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000491, + "KHR-GLES32.core.constant_express", + "ions.basic_abs_ivec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000492, + "KHR-GLES32.core.constant_expres", + "sions.basic_abs_ivec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000493, + "KHR-GLES32.core.constant_expres", + "sions.basic_sign_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000494, + "KHR-GLES32.core.constant_expressi", + "ons.basic_sign_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000495, + "KHR-GLES32.core.constant_expres", + "sions.basic_sign_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000496, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sign_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000497, + "KHR-GLES32.core.constant_express", + "ions.basic_sign_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000498, + "KHR-GLES32.core.constant_expres", + "sions.basic_sign_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000499, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sign_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000500, + "KHR-GLES32.core.constant_express", + "ions.basic_sign_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000501, + "KHR-GLES32.core.constant_expres", + "sions.basic_sign_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000502, + "KHR-GLES32.core.constant_expre", + "ssions.basic_sign_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000503, + "KHR-GLES32.core.constant_express", + "ions.basic_sign_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000504, + "KHR-GLES32.core.constant_expres", + "sions.basic_sign_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000505, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000506, + "KHR-GLES32.core.constant_expressi", + "ons.basic_floor_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000507, + "KHR-GLES32.core.constant_express", + "ions.basic_floor_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000508, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000509, + "KHR-GLES32.core.constant_expressi", + "ons.basic_floor_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000510, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000511, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000512, + "KHR-GLES32.core.constant_expressi", + "ons.basic_floor_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000513, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000514, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000515, + "KHR-GLES32.core.constant_expressi", + "ons.basic_floor_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000516, + "KHR-GLES32.core.constant_expres", + "sions.basic_floor_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000517, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000518, + "KHR-GLES32.core.constant_expressi", + "ons.basic_trunc_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000519, + "KHR-GLES32.core.constant_express", + "ions.basic_trunc_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000520, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000521, + "KHR-GLES32.core.constant_expressi", + "ons.basic_trunc_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000522, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000523, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000524, + "KHR-GLES32.core.constant_expressi", + "ons.basic_trunc_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000525, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000526, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000527, + "KHR-GLES32.core.constant_expressi", + "ons.basic_trunc_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000528, + "KHR-GLES32.core.constant_expres", + "sions.basic_trunc_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000529, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000530, + "KHR-GLES32.core.constant_expressi", + "ons.basic_round_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000531, + "KHR-GLES32.core.constant_express", + "ions.basic_round_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000532, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000533, + "KHR-GLES32.core.constant_expressi", + "ons.basic_round_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000534, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000535, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000536, + "KHR-GLES32.core.constant_expressi", + "ons.basic_round_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000537, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000538, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000539, + "KHR-GLES32.core.constant_expressi", + "ons.basic_round_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000540, + "KHR-GLES32.core.constant_expres", + "sions.basic_round_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000541, + "KHR-GLES32.core.constant_expres", + "sions.basic_ceil_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000542, + "KHR-GLES32.core.constant_expressi", + "ons.basic_ceil_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000543, + "KHR-GLES32.core.constant_expres", + "sions.basic_ceil_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000544, + "KHR-GLES32.core.constant_expre", + "ssions.basic_ceil_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000545, + "KHR-GLES32.core.constant_express", + "ions.basic_ceil_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000546, + "KHR-GLES32.core.constant_expres", + "sions.basic_ceil_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000547, + "KHR-GLES32.core.constant_expre", + "ssions.basic_ceil_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000548, + "KHR-GLES32.core.constant_express", + "ions.basic_ceil_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000549, + "KHR-GLES32.core.constant_expres", + "sions.basic_ceil_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000550, + "KHR-GLES32.core.constant_expre", + "ssions.basic_ceil_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000551, + "KHR-GLES32.core.constant_express", + "ions.basic_ceil_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000552, + "KHR-GLES32.core.constant_expres", + "sions.basic_ceil_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000553, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000554, + "KHR-GLES32.core.constant_express", + "ions.basic_mod_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000555, + "KHR-GLES32.core.constant_expres", + "sions.basic_mod_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000556, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000557, + "KHR-GLES32.core.constant_express", + "ions.basic_mod_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000558, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000559, + "KHR-GLES32.core.constant_expressi", + "ons.basic_mod_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000560, + "KHR-GLES32.core.constant_expression", + "s.basic_mod_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000561, + "KHR-GLES32.core.constant_expressi", + "ons.basic_mod_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000562, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000563, + "KHR-GLES32.core.constant_express", + "ions.basic_mod_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000564, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000565, + "KHR-GLES32.core.constant_expressi", + "ons.basic_mod_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000566, + "KHR-GLES32.core.constant_expression", + "s.basic_mod_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000567, + "KHR-GLES32.core.constant_expressi", + "ons.basic_mod_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000568, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000569, + "KHR-GLES32.core.constant_express", + "ions.basic_mod_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000570, + "KHR-GLES32.core.constant_expre", + "ssions.basic_mod_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000571, + "KHR-GLES32.core.constant_expressi", + "ons.basic_mod_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000572, + "KHR-GLES32.core.constant_expression", + "s.basic_mod_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000573, + "KHR-GLES32.core.constant_expressi", + "ons.basic_mod_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000574, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000575, + "KHR-GLES32.core.constant_express", + "ions.basic_min_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000576, + "KHR-GLES32.core.constant_expres", + "sions.basic_min_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000577, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000578, + "KHR-GLES32.core.constant_express", + "ions.basic_min_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000579, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000580, + "KHR-GLES32.core.constant_expressi", + "ons.basic_min_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000581, + "KHR-GLES32.core.constant_expression", + "s.basic_min_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000582, + "KHR-GLES32.core.constant_expressi", + "ons.basic_min_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000583, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000584, + "KHR-GLES32.core.constant_express", + "ions.basic_min_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000585, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000586, + "KHR-GLES32.core.constant_expressi", + "ons.basic_min_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000587, + "KHR-GLES32.core.constant_expression", + "s.basic_min_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000588, + "KHR-GLES32.core.constant_expressi", + "ons.basic_min_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000589, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000590, + "KHR-GLES32.core.constant_express", + "ions.basic_min_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000591, + "KHR-GLES32.core.constant_expre", + "ssions.basic_min_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000592, + "KHR-GLES32.core.constant_expressi", + "ons.basic_min_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000593, + "KHR-GLES32.core.constant_expression", + "s.basic_min_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000594, + "KHR-GLES32.core.constant_expressi", + "ons.basic_min_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000595, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000596, + "KHR-GLES32.core.constant_express", + "ions.basic_max_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000597, + "KHR-GLES32.core.constant_expres", + "sions.basic_max_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000598, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000599, + "KHR-GLES32.core.constant_express", + "ions.basic_max_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000600, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000601, + "KHR-GLES32.core.constant_expressi", + "ons.basic_max_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000602, + "KHR-GLES32.core.constant_expression", + "s.basic_max_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000603, + "KHR-GLES32.core.constant_expressi", + "ons.basic_max_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000604, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000605, + "KHR-GLES32.core.constant_express", + "ions.basic_max_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000606, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000607, + "KHR-GLES32.core.constant_expressi", + "ons.basic_max_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000608, + "KHR-GLES32.core.constant_expression", + "s.basic_max_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000609, + "KHR-GLES32.core.constant_expressi", + "ons.basic_max_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000610, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000611, + "KHR-GLES32.core.constant_express", + "ions.basic_max_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000612, + "KHR-GLES32.core.constant_expre", + "ssions.basic_max_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000613, + "KHR-GLES32.core.constant_expressi", + "ons.basic_max_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000614, + "KHR-GLES32.core.constant_expression", + "s.basic_max_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000615, + "KHR-GLES32.core.constant_expressi", + "ons.basic_max_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000616, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000617, + "KHR-GLES32.core.constant_expressi", + "ons.basic_clamp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000618, + "KHR-GLES32.core.constant_express", + "ions.basic_clamp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000619, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000620, + "KHR-GLES32.core.constant_expressi", + "ons.basic_clamp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000621, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000622, + "KHR-GLES32.core.constant_expressio", + "ns.basic_clamp_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000623, + "KHR-GLES32.core.constant_expressions", + ".basic_clamp_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000624, + "KHR-GLES32.core.constant_expressio", + "ns.basic_clamp_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000625, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000626, + "KHR-GLES32.core.constant_expressi", + "ons.basic_clamp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000627, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000628, + "KHR-GLES32.core.constant_expressio", + "ns.basic_clamp_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000629, + "KHR-GLES32.core.constant_expressions", + ".basic_clamp_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000630, + "KHR-GLES32.core.constant_expressio", + "ns.basic_clamp_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000631, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000632, + "KHR-GLES32.core.constant_expressi", + "ons.basic_clamp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000633, + "KHR-GLES32.core.constant_expres", + "sions.basic_clamp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000634, + "KHR-GLES32.core.constant_expressio", + "ns.basic_clamp_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000635, + "KHR-GLES32.core.constant_expressions", + ".basic_clamp_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000636, + "KHR-GLES32.core.constant_expressio", + "ns.basic_clamp_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000637, + "KHR-GLES32.core.constant_express", + "ions.basic_length_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000638, + "KHR-GLES32.core.constant_expressio", + "ns.basic_length_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000639, + "KHR-GLES32.core.constant_express", + "ions.basic_length_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000640, + "KHR-GLES32.core.constant_expres", + "sions.basic_length_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000641, + "KHR-GLES32.core.constant_expressi", + "ons.basic_length_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000642, + "KHR-GLES32.core.constant_express", + "ions.basic_length_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000643, + "KHR-GLES32.core.constant_expres", + "sions.basic_length_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000644, + "KHR-GLES32.core.constant_expressi", + "ons.basic_length_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000645, + "KHR-GLES32.core.constant_express", + "ions.basic_length_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000646, + "KHR-GLES32.core.constant_expres", + "sions.basic_length_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000647, + "KHR-GLES32.core.constant_expressi", + "ons.basic_length_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000648, + "KHR-GLES32.core.constant_express", + "ions.basic_length_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000649, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000650, + "KHR-GLES32.core.constant_express", + "ions.basic_dot_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000651, + "KHR-GLES32.core.constant_expres", + "sions.basic_dot_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000652, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000653, + "KHR-GLES32.core.constant_express", + "ions.basic_dot_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000654, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000655, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000656, + "KHR-GLES32.core.constant_express", + "ions.basic_dot_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000657, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000658, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000659, + "KHR-GLES32.core.constant_express", + "ions.basic_dot_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000660, + "KHR-GLES32.core.constant_expre", + "ssions.basic_dot_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000661, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000662, + "KHR-GLES32.core.constant_expression", + "s.basic_normalize_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000663, + "KHR-GLES32.core.constant_expressio", + "ns.basic_normalize_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000664, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000665, + "KHR-GLES32.core.constant_expression", + "s.basic_normalize_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000666, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000667, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000668, + "KHR-GLES32.core.constant_expression", + "s.basic_normalize_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000669, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000670, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000671, + "KHR-GLES32.core.constant_expression", + "s.basic_normalize_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000672, + "KHR-GLES32.core.constant_expressi", + "ons.basic_normalize_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000673, + "KHR-GLES32.core.constant_express", + "ions.array_radians_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000674, + "KHR-GLES32.core.constant_expressio", + "ns.array_radians_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000675, + "KHR-GLES32.core.constant_expressi", + "ons.array_radians_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000676, + "KHR-GLES32.core.constant_express", + "ions.array_radians_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000677, + "KHR-GLES32.core.constant_expressio", + "ns.array_radians_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000678, + "KHR-GLES32.core.constant_express", + "ions.array_radians_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000679, + "KHR-GLES32.core.constant_express", + "ions.array_radians_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000680, + "KHR-GLES32.core.constant_expressio", + "ns.array_radians_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000681, + "KHR-GLES32.core.constant_express", + "ions.array_radians_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000682, + "KHR-GLES32.core.constant_express", + "ions.array_radians_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000683, + "KHR-GLES32.core.constant_expressio", + "ns.array_radians_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000684, + "KHR-GLES32.core.constant_express", + "ions.array_radians_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000685, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000686, + "KHR-GLES32.core.constant_expressio", + "ns.array_degrees_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000687, + "KHR-GLES32.core.constant_expressi", + "ons.array_degrees_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000688, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000689, + "KHR-GLES32.core.constant_expressio", + "ns.array_degrees_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000690, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000691, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000692, + "KHR-GLES32.core.constant_expressio", + "ns.array_degrees_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000693, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000694, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000695, + "KHR-GLES32.core.constant_expressio", + "ns.array_degrees_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000696, + "KHR-GLES32.core.constant_express", + "ions.array_degrees_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000697, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000698, + "KHR-GLES32.core.constant_express", + "ions.array_sin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000699, + "KHR-GLES32.core.constant_expres", + "sions.array_sin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000700, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000701, + "KHR-GLES32.core.constant_express", + "ions.array_sin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000702, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000703, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000704, + "KHR-GLES32.core.constant_express", + "ions.array_sin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000705, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000706, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000707, + "KHR-GLES32.core.constant_express", + "ions.array_sin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000708, + "KHR-GLES32.core.constant_expre", + "ssions.array_sin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000709, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000710, + "KHR-GLES32.core.constant_express", + "ions.array_cos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000711, + "KHR-GLES32.core.constant_expres", + "sions.array_cos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000712, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000713, + "KHR-GLES32.core.constant_express", + "ions.array_cos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000714, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000715, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000716, + "KHR-GLES32.core.constant_express", + "ions.array_cos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000717, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000718, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000719, + "KHR-GLES32.core.constant_express", + "ions.array_cos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000720, + "KHR-GLES32.core.constant_expre", + "ssions.array_cos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000721, + "KHR-GLES32.core.constant_expres", + "sions.array_asin_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000722, + "KHR-GLES32.core.constant_expressi", + "ons.array_asin_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000723, + "KHR-GLES32.core.constant_expres", + "sions.array_asin_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000724, + "KHR-GLES32.core.constant_expre", + "ssions.array_asin_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000725, + "KHR-GLES32.core.constant_express", + "ions.array_asin_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000726, + "KHR-GLES32.core.constant_expres", + "sions.array_asin_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000727, + "KHR-GLES32.core.constant_expre", + "ssions.array_asin_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000728, + "KHR-GLES32.core.constant_express", + "ions.array_asin_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000729, + "KHR-GLES32.core.constant_expres", + "sions.array_asin_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000730, + "KHR-GLES32.core.constant_expre", + "ssions.array_asin_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000731, + "KHR-GLES32.core.constant_express", + "ions.array_asin_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000732, + "KHR-GLES32.core.constant_expres", + "sions.array_asin_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000733, + "KHR-GLES32.core.constant_expres", + "sions.array_acos_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000734, + "KHR-GLES32.core.constant_expressi", + "ons.array_acos_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000735, + "KHR-GLES32.core.constant_expres", + "sions.array_acos_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000736, + "KHR-GLES32.core.constant_expre", + "ssions.array_acos_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000737, + "KHR-GLES32.core.constant_express", + "ions.array_acos_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000738, + "KHR-GLES32.core.constant_expres", + "sions.array_acos_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000739, + "KHR-GLES32.core.constant_expre", + "ssions.array_acos_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000740, + "KHR-GLES32.core.constant_express", + "ions.array_acos_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000741, + "KHR-GLES32.core.constant_expres", + "sions.array_acos_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000742, + "KHR-GLES32.core.constant_expre", + "ssions.array_acos_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000743, + "KHR-GLES32.core.constant_express", + "ions.array_acos_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000744, + "KHR-GLES32.core.constant_expres", + "sions.array_acos_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000745, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000746, + "KHR-GLES32.core.constant_express", + "ions.array_pow_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000747, + "KHR-GLES32.core.constant_expres", + "sions.array_pow_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000748, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000749, + "KHR-GLES32.core.constant_express", + "ions.array_pow_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000750, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000751, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000752, + "KHR-GLES32.core.constant_express", + "ions.array_pow_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000753, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000754, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000755, + "KHR-GLES32.core.constant_express", + "ions.array_pow_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000756, + "KHR-GLES32.core.constant_expre", + "ssions.array_pow_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000757, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000758, + "KHR-GLES32.core.constant_express", + "ions.array_exp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000759, + "KHR-GLES32.core.constant_expres", + "sions.array_exp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000760, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000761, + "KHR-GLES32.core.constant_express", + "ions.array_exp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000762, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000763, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000764, + "KHR-GLES32.core.constant_express", + "ions.array_exp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000765, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000766, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000767, + "KHR-GLES32.core.constant_express", + "ions.array_exp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000768, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000769, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000770, + "KHR-GLES32.core.constant_express", + "ions.array_log_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000771, + "KHR-GLES32.core.constant_expres", + "sions.array_log_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000772, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000773, + "KHR-GLES32.core.constant_express", + "ions.array_log_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000774, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000775, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000776, + "KHR-GLES32.core.constant_express", + "ions.array_log_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000777, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000778, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000779, + "KHR-GLES32.core.constant_express", + "ions.array_log_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000780, + "KHR-GLES32.core.constant_expre", + "ssions.array_log_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000781, + "KHR-GLES32.core.constant_expres", + "sions.array_exp2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000782, + "KHR-GLES32.core.constant_expressi", + "ons.array_exp2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000783, + "KHR-GLES32.core.constant_expres", + "sions.array_exp2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000784, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000785, + "KHR-GLES32.core.constant_express", + "ions.array_exp2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000786, + "KHR-GLES32.core.constant_expres", + "sions.array_exp2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000787, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000788, + "KHR-GLES32.core.constant_express", + "ions.array_exp2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000789, + "KHR-GLES32.core.constant_expres", + "sions.array_exp2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000790, + "KHR-GLES32.core.constant_expre", + "ssions.array_exp2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000791, + "KHR-GLES32.core.constant_express", + "ions.array_exp2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000792, + "KHR-GLES32.core.constant_expres", + "sions.array_exp2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000793, + "KHR-GLES32.core.constant_expres", + "sions.array_log2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000794, + "KHR-GLES32.core.constant_expressi", + "ons.array_log2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000795, + "KHR-GLES32.core.constant_expres", + "sions.array_log2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000796, + "KHR-GLES32.core.constant_expre", + "ssions.array_log2_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000797, + "KHR-GLES32.core.constant_express", + "ions.array_log2_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000798, + "KHR-GLES32.core.constant_expres", + "sions.array_log2_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000799, + "KHR-GLES32.core.constant_expre", + "ssions.array_log2_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000800, + "KHR-GLES32.core.constant_express", + "ions.array_log2_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000801, + "KHR-GLES32.core.constant_expres", + "sions.array_log2_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000802, + "KHR-GLES32.core.constant_expre", + "ssions.array_log2_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000803, + "KHR-GLES32.core.constant_express", + "ions.array_log2_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000804, + "KHR-GLES32.core.constant_expres", + "sions.array_log2_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000805, + "KHR-GLES32.core.constant_expres", + "sions.array_sqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000806, + "KHR-GLES32.core.constant_expressi", + "ons.array_sqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000807, + "KHR-GLES32.core.constant_expres", + "sions.array_sqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000808, + "KHR-GLES32.core.constant_expre", + "ssions.array_sqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000809, + "KHR-GLES32.core.constant_express", + "ions.array_sqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000810, + "KHR-GLES32.core.constant_expres", + "sions.array_sqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000811, + "KHR-GLES32.core.constant_expre", + "ssions.array_sqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000812, + "KHR-GLES32.core.constant_express", + "ions.array_sqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000813, + "KHR-GLES32.core.constant_expres", + "sions.array_sqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000814, + "KHR-GLES32.core.constant_expre", + "ssions.array_sqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000815, + "KHR-GLES32.core.constant_express", + "ions.array_sqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000816, + "KHR-GLES32.core.constant_expres", + "sions.array_sqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000817, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000818, + "KHR-GLES32.core.constant_expressions", + ".array_inversesqrt_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000819, + "KHR-GLES32.core.constant_expression", + "s.array_inversesqrt_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000820, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000821, + "KHR-GLES32.core.constant_expressions", + ".array_inversesqrt_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000822, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000823, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000824, + "KHR-GLES32.core.constant_expressions", + ".array_inversesqrt_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000825, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000826, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000827, + "KHR-GLES32.core.constant_expressions", + ".array_inversesqrt_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000828, + "KHR-GLES32.core.constant_expressio", + "ns.array_inversesqrt_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000829, + "KHR-GLES32.core.constant_expr", + "essions.array_abs_int_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000830, + "KHR-GLES32.core.constant_expres", + "sions.array_abs_int_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000831, + "KHR-GLES32.core.constant_expre", + "ssions.array_abs_int_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000832, + "KHR-GLES32.core.constant_expre", + "ssions.array_abs_ivec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000833, + "KHR-GLES32.core.constant_express", + "ions.array_abs_ivec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000834, + "KHR-GLES32.core.constant_expres", + "sions.array_abs_ivec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000835, + "KHR-GLES32.core.constant_expre", + "ssions.array_abs_ivec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000836, + "KHR-GLES32.core.constant_express", + "ions.array_abs_ivec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000837, + "KHR-GLES32.core.constant_expres", + "sions.array_abs_ivec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000838, + "KHR-GLES32.core.constant_expre", + "ssions.array_abs_ivec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000839, + "KHR-GLES32.core.constant_express", + "ions.array_abs_ivec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000840, + "KHR-GLES32.core.constant_expres", + "sions.array_abs_ivec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000841, + "KHR-GLES32.core.constant_expres", + "sions.array_sign_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000842, + "KHR-GLES32.core.constant_expressi", + "ons.array_sign_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000843, + "KHR-GLES32.core.constant_expres", + "sions.array_sign_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000844, + "KHR-GLES32.core.constant_expre", + "ssions.array_sign_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000845, + "KHR-GLES32.core.constant_express", + "ions.array_sign_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000846, + "KHR-GLES32.core.constant_expres", + "sions.array_sign_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000847, + "KHR-GLES32.core.constant_expre", + "ssions.array_sign_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000848, + "KHR-GLES32.core.constant_express", + "ions.array_sign_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000849, + "KHR-GLES32.core.constant_expres", + "sions.array_sign_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000850, + "KHR-GLES32.core.constant_expre", + "ssions.array_sign_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000851, + "KHR-GLES32.core.constant_express", + "ions.array_sign_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000852, + "KHR-GLES32.core.constant_expres", + "sions.array_sign_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000853, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000854, + "KHR-GLES32.core.constant_expressi", + "ons.array_floor_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000855, + "KHR-GLES32.core.constant_express", + "ions.array_floor_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000856, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000857, + "KHR-GLES32.core.constant_expressi", + "ons.array_floor_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000858, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000859, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000860, + "KHR-GLES32.core.constant_expressi", + "ons.array_floor_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000861, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000862, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000863, + "KHR-GLES32.core.constant_expressi", + "ons.array_floor_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000864, + "KHR-GLES32.core.constant_expres", + "sions.array_floor_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000865, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000866, + "KHR-GLES32.core.constant_expressi", + "ons.array_trunc_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000867, + "KHR-GLES32.core.constant_express", + "ions.array_trunc_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000868, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000869, + "KHR-GLES32.core.constant_expressi", + "ons.array_trunc_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000870, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000871, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000872, + "KHR-GLES32.core.constant_expressi", + "ons.array_trunc_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000873, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000874, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000875, + "KHR-GLES32.core.constant_expressi", + "ons.array_trunc_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000876, + "KHR-GLES32.core.constant_expres", + "sions.array_trunc_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000877, + "KHR-GLES32.core.constant_expres", + "sions.array_round_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000878, + "KHR-GLES32.core.constant_expressi", + "ons.array_round_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000879, + "KHR-GLES32.core.constant_express", + "ions.array_round_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000880, + "KHR-GLES32.core.constant_expres", + "sions.array_round_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000881, + "KHR-GLES32.core.constant_expressi", + "ons.array_round_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000882, + "KHR-GLES32.core.constant_expres", + "sions.array_round_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000883, + "KHR-GLES32.core.constant_expres", + "sions.array_round_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000884, + "KHR-GLES32.core.constant_expressi", + "ons.array_round_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000885, + "KHR-GLES32.core.constant_expres", + "sions.array_round_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000886, + "KHR-GLES32.core.constant_expres", + "sions.array_round_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000887, + "KHR-GLES32.core.constant_expressi", + "ons.array_round_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000888, + "KHR-GLES32.core.constant_expres", + "sions.array_round_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000889, + "KHR-GLES32.core.constant_expres", + "sions.array_ceil_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000890, + "KHR-GLES32.core.constant_expressi", + "ons.array_ceil_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000891, + "KHR-GLES32.core.constant_expres", + "sions.array_ceil_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000892, + "KHR-GLES32.core.constant_expre", + "ssions.array_ceil_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000893, + "KHR-GLES32.core.constant_express", + "ions.array_ceil_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000894, + "KHR-GLES32.core.constant_expres", + "sions.array_ceil_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000895, + "KHR-GLES32.core.constant_expre", + "ssions.array_ceil_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000896, + "KHR-GLES32.core.constant_express", + "ions.array_ceil_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000897, + "KHR-GLES32.core.constant_expres", + "sions.array_ceil_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000898, + "KHR-GLES32.core.constant_expre", + "ssions.array_ceil_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000899, + "KHR-GLES32.core.constant_express", + "ions.array_ceil_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000900, + "KHR-GLES32.core.constant_expres", + "sions.array_ceil_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000901, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000902, + "KHR-GLES32.core.constant_express", + "ions.array_mod_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000903, + "KHR-GLES32.core.constant_expres", + "sions.array_mod_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000904, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000905, + "KHR-GLES32.core.constant_express", + "ions.array_mod_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000906, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000907, + "KHR-GLES32.core.constant_expressi", + "ons.array_mod_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000908, + "KHR-GLES32.core.constant_expression", + "s.array_mod_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000909, + "KHR-GLES32.core.constant_expressi", + "ons.array_mod_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000910, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000911, + "KHR-GLES32.core.constant_express", + "ions.array_mod_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000912, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000913, + "KHR-GLES32.core.constant_expressi", + "ons.array_mod_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000914, + "KHR-GLES32.core.constant_expression", + "s.array_mod_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000915, + "KHR-GLES32.core.constant_expressi", + "ons.array_mod_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000916, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000917, + "KHR-GLES32.core.constant_express", + "ions.array_mod_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000918, + "KHR-GLES32.core.constant_expre", + "ssions.array_mod_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000919, + "KHR-GLES32.core.constant_expressi", + "ons.array_mod_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000920, + "KHR-GLES32.core.constant_expression", + "s.array_mod_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000921, + "KHR-GLES32.core.constant_expressi", + "ons.array_mod_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000922, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000923, + "KHR-GLES32.core.constant_express", + "ions.array_min_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000924, + "KHR-GLES32.core.constant_expres", + "sions.array_min_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000925, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000926, + "KHR-GLES32.core.constant_express", + "ions.array_min_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000927, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000928, + "KHR-GLES32.core.constant_expressi", + "ons.array_min_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000929, + "KHR-GLES32.core.constant_expression", + "s.array_min_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000930, + "KHR-GLES32.core.constant_expressi", + "ons.array_min_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000931, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000932, + "KHR-GLES32.core.constant_express", + "ions.array_min_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000933, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000934, + "KHR-GLES32.core.constant_expressi", + "ons.array_min_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000935, + "KHR-GLES32.core.constant_expression", + "s.array_min_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000936, + "KHR-GLES32.core.constant_expressi", + "ons.array_min_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000937, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000938, + "KHR-GLES32.core.constant_express", + "ions.array_min_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000939, + "KHR-GLES32.core.constant_expre", + "ssions.array_min_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000940, + "KHR-GLES32.core.constant_expressi", + "ons.array_min_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000941, + "KHR-GLES32.core.constant_expression", + "s.array_min_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000942, + "KHR-GLES32.core.constant_expressi", + "ons.array_min_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000943, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000944, + "KHR-GLES32.core.constant_express", + "ions.array_max_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000945, + "KHR-GLES32.core.constant_expres", + "sions.array_max_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000946, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000947, + "KHR-GLES32.core.constant_express", + "ions.array_max_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000948, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000949, + "KHR-GLES32.core.constant_expressi", + "ons.array_max_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000950, + "KHR-GLES32.core.constant_expression", + "s.array_max_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000951, + "KHR-GLES32.core.constant_expressi", + "ons.array_max_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000952, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000953, + "KHR-GLES32.core.constant_express", + "ions.array_max_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000954, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000955, + "KHR-GLES32.core.constant_expressi", + "ons.array_max_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000956, + "KHR-GLES32.core.constant_expression", + "s.array_max_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000957, + "KHR-GLES32.core.constant_expressi", + "ons.array_max_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000958, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000959, + "KHR-GLES32.core.constant_express", + "ions.array_max_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000960, + "KHR-GLES32.core.constant_expre", + "ssions.array_max_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000961, + "KHR-GLES32.core.constant_expressi", + "ons.array_max_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000962, + "KHR-GLES32.core.constant_expression", + "s.array_max_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000963, + "KHR-GLES32.core.constant_expressi", + "ons.array_max_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000964, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000965, + "KHR-GLES32.core.constant_expressi", + "ons.array_clamp_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000966, + "KHR-GLES32.core.constant_express", + "ions.array_clamp_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000967, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000968, + "KHR-GLES32.core.constant_expressi", + "ons.array_clamp_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000969, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000970, + "KHR-GLES32.core.constant_expressio", + "ns.array_clamp_vec2_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000971, + "KHR-GLES32.core.constant_expressions", + ".array_clamp_vec2_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000972, + "KHR-GLES32.core.constant_expressio", + "ns.array_clamp_vec2_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000973, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000974, + "KHR-GLES32.core.constant_expressi", + "ons.array_clamp_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000975, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000976, + "KHR-GLES32.core.constant_expressio", + "ns.array_clamp_vec3_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000977, + "KHR-GLES32.core.constant_expressions", + ".array_clamp_vec3_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000978, + "KHR-GLES32.core.constant_expressio", + "ns.array_clamp_vec3_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000979, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000980, + "KHR-GLES32.core.constant_expressi", + "ons.array_clamp_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000981, + "KHR-GLES32.core.constant_expres", + "sions.array_clamp_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000982, + "KHR-GLES32.core.constant_expressio", + "ns.array_clamp_vec4_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000983, + "KHR-GLES32.core.constant_expressions", + ".array_clamp_vec4_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000984, + "KHR-GLES32.core.constant_expressio", + "ns.array_clamp_vec4_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000985, + "KHR-GLES32.core.constant_express", + "ions.array_length_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000986, + "KHR-GLES32.core.constant_expressio", + "ns.array_length_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000987, + "KHR-GLES32.core.constant_express", + "ions.array_length_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000988, + "KHR-GLES32.core.constant_expres", + "sions.array_length_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000989, + "KHR-GLES32.core.constant_expressi", + "ons.array_length_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000990, + "KHR-GLES32.core.constant_express", + "ions.array_length_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000991, + "KHR-GLES32.core.constant_expres", + "sions.array_length_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000992, + "KHR-GLES32.core.constant_expressi", + "ons.array_length_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000993, + "KHR-GLES32.core.constant_express", + "ions.array_length_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000994, + "KHR-GLES32.core.constant_expres", + "sions.array_length_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000995, + "KHR-GLES32.core.constant_expressi", + "ons.array_length_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000996, + "KHR-GLES32.core.constant_express", + "ions.array_length_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000997, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000998, + "KHR-GLES32.core.constant_express", + "ions.array_dot_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000999, + "KHR-GLES32.core.constant_expres", + "sions.array_dot_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001000, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001001, + "KHR-GLES32.core.constant_express", + "ions.array_dot_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001002, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001003, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001004, + "KHR-GLES32.core.constant_express", + "ions.array_dot_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001005, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001006, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001007, + "KHR-GLES32.core.constant_express", + "ions.array_dot_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001008, + "KHR-GLES32.core.constant_expre", + "ssions.array_dot_vec4_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001009, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_float_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001010, + "KHR-GLES32.core.constant_expression", + "s.array_normalize_float_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001011, + "KHR-GLES32.core.constant_expressio", + "ns.array_normalize_float_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001012, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_vec2_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001013, + "KHR-GLES32.core.constant_expression", + "s.array_normalize_vec2_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001014, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_vec2_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001015, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_vec3_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001016, + "KHR-GLES32.core.constant_expression", + "s.array_normalize_vec3_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001017, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_vec3_tess_eval"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001018, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_vec4_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001019, + "KHR-GLES32.core.constant_expression", + "s.array_normalize_vec4_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_001020, + "KHR-GLES32.core.constant_expressi", + "ons.array_normalize_vec4_tess_eval"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp new file mode 100644 index 000000000..bb9c769da --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_copy_imageTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001028, + "KHR-GLES32.core.cop", + "y_image.r32i_texture"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001029, + "KHR-GLES32.core.copy", + "_image.r32ui_texture"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp new file mode 100644 index 000000000..d6b93a703 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_draw_buffers_indexedTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000319, + "KHR-GLES32.core.draw_b", + "uffers_indexed.coverage"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000320, + "KHR-GLES32.core.draw_buff", + "ers_indexed.default_state"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000321, + "KHR-GLES32.core.draw_b", + "uffers_indexed.set_get"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000322, + "KHR-GLES32.core.draw_buf", + "fers_indexed.color_masks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000323, + "KHR-GLES32.core.draw_b", + "uffers_indexed.blending"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000324, + "KHR-GLES32.core.draw_b", + "uffers_indexed.negative"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_framebuffer_completenessTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_framebuffer_completenessTestCase.cpp new file mode 100644 index 000000000..65abf9a83 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_framebuffer_completenessTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001149, + "KHR-GLES32.core.framebuffer_complet", + "eness.incomplete_missing_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001150, + "KHR-GLES32.core.framebuffer_comple", + "teness.incomplete_image_zero_width"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001151, + "KHR-GLES32.core.framebuffer_comple", + "teness.incomplete_image_zero_height"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001152, + "KHR-GLES32.core.framebuffer_complete", + "ness.incomplete_texture_3d_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001153, + "KHR-GLES32.core.framebuffer_complete", + "ness.incomplete_texture_2d_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001154, + "KHR-GLES32.core.framebuffer_completen", + "ess.incomplete_texture_2d_mm_layer_oob"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001155, + "KHR-GLES32.core.framebuffer_completeness.", + "mutable_nbl_texture_expect_mipmap_complete"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001156, + "KHR-GLES32.core.framebuffer_completeness", + ".mutable_nbl_texture_expect_cube_complete"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001157, + "KHR-GLES32.core.framebuffer_completen", + "ess.expect_renderable_internal_format"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001158, + "KHR-GLES32.core.framebuffer_complete", + "ness.all_rbos_expect_same_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001159, + "KHR-GLES32.core.framebuffer_completenes", + "s.rbo_and_texture_expect_zero_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001160, + "KHR-GLES32.core.framebuffer_comp", + "leteness.expect_equal_numsamples"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001161, + "KHR-GLES32.core.framebuffer_", + "completeness.status_tracking"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001162, + "KHR-GLES32.core.framebuffer_completeness", + ".mutable_texture_missing_attachment_level"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001163, + "KHR-GLES32.core.framebuffer_completeness.", + "immutable_texture_any_level_as_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001164, + "KHR-GLES32.core.framebuffer_completeness.cube", + "_map_layered_attachment_valid_size_and_format"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001165, + "KHR-GLES32.core.framebuffer_completeness.cu", + "be_map_layered_attachment_different_formats"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001166, + "KHR-GLES32.core.framebuffer_completeness.c", + "ube_map_layered_attachment_different_sizes"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp new file mode 100644 index 000000000..92f45403a --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_gpu_shader5TestCase.cpp @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000165, + "KHR-GLES32.core.gpu_shade", + "r5.sampler_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000166, + "KHR-GLES32.core.gpu_shad", + "er5.images_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000167, + "KHR-GLES32.core.gpu_shader5.a", + "tomic_counters_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000168, + "KHR-GLES32.core.gpu_shader5.", + "uniform_blocks_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000169, + "KHR-GLES32.core.gpu_sh", + "ader5.precise_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000170, + "KHR-GLES32.core.gpu_", + "shader5.fma_accuracy"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000171, + "KHR-GLES32.core.gpu_sha", + "der5.fma_precision_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000172, + "KHR-GLES32.core.gpu_sha", + "der5.fma_precision_vec2"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000173, + "KHR-GLES32.core.gpu_sha", + "der5.fma_precision_vec3"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000174, + "KHR-GLES32.core.gpu_sha", + "der5.fma_precision_vec4"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000175, + "KHR-GLES32.core.gpu_shader5.tex", + "ture_gather_offset_color_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000176, + "KHR-GLES32.core.gpu_shader5.te", + "xture_gather_offset_color_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000177, + "KHR-GLES32.core.gpu_shader5.", + "texture_gather_offsets_color"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000178, + "KHR-GLES32.core.gpu_shader5.tex", + "ture_gather_offset_depth_repeat"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000179, + "KHR-GLES32.core.gpu_shader5.text", + "ure_gather_offset_depth_repeat_y"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000180, + "KHR-GLES32.core.gpu_shader5.te", + "xture_gather_offset_depth_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000181, + "KHR-GLES32.core.gpu_shader5.", + "texture_gather_offsets_depth"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000182, + "KHR-GLES32.core.gpu_shader5.texture", + "_gather_offset_color_clamp_to_border"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000183, + "KHR-GLES32.core.gpu_shader5.textur", + "e_gather_offset_color_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000184, + "KHR-GLES32.core.gpu_shader5.textur", + "e_gather_offset_depth_clamp_border"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000185, + "KHR-GLES32.core.gpu_shader5.textu", + "re_gather_offset_depth_clamp_edge"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp new file mode 100644 index 000000000..b6c8466aa --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_nearest_edgeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001147, + "KHR-GLES32.core.near", + "est_edge.offset_left"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001148, + "KHR-GLES32.core.near", + "est_edge.offset_right"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_separable_programs_tfTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_separable_programs_tfTestCase.cpp new file mode 100644 index 000000000..b7462ff1d --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_separable_programs_tfTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001026, + "KHR-GLES32.core.separable_pr", + "ograms_tf.tessellation_active"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001027, + "KHR-GLES32.core.separable_", + "programs_tf.geometry_active"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp new file mode 100644 index 000000000..c859418f2 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_shader_macrosTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001021, + "KHR-GLES32.core.shader_macros.", + "fragment_precision_high_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001022, + "KHR-GLES32.core.shader_macros.f", + "ragment_precision_high_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001023, + "KHR-GLES32.core.shader_macros.f", + "ragment_precision_high_geometry"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001024, + "KHR-GLES32.core.shader_macros.fra", + "gment_precision_high_tess_control"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001025, + "KHR-GLES32.core.shader_macros.f", + "ragment_precision_high_tess_eval"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_border_clampTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_border_clampTestCase.cpp new file mode 100644 index 000000000..302577031 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_border_clampTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000271, + "KHR-GLES32.core.texture_bord", + "er_clamp.border_color_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000272, + "KHR-GLES32.core.texture_bord", + "er_clamp.texparameteri_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000273, + "KHR-GLES32.core.texture_border", + "_clamp.gettexparameteri_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000274, + "KHR-GLES32.core.texture_border_clamp.s", + "amplerparameteri_non_gen_sampler_error"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000275, + "KHR-GLES32.core.texture_border_clam", + "p.samplerparameteri_with_wrong_pname"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000276, + "KHR-GLES32.core.texture_border_cl", + "amp.samplerparameteri_border_color"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000277, + "KHR-GLES32.core.texture_bo", + "rder_clamp.Texture2DRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000278, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture2DR32I"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000279, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture2DR32UI"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000280, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture2DRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000281, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture2DDC32F"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000282, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture2DDC16"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000283, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture2DCompressed"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000284, + "KHR-GLES32.core.texture_borde", + "r_clamp.Texture2DArrayRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000285, + "KHR-GLES32.core.texture_bor", + "der_clamp.Texture2DArrayR32I"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000286, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture2DArrayR32UI"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000287, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture2DArrayRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000288, + "KHR-GLES32.core.texture_border", + "_clamp.Texture2DArrayCompressed"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000289, + "KHR-GLES32.core.texture_bo", + "rder_clamp.Texture3DRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000290, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture3DR32I"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000291, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture3DR32UI"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000292, + "KHR-GLES32.core.texture_b", + "order_clamp.Texture3DRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000293, + "KHR-GLES32.core.texture_borde", + "r_clamp.Texture2DRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000294, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture2DRGBA8Linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000295, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture2DDC32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000296, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture2DDC16Linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000297, + "KHR-GLES32.core.texture_border_", + "clamp.Texture2DCompressedLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000298, + "KHR-GLES32.core.texture_border_c", + "lamp.Texture2DArrayRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000299, + "KHR-GLES32.core.texture_border_", + "clamp.Texture2DArrayRGBA8Linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000300, + "KHR-GLES32.core.texture_border_cl", + "amp.Texture2DArrayCompressedLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000301, + "KHR-GLES32.core.texture_borde", + "r_clamp.Texture3DRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000302, + "KHR-GLES32.core.texture_bord", + "er_clamp.Texture3DRGBA8Linear"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_bufferTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_bufferTestCase.cpp new file mode 100644 index 000000000..db4d89d2a --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_bufferTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000303, + "KHR-GLES32.core.texture_buffer.tex", + "ture_buffer_operations_buffer_load"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000304, + "KHR-GLES32.core.texture_buffer.te", + "xture_buffer_operations_cpu_writes"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000305, + "KHR-GLES32.core.texture_buffer.texture", + "_buffer_operations_framebuffer_readback"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000306, + "KHR-GLES32.core.texture_buffer.textur", + "e_buffer_operations_transform_feedback"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000307, + "KHR-GLES32.core.texture_buffer.tex", + "ture_buffer_operations_image_store"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000308, + "KHR-GLES32.core.texture_buffer.tex", + "ture_buffer_operations_ssbo_writes"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000309, + "KHR-GLES32.core.texture_buf", + "fer.texture_buffer_max_size"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000310, + "KHR-GLES32.core.texture_buffer.te", + "xture_buffer_texture_buffer_range"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000311, + "KHR-GLES32.core.texture_buffer.", + "texture_buffer_conv_int_to_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000312, + "KHR-GLES32.core.texture_buffer.", + "texture_buffer_atomic_functions"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000313, + "KHR-GLES32.core.texture_buff", + "er.texture_buffer_parameters"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000314, + "KHR-GLES32.core.texture_bu", + "ffer.texture_buffer_errors"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000315, + "KHR-GLES32.core.texture_buffer.texture_buff", + "er_active_uniform_validation_fragment_shader"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000316, + "KHR-GLES32.core.texture_buffer.texture_buff", + "er_active_uniform_validation_compute_shader"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000317, + "KHR-GLES32.core.texture_buffer.", + "texture_buffer_buffer_parameters"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000318, + "KHR-GLES32.core.texture_buf", + "fer.texture_buffer_precision"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_compatibilityTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_compatibilityTestCase.cpp new file mode 100644 index 000000000..07830d9f9 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_compatibilityTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001167, + "KHR-GLES32.core.texture_compatibility.", + "texsubimage_format_rgba4_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001168, + "KHR-GLES32.core.texture_compatibility.t", + "exsubimage_format_rgb5_a1_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001169, + "KHR-GLES32.core.texture_compatibility.tex", + "subimage_format_rgb5_a1_unsigned_int_10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001170, + "KHR-GLES32.core.texture_compatibi", + "lity.texsubimage_format_r16f_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001171, + "KHR-GLES32.core.texture_compatibil", + "ity.texsubimage_format_rg16f_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001172, + "KHR-GLES32.core.texture_compatibil", + "ity.texsubimage_format_rgb16f_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001173, + "KHR-GLES32.core.texture_compatibili", + "ty.texsubimage_format_rgba16f_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001174, + "KHR-GLES32.core.texture_compatibility.tex", + "subimage_format_r11f_g11f_b10f_half_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001175, + "KHR-GLES32.core.texture_compatibility.", + "texsubimage_format_r11f_g11f_b10f_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001176, + "KHR-GLES32.core.texture_compatibility", + ".texsubimage_format_rgb9_e5_half_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001177, + "KHR-GLES32.core.texture_compatibili", + "ty.texsubimage_format_rgb9_e5_float"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001178, + "KHR-GLES32.core.texture_compatibility.", + "texsubimage_format_rgb565_unsigned_byte"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001179, + "KHR-GLES32.core.texture_compatibility.t", + "exsubimage_format_depth_component16_uint"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_cube_map_arrayTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_cube_map_arrayTestCase.cpp new file mode 100644 index 000000000..bc0e67580 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32core_texture_cube_map_arrayTestCase.cpp @@ -0,0 +1,132 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000244, + "KHR-GLES32.core.texture", + "_cube_map_array.sampling"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000245, + "KHR-GLES32.core.texture_cube_ma", + "p_array.color_depth_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000246, + "KHR-GLES32.core.texture_cube_map_array", + ".stencil_attachments_mutable_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000247, + "KHR-GLES32.core.texture_cube_map_arra", + "y.stencil_attachments_mutable_layered"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000248, + "KHR-GLES32.core.texture_cube_map_array.", + "stencil_attachments_immutable_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000249, + "KHR-GLES32.core.texture_cube_map_array", + ".stencil_attachments_immutable_layered"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000250, + "KHR-GLES32.core.texture_cub", + "e_map_array.tex3D_validation"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000251, + "KHR-GLES32.core.texture_", + "cube_map_array.subimage3D"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000252, + "KHR-GLES32.core.texture_c", + "ube_map_array.getter_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000253, + "KHR-GLES32.core.texture_cube_map_array.gener", + "ate_mip_map_filterable_internalformat_mutable"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000254, + "KHR-GLES32.core.texture_cube_map_array.genera", + "te_mip_map_filterable_internalformat_immutable"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000255, + "KHR-GLES32.core.texture_cube_map_array.gene", + "rate_mip_map_non_filterable_mutable_storage"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000256, + "KHR-GLES32.core.texture_cube_map_array.gener", + "ate_mip_map_non_filterable_immutable_storage"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000257, + "KHR-GLES32.core.texture_cube_", + "map_array.image_op_compute_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000258, + "KHR-GLES32.core.texture_cube", + "_map_array.image_op_vertex_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000259, + "KHR-GLES32.core.texture_cube_", + "map_array.image_op_fragment_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000260, + "KHR-GLES32.core.texture_cube_", + "map_array.image_op_geometry_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000261, + "KHR-GLES32.core.texture_cube_map_ar", + "ray.image_op_tessellation_control_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000262, + "KHR-GLES32.core.texture_cube_map_arra", + "y.image_op_tessellation_evaluation_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000263, + "KHR-GLES32.core.texture_cube", + "_map_array.fbo_incompleteness"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000264, + "KHR-GLES32.core.texture_cube_m", + "ap_array.texture_size_vertex_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000265, + "KHR-GLES32.core.texture_cube_ma", + "p_array.texture_size_geometry_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000266, + "KHR-GLES32.core.texture_cube_map_ar", + "ray.texture_size_tesselation_con_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000267, + "KHR-GLES32.core.texture_cube_map_a", + "rray.texture_size_tesselation_ev_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000268, + "KHR-GLES32.core.texture_cube_ma", + "p_array.texture_size_fragment_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000269, + "KHR-GLES32.core.texture_cube_ma", + "p_array.texture_size_compute_sh"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000270, + "KHR-GLES32.core.texture_c", + "ube_map_array.etc2_texture"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureTestCase.cpp new file mode 100644 index 000000000..d2c121e44 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001132, + "KHR-GLES32.core.ext_texture_shadow_lod", + ".texture.sampler2darrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001133, + "KHR-GLES32.core.ext_texture_shadow_lod.t", + "exture.sampler2darrayshadow_bias_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001134, + "KHR-GLES32.core.ext_texture_shadow_lod", + ".texture.samplercubearrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001135, + "KHR-GLES32.core.ext_texture_shadow_lod.", + "texture.samplercubearrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001136, + "KHR-GLES32.core.ext_texture_shadow_lod.te", + "xture.samplercubearrayshadow_bias_fragment"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodTestCase.cpp new file mode 100644 index 000000000..eade3f3ae --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001140, + "KHR-GLES32.core.ext_texture_shadow_lod", + ".texturelod.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001141, + "KHR-GLES32.core.ext_texture_shadow_lod.", + "texturelod.sampler2darrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001142, + "KHR-GLES32.core.ext_texture_shadow_lo", + "d.texturelod.samplercubeshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001143, + "KHR-GLES32.core.ext_texture_shadow_lod", + ".texturelod.samplercubeshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001144, + "KHR-GLES32.core.ext_texture_shadow_lod.t", + "exturelod.samplercubearrayshadow_fragment"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp new file mode 100644 index 000000000..a29e82887 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_texturelodoffsetTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001145, + "KHR-GLES32.core.ext_texture_shadow_lod.te", + "xturelodoffset.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001146, + "KHR-GLES32.core.ext_texture_shadow_lod.tex", + "turelodoffset.sampler2darrayshadow_fragment"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp new file mode 100644 index 000000000..04b77fc4d --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32ext_texture_shadow_lod_textureoffsetTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001137, + "KHR-GLES32.core.ext_texture_shadow_lod.t", + "extureoffset.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001138, + "KHR-GLES32.core.ext_texture_shadow_lod.te", + "xtureoffset.sampler2darrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001139, + "KHR-GLES32.core.ext_texture_shadow_lod.text", + "ureoffset.sampler2darrayshadow_bias_fragment"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_adjacencyTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_adjacencyTestCase.cpp new file mode 100644 index 000000000..3e579b452 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_adjacencyTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000029, + "KHR-GLES32.core.geometry_shader.ad", + "jacency.adjacency_non_indiced_lines"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000030, + "KHR-GLES32.core.geometry_shader.", + "adjacency.adjacency_indiced_lines"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000031, + "KHR-GLES32.core.geometry_shader.adjac", + "ency.adjacency_non_indiced_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000032, + "KHR-GLES32.core.geometry_shader.adj", + "acency.adjacency_indiced_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000033, + "KHR-GLES32.core.geometry_shader.adja", + "cency.adjacency_non_indiced_triangles"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000034, + "KHR-GLES32.core.geometry_shader.ad", + "jacency.adjacency_indiced_triangles"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000035, + "KHR-GLES32.core.geometry_shader.adjacen", + "cy.adjacency_non_indiced_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000036, + "KHR-GLES32.core.geometry_shader.adjac", + "ency.adjacency_indiced_triangle_strip"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_apiTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_apiTestCase.cpp new file mode 100644 index 000000000..e7a623a17 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_apiTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000140, + "KHR-GLES32.core.geometry_sha", + "der.api.createShaderProgramv"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000141, + "KHR-GLES32.core.geometr", + "y_shader.api.shader_type"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000142, + "KHR-GLES32.core.geometry", + "_shader.api.getProgramiv"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000143, + "KHR-GLES32.core.geometry", + "_shader.api.getProgramiv2"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000144, + "KHR-GLES32.core.geometry", + "_shader.api.getProgramiv3"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000145, + "KHR-GLES32.core.geometry_", + "shader.api.fs_gs_draw_call"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000146, + "KHR-GLES32.core.geometry_sh", + "ader.api.max_image_uniforms"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000147, + "KHR-GLES32.core.geometry_shade", + "r.api.max_shader_storage_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000148, + "KHR-GLES32.core.geometry_sh", + "ader.api.max_atomic_counters"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000149, + "KHR-GLES32.core.geometry_shader", + ".api.max_atomic_counter_buffers"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000150, + "KHR-GLES32.core.geometry_shader.api", + ".pipeline_program_without_active_vs"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000151, + "KHR-GLES32.core.geometry_shader", + ".api.incompatible_draw_call_mode"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000152, + "KHR-GLES32.core.geometry_shader.", + "api.insufficient_emitted_vertices"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000153, + "KHR-GLES32.core.geometry_shader.a", + "pi.program_pipeline_vs_gs_capture"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000154, + "KHR-GLES32.core.geometry_shader.api.draw_", + "primitives_do_not_match_output_primitives"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000155, + "KHR-GLES32.core.geometry_shader.", + "api.draw_calls_while_tf_is_paused"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_blittingTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_blittingTestCase.cpp new file mode 100644 index 000000000..4dfc6fd26 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_blittingTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000097, + "KHR-GLES32.core.geometry_shad", + "er.blitting.layered_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000098, + "KHR-GLES32.core.geometry_shad", + "er.blitting.nonlayered_layered"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000099, + "KHR-GLES32.core.geometry_sha", + "der.blitting.layered_layered"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_clippingTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_clippingTestCase.cpp new file mode 100644 index 000000000..948af9398 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_clippingTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000096, + "KHR-GLES32.core.geometry", + "_shader.clipping.clipping"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_constant_variablesTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_constant_variablesTestCase.cpp new file mode 100644 index 000000000..71afaeb15 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_constant_variablesTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000117, + "KHR-GLES32.core.geometry_shader.co", + "nstant_variables.constant_variables"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_inputTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_inputTestCase.cpp new file mode 100644 index 000000000..6d461a4ba --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_inputTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000072, + "KHR-GLES32.core.geometry_shad", + "er.input.gl_in_array_contents"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000073, + "KHR-GLES32.core.geometry_sha", + "der.input.gl_in_array_length"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000074, + "KHR-GLES32.core.geometry_sha", + "der.input.gl_pointsize_value"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000075, + "KHR-GLES32.core.geometry_sh", + "ader.input.gl_position_value"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_fboTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_fboTestCase.cpp new file mode 100644 index 000000000..db6647f25 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_fboTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000157, + "KHR-GLES32.core.geometry_sh", + "ader.layered_fbo.layered_fbo"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000158, + "KHR-GLES32.core.geometry_shader.l", + "ayered_fbo.layered_fbo_attachments"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000159, + "KHR-GLES32.core.geometry_shader.la", + "yered_fbo.fb_texture_invalid_target"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000160, + "KHR-GLES32.core.geometry_shader.layere", + "d_fbo.fb_texture_no_fbo_bound_to_target"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000161, + "KHR-GLES32.core.geometry_shader.laye", + "red_fbo.fb_texture_invalid_attachment"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000162, + "KHR-GLES32.core.geometry_shader.la", + "yered_fbo.fb_texture_invalid_value"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000163, + "KHR-GLES32.core.geometry_shader.layer", + "ed_fbo.fb_texture_invalid_level_number"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000164, + "KHR-GLES32.core.geometry_shader.layered_fbo.", + "fb_texture_argument_refers_to_buffer_texture"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_framebufferTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_framebufferTestCase.cpp new file mode 100644 index 000000000..1489de521 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_framebufferTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000104, + "KHR-GLES32.core.geometry_shader.l", + "ayered_framebuffer.stencil_support"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000105, + "KHR-GLES32.core.geometry_shader.", + "layered_framebuffer.depth_support"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000106, + "KHR-GLES32.core.geometry_shader.la", + "yered_framebuffer.blending_support"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000107, + "KHR-GLES32.core.geometry_shader.lay", + "ered_framebuffer.clear_call_support"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_renderingTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_renderingTestCase.cpp new file mode 100644 index 000000000..74c2b011e --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_renderingTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000095, + "KHR-GLES32.core.geometry_shader.l", + "ayered_rendering.layered_rendering"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_boundary_conditionTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_boundary_conditionTestCase.cpp new file mode 100644 index 000000000..32a65140b --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_boundary_conditionTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000100, + "KHR-GLES32.core.geometry_shader.layered_rendering_boundary_co", + "ndition.layered_rendering_boundary_condition_various_textures"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000101, + "KHR-GLES32.core.geometry_shader.layered_rendering_bound", + "ary_condition.layered_rendering_boundary_condition_no_gs"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000102, + "KHR-GLES32.core.geometry_shader.layered_rendering_boundary_co", + "ndition.layered_rendering_boundary_condition_no_default_layer"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000103, + "KHR-GLES32.core.geometry_shader.layered_rendering_boundary_c", + "ondition.layered_rendering_boundary_condition_no_layered_fbo"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp new file mode 100644 index 000000000..46129c787 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000116, + "KHR-GLES32.core.geometry_shader.layered_rendering_f", + "bo_no_attachment.layered_rendering_fbo_no_attachment"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_limitsTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_limitsTestCase.cpp new file mode 100644 index 000000000..e9df6fd10 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_limitsTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000118, + "KHR-GLES32.core.geometry_shade", + "r.limits.max_uniform_components"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000119, + "KHR-GLES32.core.geometry_sha", + "der.limits.max_uniform_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000120, + "KHR-GLES32.core.geometry_shad", + "er.limits.max_input_components"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000121, + "KHR-GLES32.core.geometry_shade", + "r.limits.max_output_components"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000122, + "KHR-GLES32.core.geometry_shad", + "er.limits.max_output_vertices"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000123, + "KHR-GLES32.core.geometry_shader.limi", + "ts.max_output_components_single_point"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000124, + "KHR-GLES32.core.geometry_sha", + "der.limits.max_texture_units"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000125, + "KHR-GLES32.core.geometry_sh", + "ader.limits.max_invocations"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000126, + "KHR-GLES32.core.geometry_shader.", + "limits.max_combined_texture_units"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_linkingTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_linkingTestCase.cpp new file mode 100644 index 000000000..d7d47b52c --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_linkingTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000127, + "KHR-GLES32.core.geometry_shader.l", + "inking.incomplete_program_objects"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000128, + "KHR-GLES32.core.geometry_s", + "hader.linking.incomplete_gs"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000129, + "KHR-GLES32.core.geometry_shader.lin", + "king.invalid_arrayed_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000130, + "KHR-GLES32.core.geometry_shader.li", + "nking.vs_gs_variable_type_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000131, + "KHR-GLES32.core.geometry_shader.link", + "ing.vs_gs_variable_qualifier_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000132, + "KHR-GLES32.core.geometry_shader.linkin", + "g.vs_gs_arrayed_variable_size_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000133, + "KHR-GLES32.core.geometry_shader", + ".linking.fragcoord_redeclaration"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000134, + "KHR-GLES32.core.geometry_sha", + "der.linking.location_aliasing"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000135, + "KHR-GLES32.core.geometry_shader.li", + "nking.more_ACs_in_GS_than_supported"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000136, + "KHR-GLES32.core.geometry_shader.lin", + "king.more_ACBs_in_GS_than_supported"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000137, + "KHR-GLES32.core.geometry_shader.link", + "ing.geometry_shader_compilation_fail"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000138, + "KHR-GLES32.core.geometry_shader.linking.", + "more_input_vertices_in_GS_than_available"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000139, + "KHR-GLES32.core.geometry_shader.linki", + "ng.tf_capture_from_gs_and_vs_variables"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_nonarray_inputTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_nonarray_inputTestCase.cpp new file mode 100644 index 000000000..dea408ea6 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_nonarray_inputTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000071, + "KHR-GLES32.core.geometry_shade", + "r.nonarray_input.nonarray_input"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_outputTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_outputTestCase.cpp new file mode 100644 index 000000000..ef5102309 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_outputTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000108, + "KHR-GLES32.core.geometry_shader.o", + "utput.conflicted_output_primitive"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000109, + "KHR-GLES32.core.geometry_shader.ou", + "tput.conflicted_output_vertices_max"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000110, + "KHR-GLES32.core.geometry_sha", + "der.output.vertex_emit_at_end"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000111, + "KHR-GLES32.core.geometry_shader.", + "output.primitive_end_done_at_end"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000112, + "KHR-GLES32.core.geometry_shader.output", + ".primite_end_done_for_single_primitive"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_counterTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_counterTestCase.cpp new file mode 100644 index 000000000..85ec75004 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_counterTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000076, + "KHR-GLES32.core.geometry_shader.", + "primitive_counter.point_to_point"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000077, + "KHR-GLES32.core.geometry_shader.pri", + "mitive_counter.points_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000078, + "KHR-GLES32.core.geometry_shader.primi", + "tive_counter.points_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000079, + "KHR-GLES32.core.geometry_shader.", + "primitive_counter.lines_to_points"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000080, + "KHR-GLES32.core.geometry_shader.pr", + "imitive_counter.lines_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000081, + "KHR-GLES32.core.geometry_shader.prim", + "itive_counter.lines_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000082, + "KHR-GLES32.core.geometry_shader.pr", + "imitive_counter.triangles_to_points"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000083, + "KHR-GLES32.core.geometry_shader.prim", + "itive_counter.triangles_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000084, + "KHR-GLES32.core.geometry_shader.primit", + "ive_counter.triangles_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000085, + "KHR-GLES32.core.geometry_shader.pr", + "imitive_counter.points_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000086, + "KHR-GLES32.core.geometry_shader.prim", + "itive_counter.points_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000087, + "KHR-GLES32.core.geometry_shader.primit", + "ive_counter.points_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000088, + "KHR-GLES32.core.geometry_shader.pr", + "imitive_counter.lines_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000089, + "KHR-GLES32.core.geometry_shader.prim", + "itive_counter.lines_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000090, + "KHR-GLES32.core.geometry_shader.primit", + "ive_counter.lines_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000091, + "KHR-GLES32.core.geometry_shader.prim", + "itive_counter.triangles_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000092, + "KHR-GLES32.core.geometry_shader.primit", + "ive_counter.triangles_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000093, + "KHR-GLES32.core.geometry_shader.primitiv", + "e_counter.triangles_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000094, + "KHR-GLES32.core.geometry_shader.primit", + "ive_counter.primitive_id_from_fragment"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp new file mode 100644 index 000000000..5c6c86fe3 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_primitive_queriesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000113, + "KHR-GLES32.core.geometry_shader.primi", + "tive_queries.primitive_queries_points"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000114, + "KHR-GLES32.core.geometry_shader.prim", + "itive_queries.primitive_queries_lines"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000115, + "KHR-GLES32.core.geometry_shader.primit", + "ive_queries.primitive_queries_triangles"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_program_resourceTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_program_resourceTestCase.cpp new file mode 100644 index 000000000..e72020d09 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_program_resourceTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000070, + "KHR-GLES32.core.geometry_shader.", + "program_resource.program_resource"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_qualifiersTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_qualifiersTestCase.cpp new file mode 100644 index 000000000..8af674d31 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32geometry_shader_qualifiersTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000156, + "KHR-GLES32.core.geometry_shade", + "r.qualifiers.flat_interpolation"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_copy_tex_imageTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_copy_tex_imageTestCase.cpp new file mode 100644 index 000000000..7b817b60c --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_copy_tex_imageTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001113, + "KHR-GLES32.core.internal", + "format.copy_tex_image.rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001114, + "KHR-GLES32.core.internalf", + "ormat.copy_tex_image.rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001115, + "KHR-GLES32.core.internalf", + "ormat.copy_tex_image.alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001116, + "KHR-GLES32.core.internalfor", + "mat.copy_tex_image.luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001117, + "KHR-GLES32.core.internalformat", + ".copy_tex_image.luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001118, + "KHR-GLES32.core.internalf", + "ormat.copy_tex_image.rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001119, + "KHR-GLES32.core.internalfo", + "rmat.copy_tex_image.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001120, + "KHR-GLES32.core.internalfo", + "rmat.copy_tex_image.rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001121, + "KHR-GLES32.core.internalf", + "ormat.copy_tex_image.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001122, + "KHR-GLES32.core.internalf", + "ormat.copy_tex_image.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001123, + "KHR-GLES32.core.internalforma", + "t.copy_tex_image.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001124, + "KHR-GLES32.core.internalf", + "ormat.copy_tex_image.srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001125, + "KHR-GLES32.core.internalformat", + ".copy_tex_image.r11f_g11f_b10f"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_renderbufferTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_renderbufferTestCase.cpp new file mode 100644 index 000000000..c88f5d8a2 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_renderbufferTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001126, + "KHR-GLES32.core.internal", + "format.renderbuffer.rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001127, + "KHR-GLES32.core.internal", + "format.renderbuffer.rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001128, + "KHR-GLES32.core.internalf", + "ormat.renderbuffer.rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001129, + "KHR-GLES32.core.internalform", + "at.renderbuffer.srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001130, + "KHR-GLES32.core.internalformat.", + "renderbuffer.depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001131, + "KHR-GLES32.core.internalformat", + ".renderbuffer.depth32f_stencil8"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp new file mode 100644 index 000000000..ed135a5c7 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32internalformat_texture2dTestCase.cpp @@ -0,0 +1,356 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320002TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001030, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001031, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_unsigned_byte_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001032, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgba_unsigned_short_4_4_4_4_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001033, + "KHR-GLES32.core.internalformat.texture2d.lu", + "minance_alpha_unsigned_byte_luminance_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001034, + "KHR-GLES32.core.internalformat.textur", + "e2d.luminance_unsigned_byte_luminance"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001035, + "KHR-GLES32.core.internalformat.te", + "xture2d.alpha_unsigned_byte_alpha"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001036, + "KHR-GLES32.core.internalformat.texture2", + "d.rgba_unsigned_int_2_10_10_10_rev_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001037, + "KHR-GLES32.core.internalformat.texture2d.", + "rgba_unsigned_int_2_10_10_10_rev_rgb10_a2"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001038, + "KHR-GLES32.core.internalformat.texture2d", + ".rgba_unsigned_int_2_10_10_10_rev_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001039, + "KHR-GLES32.core.internalformat.texture", + "2d.rgb_unsigned_int_2_10_10_10_rev_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001040, + "KHR-GLES32.core.internalformat.texture2d.de", + "pth_component_unsigned_short_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001041, + "KHR-GLES32.core.internalformat.texture2d.d", + "epth_component_unsigned_int_depth_component"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001042, + "KHR-GLES32.core.internalformat.texture2d.de", + "pth_stencil_unsigned_int_24_8_depth_stencil"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001043, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_half_float_oes_rgb"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001044, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_half_float_oes_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001045, + "KHR-GLES32.core.internalformat.text", + "ure2d.rgb_half_float_oes_rgb_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001046, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgba_half_float_oes_rgba_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001047, + "KHR-GLES32.core.internalform", + "at.texture2d.rgb_float_rgb32f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001048, + "KHR-GLES32.core.internalforma", + "t.texture2d.rgba_float_rgba32f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001049, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgb_float_rgb32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001050, + "KHR-GLES32.core.internalformat.te", + "xture2d.rgba_float_rgba32f_linear"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001051, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001052, + "KHR-GLES32.core.internalformat.te", + "xture2d.rgba_unsigned_byte_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001053, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_unsigned_byte_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001054, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgba_unsigned_byte_srgb8_alpha8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001055, + "KHR-GLES32.core.internalformat.", + "texture2d.rgba_byte_rgba8_snorm"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001056, + "KHR-GLES32.core.internalformat.textur", + "e2d.rgba_unsigned_short_4_4_4_4_rgba4"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001057, + "KHR-GLES32.core.internalformat.texture", + "2d.rgba_unsigned_short_5_5_5_1_rgb5_a1"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001058, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_half_float_rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001059, + "KHR-GLES32.core.internalforma", + "t.texture2d.rgba_float_rgba16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001060, + "KHR-GLES32.core.internalformat.textur", + "e2d.rgba_integer_unsigned_byte_rgba8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001061, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_integer_byte_rgba8i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001062, + "KHR-GLES32.core.internalformat.texture", + "2d.rgba_integer_unsigned_short_rgba16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001063, + "KHR-GLES32.core.internalformat.te", + "xture2d.rgba_integer_short_rgba16i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001064, + "KHR-GLES32.core.internalformat.textur", + "e2d.rgba_integer_unsigned_int_rgba32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001065, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgba_integer_int_rgba32i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001066, + "KHR-GLES32.core.internalformat.texture2d.rgba_", + "integer_unsigned_int_2_10_10_10_rev_rgb10_a2ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001067, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_unsigned_byte_rgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001068, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgb_unsigned_byte_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001069, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgb_unsigned_byte_srgb8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001070, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgb_unsigned_short_5_6_5_rgb565"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001071, + "KHR-GLES32.core.internalformat.texture2d.rgb", + "_unsigned_int_10f_11f_11f_rev_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001072, + "KHR-GLES32.core.internalformat.texture", + "2d.rgb_unsigned_int_5_9_9_9_rev_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001073, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_half_float_rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001074, + "KHR-GLES32.core.internalformat.text", + "ure2d.rgb_half_float_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001075, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_half_float_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001076, + "KHR-GLES32.core.internalform", + "at.texture2d.rgb_float_rgb16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001077, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgb_float_r11f_g11f_b10f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001078, + "KHR-GLES32.core.internalforma", + "t.texture2d.rgb_float_rgb9_e5"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001079, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgb_integer_unsigned_byte_rgb8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001080, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_integer_byte_rgb8i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001081, + "KHR-GLES32.core.internalformat.textur", + "e2d.rgb_integer_unsigned_short_rgb16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001082, + "KHR-GLES32.core.internalformat.t", + "exture2d.rgb_integer_short_rgb16i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001083, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgb_integer_unsigned_int_rgb32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001084, + "KHR-GLES32.core.internalformat.", + "texture2d.rgb_integer_int_rgb32i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001085, + "KHR-GLES32.core.internalformat", + ".texture2d.rg_unsigned_byte_rg8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001086, + "KHR-GLES32.core.internalformat", + ".texture2d.rg_half_float_rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001087, + "KHR-GLES32.core.internalfor", + "mat.texture2d.rg_float_rg32f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001088, + "KHR-GLES32.core.internalfor", + "mat.texture2d.rg_float_rg16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001089, + "KHR-GLES32.core.internalformat.text", + "ure2d.rg_integer_unsigned_byte_rg8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001090, + "KHR-GLES32.core.internalformat", + ".texture2d.rg_integer_byte_rg8i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001091, + "KHR-GLES32.core.internalformat.textu", + "re2d.rg_integer_unsigned_short_rg16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001092, + "KHR-GLES32.core.internalformat.", + "texture2d.rg_integer_short_rg16i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001093, + "KHR-GLES32.core.internalformat.text", + "ure2d.rg_integer_unsigned_int_rg32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001094, + "KHR-GLES32.core.internalformat", + ".texture2d.rg_integer_int_rg32i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001095, + "KHR-GLES32.core.internalformat", + ".texture2d.red_unsigned_byte_r8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001096, + "KHR-GLES32.core.internalformat", + ".texture2d.red_half_float_r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001097, + "KHR-GLES32.core.internalfor", + "mat.texture2d.red_float_r32f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001098, + "KHR-GLES32.core.internalfor", + "mat.texture2d.red_float_r16f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001099, + "KHR-GLES32.core.internalformat.text", + "ure2d.red_integer_unsigned_byte_r8ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001100, + "KHR-GLES32.core.internalformat", + ".texture2d.red_integer_byte_r8i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001101, + "KHR-GLES32.core.internalformat.textu", + "re2d.red_integer_unsigned_short_r16ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001102, + "KHR-GLES32.core.internalformat.", + "texture2d.red_integer_short_r16i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001103, + "KHR-GLES32.core.internalformat.text", + "ure2d.red_integer_unsigned_int_r32ui"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001104, + "KHR-GLES32.core.internalformat", + ".texture2d.red_integer_int_r32i"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001105, + "KHR-GLES32.core.internalformat.texture2d.dep", + "th_component_unsigned_short_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001106, + "KHR-GLES32.core.internalformat.texture2d.de", + "pth_component_unsigned_int_depth_component24"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001107, + "KHR-GLES32.core.internalformat.texture2d.de", + "pth_component_unsigned_int_depth_component16"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001108, + "KHR-GLES32.core.internalformat.texture2d", + ".depth_component_float_depth_component32f"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001109, + "KHR-GLES32.core.internalformat.texture2d.dep", + "th_stencil_unsigned_int_24_8_depth24_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001110, + "KHR-GLES32.core.internalformat.texture2d.depth_sten", + "cil_float_32_unsigned_int_24_8_rev_depth32f_stencil8"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001111, + "KHR-GLES32.core.internalformat.textu", + "re2d.rgba_unsigned_short_5_5_5_1_rgba"); + +static SHRINK_HWTEST_F(ActsKhrgles320002TestSuite, TestCase_001112, + "KHR-GLES32.core.internalformat.tex", + "ture2d.rgb_unsigned_short_5_6_5_rgb"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32rendering_renderingTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32rendering_renderingTestCase.cpp new file mode 100644 index 000000000..1720b0a71 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32rendering_renderingTestCase.cpp @@ -0,0 +1,156 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000037, + "KHR-GLES32.core.geometry_shader.renderi", + "ng.rendering.points_input_points_output"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000038, + "KHR-GLES32.core.geometry_shader.rendering", + ".rendering.points_input_line_strip_output"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000039, + "KHR-GLES32.core.geometry_shader.renderin", + "g.rendering.points_input_triangles_output"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000040, + "KHR-GLES32.core.geometry_shader.rendering.rend", + "ering.lines_input_points_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000041, + "KHR-GLES32.core.geometry_shader.rendering.render", + "ing.lines_input_line_strip_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000042, + "KHR-GLES32.core.geometry_shader.rendering.renderin", + "g.lines_input_triangle_strip_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000043, + "KHR-GLES32.core.geometry_shader.rendering.render", + "ing.lines_input_points_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000044, + "KHR-GLES32.core.geometry_shader.rendering.renderin", + "g.lines_input_line_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000045, + "KHR-GLES32.core.geometry_shader.rendering.rendering.", + "lines_input_triangle_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000046, + "KHR-GLES32.core.geometry_shader.rendering.render", + "ing.lines_input_points_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000047, + "KHR-GLES32.core.geometry_shader.rendering.renderin", + "g.lines_input_line_strip_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000048, + "KHR-GLES32.core.geometry_shader.rendering.rendering.", + "lines_input_triangle_strip_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000049, + "KHR-GLES32.core.geometry_shader.rendering.rendering.lines_", + "with_adjacency_input_points_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000050, + "KHR-GLES32.core.geometry_shader.rendering.rendering.lines_wi", + "th_adjacency_input_line_strip_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000051, + "KHR-GLES32.core.geometry_shader.rendering.rendering.lines_with", + "_adjacency_input_triangle_strip_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000052, + "KHR-GLES32.core.geometry_shader.rendering.rendering.line", + "s_with_adjacency_input_points_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000053, + "KHR-GLES32.core.geometry_shader.rendering.rendering.lines_", + "with_adjacency_input_line_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000054, + "KHR-GLES32.core.geometry_shader.rendering.rendering.lines_wi", + "th_adjacency_input_triangle_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000055, + "KHR-GLES32.core.geometry_shader.rendering.renderin", + "g.triangles_input_points_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000056, + "KHR-GLES32.core.geometry_shader.rendering.rendering.", + "triangles_input_line_strip_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000057, + "KHR-GLES32.core.geometry_shader.rendering.rendering.tr", + "iangles_input_triangle_strip_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000058, + "KHR-GLES32.core.geometry_shader.rendering.rendering", + ".triangles_input_points_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000059, + "KHR-GLES32.core.geometry_shader.rendering.rendering.t", + "riangles_input_line_strip_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000060, + "KHR-GLES32.core.geometry_shader.rendering.rendering.tri", + "angles_input_triangle_strip_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000061, + "KHR-GLES32.core.geometry_shader.rendering.rendering.", + "triangles_input_points_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000062, + "KHR-GLES32.core.geometry_shader.rendering.rendering.tr", + "iangles_input_line_strip_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000063, + "KHR-GLES32.core.geometry_shader.rendering.rendering.tria", + "ngles_input_triangle_strip_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000064, + "KHR-GLES32.core.geometry_shader.rendering.rendering.triangles_", + "with_adjacency_input_points_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000065, + "KHR-GLES32.core.geometry_shader.rendering.rendering.triangles_wi", + "th_adjacency_input_line_strip_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000066, + "KHR-GLES32.core.geometry_shader.rendering.rendering.triangles_with", + "_adjacency_input_triangle_strip_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000067, + "KHR-GLES32.core.geometry_shader.rendering.rendering.triangles_wit", + "h_adjacency_input_points_output_triangle_strip_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000068, + "KHR-GLES32.core.geometry_shader.rendering.rendering.triangles_with_", + "adjacency_input_line_strip_output_triangle_strip_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000069, + "KHR-GLES32.core.geometry_shader.rendering.rendering.triangles_with_ad", + "jacency_input_triangle_strip_output_triangle_strip_adjacency_drawcall"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_compilation_and_linking_errorsTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_compilation_and_linking_errorsTestCase.cpp new file mode 100644 index 000000000..e9cc40e68 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_compilation_and_linking_errorsTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000215, + "KHR-GLES32.core.tessellation_shader.compilation_and_", + "linking_errors.tc_non_arrayed_per_vertex_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000216, + "KHR-GLES32.core.tessellation_shader.compilation_and_li", + "nking_errors.tc_non_arrayed_per_vertex_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000217, + "KHR-GLES32.core.tessellation_shader.compilation_and_l", + "inking_errors.tc_non_arrayed_per_vertex_output_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000218, + "KHR-GLES32.core.tessellation_shader.compilation_and_lin", + "king_errors.tc_non_arrayed_per_vertex_output_variabless"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000219, + "KHR-GLES32.core.tessellation_shader.compilation_and_", + "linking_errors.te_non_arrayed_per_vertex_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000220, + "KHR-GLES32.core.tessellation_shader.compilation_and_li", + "nking_errors.te_non_arrayed_per_vertex_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000221, + "KHR-GLES32.core.tessellation_shader.compilation_and_lin", + "king_errors.tc_invalid_array_size_used_for_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000222, + "KHR-GLES32.core.tessellation_shader.compilation_and_link", + "ing_errors.tc_invalid_array_size_used_for_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000223, + "KHR-GLES32.core.tessellation_shader.compilation_and_lin", + "king_errors.te_invalid_array_size_used_for_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000224, + "KHR-GLES32.core.tessellation_shader.compilation_and_link", + "ing_errors.te_invalid_array_size_used_for_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000225, + "KHR-GLES32.core.tessellation_shader.compilation_and", + "_linking_errors.tc_invalid_output_patch_vertex_count"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000226, + "KHR-GLES32.core.tessellation_shader.compilation_and_linking_e", + "rrors.tc_invalid_write_operation_at_non_gl_invocation_id_index"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000227, + "KHR-GLES32.core.tessellation_shader.compilation_and_linki", + "ng_errors.tc_invalid_input_per_patch_attribute_definition"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000228, + "KHR-GLES32.core.tessellation_shader.compilation_and_linki", + "ng_errors.te_invalid_output_per_patch_attribute_definition"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000229, + "KHR-GLES32.core.tessellation_shader.compilation_and_", + "linking_errors.tc_non_matching_variable_declarations"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000230, + "KHR-GLES32.core.tessellation_shader.compilation_and_", + "linking_errors.te_lacking_primitive_mode_declaration"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000231, + "KHR-GLES32.core.tessellation_shader.compilation_an", + "d_linking_errors.te_accessing_glTessCoord_as_array"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000232, + "KHR-GLES32.core.tessellation_shader.compilation_and_l", + "inking_errors.te_accessing_glTessCoord_as_gl_in_member"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_singleTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_singleTestCase.cpp new file mode 100644 index 000000000..2c0f62ab2 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_singleTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000188, + "KHR-GLES32.core.tessellation_shader.single", + ".default_values_of_context_wide_properties"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000189, + "KHR-GLES32.core.tessellation_sha", + "der.single.isolines_tessellation"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000190, + "KHR-GLES32.core.tessellation_shader.sing", + "le.ext_program_interface_query_dependency"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000191, + "KHR-GLES32.core.tessellation_shade", + "r.single.program_object_properties"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000192, + "KHR-GLES32.core.tessellation_shader.sin", + "gle.xfb_captures_data_from_correct_stage"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000193, + "KHR-GLES32.core.tessellation_s", + "hader.single.max_patch_vertices"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000194, + "KHR-GLES32.core.tessellation_s", + "hader.single.primitive_coverage"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp new file mode 100644 index 000000000..ee0486bfa --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000197, + "KHR-GLES32.core.tessellation_shader.tessellation_c", + "ontrol_to_tessellation_evaluation.data_pass_through"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000198, + "KHR-GLES32.core.tessellation_shader.tessella", + "tion_control_to_tessellation_evaluation.gl_in"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000199, + "KHR-GLES32.core.tessellation_shader.tessellation_control_to_t", + "essellation_evaluation.gl_MaxPatchVertices_Position_PointSize"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000200, + "KHR-GLES32.core.tessellation_shader.tessellation_co", + "ntrol_to_tessellation_evaluation.gl_PatchVerticesIn"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000201, + "KHR-GLES32.core.tessellation_shader.tessellation", + "_control_to_tessellation_evaluation.gl_tessLevel"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_invarianceTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_invarianceTestCase.cpp new file mode 100644 index 000000000..0095483d1 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_invarianceTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000233, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule1"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000234, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule2"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000235, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule3"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000236, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule4"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000237, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule5"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000238, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule6"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000239, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_invariance.invariance_rule7"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp new file mode 100644 index 000000000..244474b82 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_point_modeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000210, + "KHR-GLES32.core.tessellation_shader.tesse", + "llation_shader_point_mode.point_rendering"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000211, + "KHR-GLES32.core.tessellation_shader.tessell", + "ation_shader_point_mode.points_verification"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp new file mode 100644 index 000000000..e663b25cb --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000195, + "KHR-GLES32.core.tessellation_shader.tessellat", + "ion_shader_quads_tessellation.degenerate_case"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000196, + "KHR-GLES32.core.tessellation_shader.tessellation_shade", + "r_quads_tessellation.inner_tessellation_level_rounding"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp new file mode 100644 index 000000000..2a62297d6 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000212, + "KHR-GLES32.core.tessellation_shader.tessellatio", + "n_shader_tc_barriers.barrier_guarded_read_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000213, + "KHR-GLES32.core.tessellation_shader.tessellatio", + "n_shader_tc_barriers.barrier_guarded_write_calls"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000214, + "KHR-GLES32.core.tessellation_shader.tessellation_s", + "hader_tc_barriers.barrier_guarded_read_write_calls"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tessellationTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tessellationTestCase.cpp new file mode 100644 index 000000000..e555ea144 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_tessellationTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000202, + "KHR-GLES32.core.tessellation_shader.tessellation_shader_", + "tessellation.gl_InvocationID_PatchVerticesIn_PrimitiveID"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000203, + "KHR-GLES32.core.tessellation_shader.te", + "ssellation_shader_tessellation.TCS_TES"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000204, + "KHR-GLES32.core.tessellation_shader.", + "tessellation_shader_tessellation.TES"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000205, + "KHR-GLES32.core.tessellation_shader.tessella", + "tion_shader_tessellation.input_patch_discard"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000206, + "KHR-GLES32.core.tessellation_shader.tessellat", + "ion_shader_tessellation.max_in_out_attributes"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp new file mode 100644 index 000000000..5da3dc14a --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000207, + "KHR-GLES32.core.tessellation_shader.tessellation_", + "shader_triangles_tessellation.degenerate_triangle"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000208, + "KHR-GLES32.core.tessellation_shader.tessellation_", + "shader_triangles_tessellation.identical_triangles"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000209, + "KHR-GLES32.core.tessellation_shader.tessellation_shader_", + "triangles_tessellation.inner_tessellation_level_rounding"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_vertexTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_vertexTestCase.cpp new file mode 100644 index 000000000..1a1031eb8 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_vertexTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000186, + "KHR-GLES32.core.tessellation_", + "shader.vertex.vertex_ordering"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000187, + "KHR-GLES32.core.tessellation", + "_shader.vertex.vertex_spacing"); diff --git a/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_windingTestCase.cpp b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_windingTestCase.cpp new file mode 100644 index 000000000..a61241cf3 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/core/Khrgles32tessellation_shader_windingTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000240, + "KHR-GLES32.core.tessellation", + "_shader.winding.triangles_ccw"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000241, + "KHR-GLES32.core.tessellation", + "_shader.winding.triangles_cw"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000242, + "KHR-GLES32.core.tessellati", + "on_shader.winding.quads_ccw"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000243, + "KHR-GLES32.core.tessellati", + "on_shader.winding.quads_cw"); diff --git a/graphic/vkgl/src/khrgles32/info/Khrgles32KHR-GLES32_infoTestCase.cpp b/graphic/vkgl/src/khrgles32/info/Khrgles32KHR-GLES32_infoTestCase.cpp new file mode 100644 index 000000000..61e6818f4 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/info/Khrgles32KHR-GLES32_infoTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000001, + "KHR-GLES32.", + "info.vendor"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000002, + "KHR-GLES32.i", + "nfo.renderer"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000003, + "KHR-GLES32.", + "info.version"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000004, + "KHR-GLES32.info.shad", + "ing_language_version"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000005, + "KHR-GLES32.in", + "fo.extensions"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000006, + "KHR-GLES32.inf", + "o.render_target"); diff --git a/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_aggressive_optimizationsTestCase.cpp b/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_aggressive_optimizationsTestCase.cpp new file mode 100644 index 000000000..a0d814b90 --- /dev/null +++ b/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_aggressive_optimizationsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000017, + "KHR-GLES32.shaders.aggressive", + "_optimizations.sin_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000018, + "KHR-GLES32.shaders.aggressive", + "_optimizations.sin_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000019, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.sin_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000020, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.sin_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000021, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.sin_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000022, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.sin_vec3_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000023, + "KHR-GLES32.shaders.aggressive", + "_optimizations.cos_float_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000024, + "KHR-GLES32.shaders.aggressive", + "_optimizations.cos_float_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000025, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.cos_vec2_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000026, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.cos_vec2_frag"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000027, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.cos_vec3_vert"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000028, + "KHR-GLES32.shaders.aggressiv", + "e_optimizations.cos_vec3_frag"); diff --git a/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_negativeTestCase.cpp b/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_negativeTestCase.cpp new file mode 100644 index 000000000..c0cf6d9bd --- /dev/null +++ b/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_negativeTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000014, + "KHR-GLES32.shaders.", + "negative.initialize"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000015, + "KHR-GLES32.shaders.neg", + "ative.constant_sequence"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000016, + "KHR-GLES32.shaders.negative.u", + "sed_uniform_precision_matching"); diff --git a/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_shader_integer_mixTestCase.cpp b/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_shader_integer_mixTestCase.cpp new file mode 100644 index 000000000..cb189aa4b --- /dev/null +++ b/graphic/vkgl/src/khrgles32/shaders/Khrgles32shaders_shader_integer_mixTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../Khrgles32BaseFunc.h" +#include "../ActsKhrgles320001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000007, + "KHR-GLES32.shaders.sha", + "der_integer_mix.define"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000008, + "KHR-GLES32.shaders.shader_int", + "eger_mix.prototypes-extension"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000009, + "KHR-GLES32.shaders.shade", + "r_integer_mix.prototypes"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000010, + "KHR-GLES32.shaders.shader_in", + "teger_mix.prototypes-negative"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000011, + "KHR-GLES32.shaders.shad", + "er_integer_mix.mix-ivec4"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000012, + "KHR-GLES32.shaders.shad", + "er_integer_mix.mix-uvec4"); + +static SHRINK_HWTEST_F(ActsKhrgles320001TestSuite, TestCase_000013, + "KHR-GLES32.shaders.shad", + "er_integer_mix.mix-bvec4"); -- GitLab From b083cedb17658f210144d6e4b3fcfd222ce4d76b Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:45:46 +0800 Subject: [PATCH 6/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=9A=84khrglesext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- .../ActsKhrglesext0001TestSuite.cpp | 60 +++++++ .../khrglesext/ActsKhrglesext0001TestSuite.h | 40 +++++ .../khrglesext/ActsKhrglesextTestSuite.cpp | 60 +++++++ .../src/khrglesext/ActsKhrglesextTestSuite.h | 40 +++++ .../src/khrglesext/KhrglesextBaseFunc.cpp | 81 +++++++++ .../vkgl/src/khrglesext/KhrglesextBaseFunc.h | 32 ++++ .../vkgl/src/khrglesext/build0001/BUILD.gn | 100 +++++++++++ .../vkgl/src/khrglesext/build0001/Test.json | 38 +++++ .../src/khrglesext/build0001/logdefine.cpp | 20 +++ ...R-GLESEXT_disjoint_timer_queryTestCase.cpp | 28 ++++ ...raw_elements_base_vertex_testsTestCase.cpp | 72 ++++++++ ...ext_texture_shadow_lod_textureTestCase.cpp | 48 ++++++ ..._texture_shadow_lod_texturelodTestCase.cpp | 44 +++++ ...re_shadow_lod_texturelodoffsetTestCase.cpp | 32 ++++ ...xture_shadow_lod_textureoffsetTestCase.cpp | 36 ++++ ...esextgeometry_shader_adjacencyTestCase.cpp | 56 +++++++ .../Khrglesextgeometry_shader_apiTestCase.cpp | 88 ++++++++++ ...lesextgeometry_shader_blittingTestCase.cpp | 36 ++++ ...lesextgeometry_shader_clippingTestCase.cpp | 28 ++++ ...etry_shader_constant_variablesTestCase.cpp | 28 ++++ ...hrglesextgeometry_shader_inputTestCase.cpp | 40 +++++ ...extgeometry_shader_layered_fboTestCase.cpp | 56 +++++++ ...try_shader_layered_framebufferTestCase.cpp | 40 +++++ ...metry_shader_layered_renderingTestCase.cpp | 28 ++++ ...d_rendering_boundary_conditionTestCase.cpp | 40 +++++ ...ed_rendering_fbo_no_attachmentTestCase.cpp | 28 ++++ ...rglesextgeometry_shader_limitsTestCase.cpp | 60 +++++++ ...glesextgeometry_shader_linkingTestCase.cpp | 76 +++++++++ ...geometry_shader_nonarray_inputTestCase.cpp | 28 ++++ ...rglesextgeometry_shader_outputTestCase.cpp | 44 +++++ ...metry_shader_primitive_counterTestCase.cpp | 100 +++++++++++ ...metry_shader_primitive_queriesTestCase.cpp | 36 ++++ ...ometry_shader_program_resourceTestCase.cpp | 28 ++++ ...sextgeometry_shader_qualifiersTestCase.cpp | 28 ++++ .../Khrglesextrendering_renderingTestCase.cpp | 156 ++++++++++++++++++ ...glesextKHR-GLESEXT_gpu_shader5TestCase.cpp | 108 ++++++++++++ ...compilation_and_linking_errorsTestCase.cpp | 96 +++++++++++ ...sexttessellation_shader_singleTestCase.cpp | 52 ++++++ ...rol_to_tessellation_evaluationTestCase.cpp | 44 +++++ ...shader_tessellation_invarianceTestCase.cpp | 52 ++++++ ...tessellation_shader_point_modeTestCase.cpp | 32 ++++ ...tion_shader_quads_tessellationTestCase.cpp | 32 ++++ ...essellation_shader_tc_barriersTestCase.cpp | 36 ++++ ...ssellation_shader_tessellationTestCase.cpp | 44 +++++ ..._shader_triangles_tessellationTestCase.cpp | 36 ++++ ...sexttessellation_shader_vertexTestCase.cpp | 32 ++++ ...exttessellation_shader_windingTestCase.cpp | 40 +++++ ...R-GLESEXT_texture_border_clampTestCase.cpp | 152 +++++++++++++++++ ...sextKHR-GLESEXT_texture_bufferTestCase.cpp | 88 ++++++++++ ...GLESEXT_texture_cube_map_arrayTestCase.cpp | 128 ++++++++++++++ ...sextKHR-GLESEXT_viewport_arrayTestCase.cpp | 92 +++++++++++ 51 files changed, 2819 insertions(+) create mode 100644 graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.cpp create mode 100644 graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.h create mode 100644 graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.cpp create mode 100644 graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.h create mode 100644 graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.cpp create mode 100644 graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.h create mode 100644 graphic/vkgl/src/khrglesext/build0001/BUILD.gn create mode 100644 graphic/vkgl/src/khrglesext/build0001/Test.json create mode 100644 graphic/vkgl/src/khrglesext/build0001/logdefine.cpp create mode 100644 graphic/vkgl/src/khrglesext/disjoint_timer_query/KhrglesextKHR-GLESEXT_disjoint_timer_queryTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/draw_elements_base_vertex_tests/KhrglesextKHR-GLESEXT_draw_elements_base_vertex_testsTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodoffsetTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureoffsetTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_linkingTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_nonarray_inputTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_outputTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_counterTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_queriesTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_program_resourceTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_qualifiersTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextrendering_renderingTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/gpu_shader5/KhrglesextKHR-GLESEXT_gpu_shader5TestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_compilation_and_linking_errorsTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_singleTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_invarianceTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_point_modeTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tc_barriersTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_vertexTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_windingTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/texture_border_clamp/KhrglesextKHR-GLESEXT_texture_border_clampTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/texture_buffer/KhrglesextKHR-GLESEXT_texture_bufferTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/texture_cube_map_array/KhrglesextKHR-GLESEXT_texture_cube_map_arrayTestCase.cpp create mode 100644 graphic/vkgl/src/khrglesext/viewport_array/KhrglesextKHR-GLESEXT_viewport_arrayTestCase.cpp diff --git a/graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.cpp b/graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.cpp new file mode 100644 index 000000000..859b311a8 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "KhrglesextBaseFunc.h" +#include "ActsKhrglesext0001TestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrglesext0001TestSuite::startTime; + time_t ActsKhrglesext0001TestSuite::endTime; + FuncRunResult ActsKhrglesext0001TestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrglesext0001TestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrglesext0001TestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrglesext0001TestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrglesext0001TestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.h b/graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.h new file mode 100644 index 000000000..7e89f81b3 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ActsKhrglesext0001TestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLESEXT_TESTCASE_H +#define KHRGLESEXT_TESTCASE_H + +#include +#include "KhrglesextBaseFunc.h" + +namespace OHOS { + class ActsKhrglesext0001TestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLESEXT_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.cpp b/graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.cpp new file mode 100644 index 000000000..6c785adc3 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include +#include "KhrglesextBaseFunc.h" +#include "ActsKhrglesextTestSuite.h" + +namespace OHOS { + using namespace std; + using namespace testing::ext; + + time_t ActsKhrglesextTestSuite::startTime; + time_t ActsKhrglesextTestSuite::endTime; + FuncRunResult ActsKhrglesextTestSuite::runResult; + + // Preset action of the test suite, which is executed before the first test case + void ActsKhrglesextTestSuite::SetUpTestCase(void) + { + time(&startTime); + RegistPackage(); + runResult.numPassed = 0; + runResult.numFailed = 0; + runResult.numNotSupported = 0; + runResult.numWarnings = 0; + runResult.numWaived = 0; + } + // Test suite cleanup action, which is executed after the last test case + void ActsKhrglesextTestSuite::TearDownTestCase(void) + { + time(&endTime); + printf("Test run totals --- Passed[%d]\n", runResult.numPassed); + printf("Test run totals --- Failed[%d]\n", runResult.numFailed); + printf("Test run totals --- Notsupport[%d]\n", runResult.numNotSupported); + printf("Test run totals --- Warnings[%d]\n", runResult.numWarnings); + printf("Test run totals --- Waved[%d]\n", runResult.numWaived); + printf("testmain end --- COST TIME[%lld]\n", (endTime-startTime)); + } + // Preset action of the test case + void ActsKhrglesextTestSuite::SetUp(void) + { + } + // Cleanup action of the test case + void ActsKhrglesextTestSuite::TearDown(void) + { + } +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.h b/graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.h new file mode 100644 index 000000000..71a100311 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ActsKhrglesextTestSuite.h @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#ifndef KHRGLESEXT_TESTCASE_H +#define KHRGLESEXT_TESTCASE_H + +#include +#include "KhrglesextBaseFunc.h" + +namespace OHOS { + class ActsKhrglesextTestSuite : public testing::Test { + public: + static time_t startTime; + static time_t endTime; + static FuncRunResult runResult; + protected: + // Preset action of the test suite, which is executed before the first test case + static void SetUpTestCase(void); + // Test suite cleanup action, which is executed after the last test case + static void TearDownTestCase(void); + // Preset action of the test case + virtual void SetUp(void); + // Cleanup action of the test case + virtual void TearDown(void); + }; +} // namespace OHOS + +#endif // KHRGLESEXT_TESTCASE_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.cpp b/graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.cpp new file mode 100644 index 000000000..c9a4ef725 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.cpp @@ -0,0 +1,81 @@ +/* + * 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. + */ + +#include + +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" +#include "tcuOhosPlatform.hpp" + +#include "external/openglcts/modules/common/glcConfigPackage.hpp" +#include "external/openglcts/modules/common/glcTestPackage.hpp" +#include "external/openglcts/modules/gles2/es2cTestPackage.hpp" +#include "external/openglcts/modules/gles32/es32cTestPackage.hpp" +#include "external/openglcts/modules/gles31/es31cTestPackage.hpp" +#include "external/openglcts/modules/gles3/es3cTestPackage.hpp" +#include "external/openglcts/modules/glesext/esextcTestPackage.hpp" +#include "external/openglcts/modules/common/glcSingleConfigTestPackage.hpp" + +#include "modules/gles2/tes2TestPackage.hpp" +#include "modules/gles3/tes3TestPackage.hpp" +#include "modules/gles31/tes31TestPackage.hpp" + +#include "ohos_context_i.h" +#include "logdefine.h" +#include "KhrglesextBaseFunc.h" + +static tcu::TestPackage* createKhrglesextPackage(tcu::TestContext& testCtx) +{ + return new esextcts::ESEXTTestPackage(testCtx, "KHR-GLESEXT"); +} +void RegistPackage(void) +{ + tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); + registry->registerPackage("KHR-GLESEXT", createKhrglesextPackage); +} + +// extern tcu::TestLog tcutestlog; +FuncRunResult RunTestKHRGLES(int argc, const char** argv) +{ + FuncRunResult runResult; + try { + tcu::CommandLine cmdLine(argc, argv); + tcu::DirArchive archive(cmdLine.getArchiveDir()); + + de::UniquePtr platform(createOhosPlatform()); + de::UniquePtr app(new tcu::ActsApp(*platform, archive, OHOS::Logdefine::tcutestlog, cmdLine)); + for (;;) { + if (!app->iterate()) { + break; + }; + }; + runResult.isComplete = app->getResult().isComplete; + runResult.numPassed = app->getResult().numPassed; + runResult.numExecuted = app->getResult().numExecuted; + runResult.numFailed = app->getResult().numFailed; + runResult.numNotSupported = app->getResult().numNotSupported; + runResult.numWarnings = app->getResult().numWarnings; + runResult.numWaived = app->getResult().numWaived; + } catch (const std::exception &e) { + tcu::die("%s", e.what()); + }; + return runResult; +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.h b/graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.h new file mode 100644 index 000000000..af094755d --- /dev/null +++ b/graphic/vkgl/src/khrglesext/KhrglesextBaseFunc.h @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#ifndef KHRGLESEXT_FUNC_H +#define KHRGLESEXT_FUNC_H + +struct FuncRunResult { + int numExecuted; // !< Total number of cases executed. + int numPassed; // !< Number of cases passed. + int numFailed; // !< Number of cases failed. + int numNotSupported; // !< Number of cases not supported. + int numWarnings; // !< Number of QualityWarning / CompatibilityWarning results. + int numWaived; // !< Number of waived tests. + bool isComplete; // !< Is run complete. +}; + +void RegistPackage(void); +FuncRunResult RunTestKHRGLES(int argc, const char** argv); + +#endif // KHRGLESEXT_FUNC_H \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/build0001/BUILD.gn b/graphic/vkgl/src/khrglesext/build0001/BUILD.gn new file mode 100644 index 000000000..a582caca8 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/build0001/BUILD.gn @@ -0,0 +1,100 @@ +# 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("libkhrglesextfunc0001") { + sources = common_src + sources += [ "../KhrglesextBaseFunc.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("ActsKhrglesextTestSuite0001") { + sources = [ + "../ActsKhrglesext0001TestSuite.cpp", + "../disjoint_timer_query/KhrglesextKHR-GLESEXT_disjoint_timer_queryTestCase.cpp", + "../draw_elements_base_vertex_tests/KhrglesextKHR-GLESEXT_draw_elements_base_vertex_testsTestCase.cpp", + "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureTestCase.cpp", + "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodTestCase.cpp", + "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodoffsetTestCase.cpp", + "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureoffsetTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_linkingTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_nonarray_inputTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_outputTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_primitive_counterTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_primitive_queriesTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_program_resourceTestCase.cpp", + "../geometry_shader/Khrglesextgeometry_shader_qualifiersTestCase.cpp", + "../geometry_shader/Khrglesextrendering_renderingTestCase.cpp", + "../gpu_shader5/KhrglesextKHR-GLESEXT_gpu_shader5TestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_compilation_and_linking_errorsTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_singleTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_invarianceTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_point_modeTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tc_barriersTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tessellationTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_vertexTestCase.cpp", + "../tessellation_shader/Khrglesexttessellation_shader_windingTestCase.cpp", + "../texture_border_clamp/KhrglesextKHR-GLESEXT_texture_border_clampTestCase.cpp", + "../texture_buffer/KhrglesextKHR-GLESEXT_texture_bufferTestCase.cpp", + "../texture_cube_map_array/KhrglesextKHR-GLESEXT_texture_cube_map_arrayTestCase.cpp", + "../viewport_array/KhrglesextKHR-GLESEXT_viewport_arrayTestCase.cpp", + ] + + include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] + + deps = [ ":libkhrglesextfunc0001" ] + + cflags = [ "-Wno-error" ] +} diff --git a/graphic/vkgl/src/khrglesext/build0001/Test.json b/graphic/vkgl/src/khrglesext/build0001/Test.json new file mode 100644 index 000000000..06e5171a3 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/build0001/Test.json @@ -0,0 +1,38 @@ +{ + "description": "Config for ActsKhrglesextTestSuite0001 test cases", + "driver": { + "module-name": "ActsKhrglesextTestSuite0001", + "native-test-timeout": "120000", + "native-test-device-path": "/data/local/tmp", + "runtime-hint": "100s", + "type": "CppTest" + }, + "kits": [ + { + "pre-push" : [ + ], + "post-push" : [ + "chmod -R 777 /data/local/tmp/*", + "mkdir /data/local/tmp/gl_cts", + "tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts", + "cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp", + "cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp" + ], + "push": [ + "ActsKhrglesextTestSuite0001->/data/local/tmp/ActsKhrglesextTestSuite0001", + "../../../common/common/librosen_context.z.so->/system/lib", + "../../../../../test/xts/acts/graphic/vkgl/data/gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz" + ], + "type": "PushKit" + }, + { + "type": "ShellKit", + "run-command": [ + "remount", + "mkdir /data/test", + "cd /data/local/tmp" + ] + } + ] +} \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/build0001/logdefine.cpp b/graphic/vkgl/src/khrglesext/build0001/logdefine.cpp new file mode 100644 index 000000000..93e8b8e98 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/build0001/logdefine.cpp @@ -0,0 +1,20 @@ +/* + * 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. + */ + +#include "logdefine.h" + +namespace OHOS { + tcu::TestLog Logdefine::tcutestlog("/data/local/tmp/ActsKhrglesextTestSuite0001.qpa", 0); +} // OHOS \ No newline at end of file diff --git a/graphic/vkgl/src/khrglesext/disjoint_timer_query/KhrglesextKHR-GLESEXT_disjoint_timer_queryTestCase.cpp b/graphic/vkgl/src/khrglesext/disjoint_timer_query/KhrglesextKHR-GLESEXT_disjoint_timer_queryTestCase.cpp new file mode 100644 index 000000000..91a7c76b7 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/disjoint_timer_query/KhrglesextKHR-GLESEXT_disjoint_timer_queryTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000335, + "KHR-GLESEXT.disjoint_t", + "imer_query.handle_reuse"); diff --git a/graphic/vkgl/src/khrglesext/draw_elements_base_vertex_tests/KhrglesextKHR-GLESEXT_draw_elements_base_vertex_testsTestCase.cpp b/graphic/vkgl/src/khrglesext/draw_elements_base_vertex_tests/KhrglesextKHR-GLESEXT_draw_elements_base_vertex_testsTestCase.cpp new file mode 100644 index 000000000..3f75ed4f8 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/draw_elements_base_vertex_tests/KhrglesextKHR-GLESEXT_draw_elements_base_vertex_testsTestCase.cpp @@ -0,0 +1,72 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000290, + "KHR-GLESEXT.draw_elements_base_v", + "ertex_tests.basevertex_behavior1"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000291, + "KHR-GLESEXT.draw_elements_base_v", + "ertex_tests.basevertex_behavior2"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000292, + "KHR-GLESEXT.draw_elements_base", + "_vertex_tests.AEP_shader_stages"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000293, + "KHR-GLESEXT.draw_elements_", + "base_vertex_tests.underflow"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000294, + "KHR-GLESEXT.draw_elements_", + "base_vertex_tests.overflow"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000295, + "KHR-GLESEXT.draw_elements_bas", + "e_vertex_tests.valid_active_tf"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000296, + "KHR-GLESEXT.draw_elements_base_ve", + "rtex_tests.invalid_count_argument"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000297, + "KHR-GLESEXT.draw_elements_base_vertex", + "_tests.invalid_instancecount_argument"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000298, + "KHR-GLESEXT.draw_elements_base_v", + "ertex_tests.invalid_mode_argument"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000299, + "KHR-GLESEXT.draw_elements_base_vert", + "ex_tests.invalid_primcount_argument"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000300, + "KHR-GLESEXT.draw_elements_base_vert", + "ex_tests.invalid_start_end_arguments"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000301, + "KHR-GLESEXT.draw_elements_base_v", + "ertex_tests.invalid_type_argument"); diff --git a/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureTestCase.cpp b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureTestCase.cpp new file mode 100644 index 000000000..ae8a4c145 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureTestCase.cpp @@ -0,0 +1,48 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000319, + "KHR-GLESEXT.ext_texture_shadow_lod.", + "texture.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000320, + "KHR-GLESEXT.ext_texture_shadow_lod.t", + "exture.sampler2darrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000321, + "KHR-GLESEXT.ext_texture_shadow_lod.tex", + "ture.sampler2darrayshadow_bias_fragment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000322, + "KHR-GLESEXT.ext_texture_shadow_lod.t", + "exture.samplercubearrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000323, + "KHR-GLESEXT.ext_texture_shadow_lod.te", + "xture.samplercubearrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000324, + "KHR-GLESEXT.ext_texture_shadow_lod.text", + "ure.samplercubearrayshadow_bias_fragment"); diff --git a/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodTestCase.cpp b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodTestCase.cpp new file mode 100644 index 000000000..ce5bad828 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000328, + "KHR-GLESEXT.ext_texture_shadow_lod.t", + "exturelod.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000329, + "KHR-GLESEXT.ext_texture_shadow_lod.te", + "xturelod.sampler2darrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000330, + "KHR-GLESEXT.ext_texture_shadow_lod.", + "texturelod.samplercubeshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000331, + "KHR-GLESEXT.ext_texture_shadow_lod.t", + "exturelod.samplercubeshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000332, + "KHR-GLESEXT.ext_texture_shadow_lod.tex", + "turelod.samplercubearrayshadow_fragment"); diff --git a/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodoffsetTestCase.cpp b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodoffsetTestCase.cpp new file mode 100644 index 000000000..1d5dcfaa9 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodoffsetTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000333, + "KHR-GLESEXT.ext_texture_shadow_lod.text", + "urelodoffset.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000334, + "KHR-GLESEXT.ext_texture_shadow_lod.textu", + "relodoffset.sampler2darrayshadow_fragment"); diff --git a/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureoffsetTestCase.cpp b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureoffsetTestCase.cpp new file mode 100644 index 000000000..89f08760f --- /dev/null +++ b/graphic/vkgl/src/khrglesext/ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureoffsetTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000325, + "KHR-GLESEXT.ext_texture_shadow_lod.tex", + "tureoffset.sampler2darrayshadow_vertex"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000326, + "KHR-GLESEXT.ext_texture_shadow_lod.text", + "ureoffset.sampler2darrayshadow_fragment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000327, + "KHR-GLESEXT.ext_texture_shadow_lod.textur", + "eoffset.sampler2darrayshadow_bias_fragment"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp new file mode 100644 index 000000000..54585ad4b --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000001, + "KHR-GLESEXT.geometry_shader.adja", + "cency.adjacency_non_indiced_lines"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000002, + "KHR-GLESEXT.geometry_shader.ad", + "jacency.adjacency_indiced_lines"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000003, + "KHR-GLESEXT.geometry_shader.adjacen", + "cy.adjacency_non_indiced_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000004, + "KHR-GLESEXT.geometry_shader.adjac", + "ency.adjacency_indiced_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000005, + "KHR-GLESEXT.geometry_shader.adjace", + "ncy.adjacency_non_indiced_triangles"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000006, + "KHR-GLESEXT.geometry_shader.adja", + "cency.adjacency_indiced_triangles"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000007, + "KHR-GLESEXT.geometry_shader.adjacency", + ".adjacency_non_indiced_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000008, + "KHR-GLESEXT.geometry_shader.adjacen", + "cy.adjacency_indiced_triangle_strip"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp new file mode 100644 index 000000000..352938204 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000112, + "KHR-GLESEXT.geometry_shade", + "r.api.createShaderProgramv"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000113, + "KHR-GLESEXT.geometry_", + "shader.api.shader_type"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000114, + "KHR-GLESEXT.geometry_s", + "hader.api.getProgramiv"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000115, + "KHR-GLESEXT.geometry_s", + "hader.api.getProgramiv2"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000116, + "KHR-GLESEXT.geometry_s", + "hader.api.getProgramiv3"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000117, + "KHR-GLESEXT.geometry_sh", + "ader.api.fs_gs_draw_call"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000118, + "KHR-GLESEXT.geometry_shad", + "er.api.max_image_uniforms"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000119, + "KHR-GLESEXT.geometry_shader.", + "api.max_shader_storage_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000120, + "KHR-GLESEXT.geometry_shad", + "er.api.max_atomic_counters"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000121, + "KHR-GLESEXT.geometry_shader.a", + "pi.max_atomic_counter_buffers"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000122, + "KHR-GLESEXT.geometry_shader.api.p", + "ipeline_program_without_active_vs"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000123, + "KHR-GLESEXT.geometry_shader.a", + "pi.incompatible_draw_call_mode"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000124, + "KHR-GLESEXT.geometry_shader.ap", + "i.insufficient_emitted_vertices"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000125, + "KHR-GLESEXT.geometry_shader.api", + ".program_pipeline_vs_gs_capture"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000126, + "KHR-GLESEXT.geometry_shader.api.draw_pr", + "imitives_do_not_match_output_primitives"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000127, + "KHR-GLESEXT.geometry_shader.ap", + "i.draw_calls_while_tf_is_paused"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp new file mode 100644 index 000000000..376421f3e --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000069, + "KHR-GLESEXT.geometry_shader", + ".blitting.layered_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000070, + "KHR-GLESEXT.geometry_shader", + ".blitting.nonlayered_layered"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000071, + "KHR-GLESEXT.geometry_shade", + "r.blitting.layered_layered"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp new file mode 100644 index 000000000..473bd3fdd --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000068, + "KHR-GLESEXT.geometry_s", + "hader.clipping.clipping"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp new file mode 100644 index 000000000..f2a17db8a --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000089, + "KHR-GLESEXT.geometry_shader.cons", + "tant_variables.constant_variables"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp new file mode 100644 index 000000000..8959ac2e4 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000044, + "KHR-GLESEXT.geometry_shader", + ".input.gl_in_array_contents"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000045, + "KHR-GLESEXT.geometry_shade", + "r.input.gl_in_array_length"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000046, + "KHR-GLESEXT.geometry_shade", + "r.input.gl_pointsize_value"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000047, + "KHR-GLESEXT.geometry_shad", + "er.input.gl_position_value"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp new file mode 100644 index 000000000..5abd12f72 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp @@ -0,0 +1,56 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000129, + "KHR-GLESEXT.geometry_shad", + "er.layered_fbo.layered_fbo"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000130, + "KHR-GLESEXT.geometry_shader.lay", + "ered_fbo.layered_fbo_attachments"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000131, + "KHR-GLESEXT.geometry_shader.laye", + "red_fbo.fb_texture_invalid_target"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000132, + "KHR-GLESEXT.geometry_shader.layered_", + "fbo.fb_texture_no_fbo_bound_to_target"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000133, + "KHR-GLESEXT.geometry_shader.layere", + "d_fbo.fb_texture_invalid_attachment"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000134, + "KHR-GLESEXT.geometry_shader.laye", + "red_fbo.fb_texture_invalid_value"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000135, + "KHR-GLESEXT.geometry_shader.layered", + "_fbo.fb_texture_invalid_level_number"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000136, + "KHR-GLESEXT.geometry_shader.layered_fbo.fb", + "_texture_argument_refers_to_buffer_texture"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp new file mode 100644 index 000000000..6824eb6f6 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000076, + "KHR-GLESEXT.geometry_shader.lay", + "ered_framebuffer.stencil_support"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000077, + "KHR-GLESEXT.geometry_shader.la", + "yered_framebuffer.depth_support"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000078, + "KHR-GLESEXT.geometry_shader.laye", + "red_framebuffer.blending_support"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000079, + "KHR-GLESEXT.geometry_shader.layer", + "ed_framebuffer.clear_call_support"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp new file mode 100644 index 000000000..62cae3de8 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000067, + "KHR-GLESEXT.geometry_shader.lay", + "ered_rendering.layered_rendering"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp new file mode 100644 index 000000000..b789bfa3f --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000072, + "KHR-GLESEXT.geometry_shader.layered_rendering_boundary_cond", + "ition.layered_rendering_boundary_condition_various_textures"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000073, + "KHR-GLESEXT.geometry_shader.layered_rendering_boundar", + "y_condition.layered_rendering_boundary_condition_no_gs"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000074, + "KHR-GLESEXT.geometry_shader.layered_rendering_boundary_cond", + "ition.layered_rendering_boundary_condition_no_default_layer"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000075, + "KHR-GLESEXT.geometry_shader.layered_rendering_boundary_con", + "dition.layered_rendering_boundary_condition_no_layered_fbo"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp new file mode 100644 index 000000000..252509ced --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000088, + "KHR-GLESEXT.geometry_shader.layered_rendering_fbo", + "_no_attachment.layered_rendering_fbo_no_attachment"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp new file mode 100644 index 000000000..fc72591e5 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp @@ -0,0 +1,60 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000090, + "KHR-GLESEXT.geometry_shader.", + "limits.max_uniform_components"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000091, + "KHR-GLESEXT.geometry_shade", + "r.limits.max_uniform_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000092, + "KHR-GLESEXT.geometry_shader", + ".limits.max_input_components"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000093, + "KHR-GLESEXT.geometry_shader.", + "limits.max_output_components"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000094, + "KHR-GLESEXT.geometry_shader", + ".limits.max_output_vertices"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000095, + "KHR-GLESEXT.geometry_shader.limits", + ".max_output_components_single_point"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000096, + "KHR-GLESEXT.geometry_shade", + "r.limits.max_texture_units"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000097, + "KHR-GLESEXT.geometry_shad", + "er.limits.max_invocations"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000098, + "KHR-GLESEXT.geometry_shader.li", + "mits.max_combined_texture_units"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_linkingTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_linkingTestCase.cpp new file mode 100644 index 000000000..570844afb --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_linkingTestCase.cpp @@ -0,0 +1,76 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000099, + "KHR-GLESEXT.geometry_shader.lin", + "king.incomplete_program_objects"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000100, + "KHR-GLESEXT.geometry_sha", + "der.linking.incomplete_gs"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000101, + "KHR-GLESEXT.geometry_shader.linki", + "ng.invalid_arrayed_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000102, + "KHR-GLESEXT.geometry_shader.link", + "ing.vs_gs_variable_type_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000103, + "KHR-GLESEXT.geometry_shader.linkin", + "g.vs_gs_variable_qualifier_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000104, + "KHR-GLESEXT.geometry_shader.linking.", + "vs_gs_arrayed_variable_size_mismatch"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000105, + "KHR-GLESEXT.geometry_shader.l", + "inking.fragcoord_redeclaration"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000106, + "KHR-GLESEXT.geometry_shade", + "r.linking.location_aliasing"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000107, + "KHR-GLESEXT.geometry_shader.link", + "ing.more_ACs_in_GS_than_supported"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000108, + "KHR-GLESEXT.geometry_shader.linki", + "ng.more_ACBs_in_GS_than_supported"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000109, + "KHR-GLESEXT.geometry_shader.linkin", + "g.geometry_shader_compilation_fail"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000110, + "KHR-GLESEXT.geometry_shader.linking.mo", + "re_input_vertices_in_GS_than_available"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000111, + "KHR-GLESEXT.geometry_shader.linking", + ".tf_capture_from_gs_and_vs_variables"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_nonarray_inputTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_nonarray_inputTestCase.cpp new file mode 100644 index 000000000..b38c8f218 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_nonarray_inputTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000043, + "KHR-GLESEXT.geometry_shader.", + "nonarray_input.nonarray_input"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_outputTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_outputTestCase.cpp new file mode 100644 index 000000000..b5cccd5b7 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_outputTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000080, + "KHR-GLESEXT.geometry_shader.out", + "put.conflicted_output_primitive"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000081, + "KHR-GLESEXT.geometry_shader.outp", + "ut.conflicted_output_vertices_max"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000082, + "KHR-GLESEXT.geometry_shade", + "r.output.vertex_emit_at_end"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000083, + "KHR-GLESEXT.geometry_shader.ou", + "tput.primitive_end_done_at_end"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000084, + "KHR-GLESEXT.geometry_shader.output.p", + "rimite_end_done_for_single_primitive"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_counterTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_counterTestCase.cpp new file mode 100644 index 000000000..bdb53dcdd --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_counterTestCase.cpp @@ -0,0 +1,100 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000048, + "KHR-GLESEXT.geometry_shader.pr", + "imitive_counter.point_to_point"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000049, + "KHR-GLESEXT.geometry_shader.primi", + "tive_counter.points_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000050, + "KHR-GLESEXT.geometry_shader.primiti", + "ve_counter.points_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000051, + "KHR-GLESEXT.geometry_shader.pr", + "imitive_counter.lines_to_points"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000052, + "KHR-GLESEXT.geometry_shader.prim", + "itive_counter.lines_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000053, + "KHR-GLESEXT.geometry_shader.primit", + "ive_counter.lines_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000054, + "KHR-GLESEXT.geometry_shader.prim", + "itive_counter.triangles_to_points"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000055, + "KHR-GLESEXT.geometry_shader.primit", + "ive_counter.triangles_to_line_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000056, + "KHR-GLESEXT.geometry_shader.primitiv", + "e_counter.triangles_to_triangle_strip"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000057, + "KHR-GLESEXT.geometry_shader.prim", + "itive_counter.points_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000058, + "KHR-GLESEXT.geometry_shader.primit", + "ive_counter.points_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000059, + "KHR-GLESEXT.geometry_shader.primitiv", + "e_counter.points_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000060, + "KHR-GLESEXT.geometry_shader.prim", + "itive_counter.lines_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000061, + "KHR-GLESEXT.geometry_shader.primit", + "ive_counter.lines_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000062, + "KHR-GLESEXT.geometry_shader.primitiv", + "e_counter.lines_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000063, + "KHR-GLESEXT.geometry_shader.primit", + "ive_counter.triangles_to_points_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000064, + "KHR-GLESEXT.geometry_shader.primitiv", + "e_counter.triangles_to_line_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000065, + "KHR-GLESEXT.geometry_shader.primitive_", + "counter.triangles_to_triangle_strip_rp"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000066, + "KHR-GLESEXT.geometry_shader.primitiv", + "e_counter.primitive_id_from_fragment"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_queriesTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_queriesTestCase.cpp new file mode 100644 index 000000000..09f665082 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_primitive_queriesTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000085, + "KHR-GLESEXT.geometry_shader.primiti", + "ve_queries.primitive_queries_points"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000086, + "KHR-GLESEXT.geometry_shader.primit", + "ive_queries.primitive_queries_lines"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000087, + "KHR-GLESEXT.geometry_shader.primitiv", + "e_queries.primitive_queries_triangles"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_program_resourceTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_program_resourceTestCase.cpp new file mode 100644 index 000000000..cb02ecf48 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_program_resourceTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000042, + "KHR-GLESEXT.geometry_shader.pr", + "ogram_resource.program_resource"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_qualifiersTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_qualifiersTestCase.cpp new file mode 100644 index 000000000..e7e7e7046 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextgeometry_shader_qualifiersTestCase.cpp @@ -0,0 +1,28 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000128, + "KHR-GLESEXT.geometry_shader.", + "qualifiers.flat_interpolation"); diff --git a/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextrendering_renderingTestCase.cpp b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextrendering_renderingTestCase.cpp new file mode 100644 index 000000000..51e7879d5 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/geometry_shader/Khrglesextrendering_renderingTestCase.cpp @@ -0,0 +1,156 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000009, + "KHR-GLESEXT.geometry_shader.rendering", + ".rendering.points_input_points_output"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000010, + "KHR-GLESEXT.geometry_shader.rendering.r", + "endering.points_input_line_strip_output"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000011, + "KHR-GLESEXT.geometry_shader.rendering.", + "rendering.points_input_triangles_output"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000012, + "KHR-GLESEXT.geometry_shader.rendering.render", + "ing.lines_input_points_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000013, + "KHR-GLESEXT.geometry_shader.rendering.renderin", + "g.lines_input_line_strip_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000014, + "KHR-GLESEXT.geometry_shader.rendering.rendering.", + "lines_input_triangle_strip_output_lines_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000015, + "KHR-GLESEXT.geometry_shader.rendering.renderin", + "g.lines_input_points_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000016, + "KHR-GLESEXT.geometry_shader.rendering.rendering.", + "lines_input_line_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000017, + "KHR-GLESEXT.geometry_shader.rendering.rendering.li", + "nes_input_triangle_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000018, + "KHR-GLESEXT.geometry_shader.rendering.renderin", + "g.lines_input_points_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000019, + "KHR-GLESEXT.geometry_shader.rendering.rendering.", + "lines_input_line_strip_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000020, + "KHR-GLESEXT.geometry_shader.rendering.rendering.li", + "nes_input_triangle_strip_output_line_loop_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000021, + "KHR-GLESEXT.geometry_shader.rendering.rendering.lines_wi", + "th_adjacency_input_points_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000022, + "KHR-GLESEXT.geometry_shader.rendering.rendering.lines_with", + "_adjacency_input_line_strip_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000023, + "KHR-GLESEXT.geometry_shader.rendering.rendering.lines_with_a", + "djacency_input_triangle_strip_output_lines_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000024, + "KHR-GLESEXT.geometry_shader.rendering.rendering.lines_", + "with_adjacency_input_points_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000025, + "KHR-GLESEXT.geometry_shader.rendering.rendering.lines_wi", + "th_adjacency_input_line_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000026, + "KHR-GLESEXT.geometry_shader.rendering.rendering.lines_with", + "_adjacency_input_triangle_strip_output_line_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000027, + "KHR-GLESEXT.geometry_shader.rendering.rendering.", + "triangles_input_points_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000028, + "KHR-GLESEXT.geometry_shader.rendering.rendering.tr", + "iangles_input_line_strip_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000029, + "KHR-GLESEXT.geometry_shader.rendering.rendering.tria", + "ngles_input_triangle_strip_output_triangles_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000030, + "KHR-GLESEXT.geometry_shader.rendering.rendering.t", + "riangles_input_points_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000031, + "KHR-GLESEXT.geometry_shader.rendering.rendering.tri", + "angles_input_line_strip_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000032, + "KHR-GLESEXT.geometry_shader.rendering.rendering.trian", + "gles_input_triangle_strip_output_triangle_fan_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000033, + "KHR-GLESEXT.geometry_shader.rendering.rendering.tr", + "iangles_input_points_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000034, + "KHR-GLESEXT.geometry_shader.rendering.rendering.tria", + "ngles_input_line_strip_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000035, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triang", + "les_input_triangle_strip_output_triangle_strip_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000036, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triangles_wi", + "th_adjacency_input_points_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000037, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triangles_with", + "_adjacency_input_line_strip_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000038, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triangles_with_a", + "djacency_input_triangle_strip_output_triangles_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000039, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triangles_with_", + "adjacency_input_points_output_triangle_strip_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000040, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triangles_with_ad", + "jacency_input_line_strip_output_triangle_strip_adjacency_drawcall"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000041, + "KHR-GLESEXT.geometry_shader.rendering.rendering.triangles_with_adja", + "cency_input_triangle_strip_output_triangle_strip_adjacency_drawcall"); diff --git a/graphic/vkgl/src/khrglesext/gpu_shader5/KhrglesextKHR-GLESEXT_gpu_shader5TestCase.cpp b/graphic/vkgl/src/khrglesext/gpu_shader5/KhrglesextKHR-GLESEXT_gpu_shader5TestCase.cpp new file mode 100644 index 000000000..395ce2544 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/gpu_shader5/KhrglesextKHR-GLESEXT_gpu_shader5TestCase.cpp @@ -0,0 +1,108 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000137, + "KHR-GLESEXT.gpu_shader5", + ".sampler_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000138, + "KHR-GLESEXT.gpu_shader", + "5.images_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000139, + "KHR-GLESEXT.gpu_shader5.ato", + "mic_counters_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000140, + "KHR-GLESEXT.gpu_shader5.un", + "iform_blocks_array_indexing"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000141, + "KHR-GLESEXT.gpu_shad", + "er5.precise_qualifier"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000142, + "KHR-GLESEXT.gpu_sh", + "ader5.fma_accuracy"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000143, + "KHR-GLESEXT.gpu_shade", + "r5.fma_precision_float"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000144, + "KHR-GLESEXT.gpu_shade", + "r5.fma_precision_vec2"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000145, + "KHR-GLESEXT.gpu_shade", + "r5.fma_precision_vec3"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000146, + "KHR-GLESEXT.gpu_shade", + "r5.fma_precision_vec4"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000147, + "KHR-GLESEXT.gpu_shader5.textu", + "re_gather_offset_color_repeat"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000148, + "KHR-GLESEXT.gpu_shader5.text", + "ure_gather_offset_color_array"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000149, + "KHR-GLESEXT.gpu_shader5.te", + "xture_gather_offsets_color"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000150, + "KHR-GLESEXT.gpu_shader5.textu", + "re_gather_offset_depth_repeat"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000151, + "KHR-GLESEXT.gpu_shader5.textur", + "e_gather_offset_depth_repeat_y"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000152, + "KHR-GLESEXT.gpu_shader5.text", + "ure_gather_offset_depth_array"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000153, + "KHR-GLESEXT.gpu_shader5.te", + "xture_gather_offsets_depth"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000154, + "KHR-GLESEXT.gpu_shader5.texture_g", + "ather_offset_color_clamp_to_border"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000155, + "KHR-GLESEXT.gpu_shader5.texture_", + "gather_offset_color_clamp_to_edge"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000156, + "KHR-GLESEXT.gpu_shader5.texture_", + "gather_offset_depth_clamp_border"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000157, + "KHR-GLESEXT.gpu_shader5.texture", + "_gather_offset_depth_clamp_edge"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_compilation_and_linking_errorsTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_compilation_and_linking_errorsTestCase.cpp new file mode 100644 index 000000000..a243e34cd --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_compilation_and_linking_errorsTestCase.cpp @@ -0,0 +1,96 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000187, + "KHR-GLESEXT.tessellation_shader.compilation_and_li", + "nking_errors.tc_non_arrayed_per_vertex_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000188, + "KHR-GLESEXT.tessellation_shader.compilation_and_link", + "ing_errors.tc_non_arrayed_per_vertex_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000189, + "KHR-GLESEXT.tessellation_shader.compilation_and_lin", + "king_errors.tc_non_arrayed_per_vertex_output_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000190, + "KHR-GLESEXT.tessellation_shader.compilation_and_linki", + "ng_errors.tc_non_arrayed_per_vertex_output_variabless"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000191, + "KHR-GLESEXT.tessellation_shader.compilation_and_li", + "nking_errors.te_non_arrayed_per_vertex_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000192, + "KHR-GLESEXT.tessellation_shader.compilation_and_link", + "ing_errors.te_non_arrayed_per_vertex_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000193, + "KHR-GLESEXT.tessellation_shader.compilation_and_linki", + "ng_errors.tc_invalid_array_size_used_for_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000194, + "KHR-GLESEXT.tessellation_shader.compilation_and_linkin", + "g_errors.tc_invalid_array_size_used_for_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000195, + "KHR-GLESEXT.tessellation_shader.compilation_and_linki", + "ng_errors.te_invalid_array_size_used_for_input_blocks"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000196, + "KHR-GLESEXT.tessellation_shader.compilation_and_linkin", + "g_errors.te_invalid_array_size_used_for_input_variables"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000197, + "KHR-GLESEXT.tessellation_shader.compilation_and_l", + "inking_errors.tc_invalid_output_patch_vertex_count"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000198, + "KHR-GLESEXT.tessellation_shader.compilation_and_linking_err", + "ors.tc_invalid_write_operation_at_non_gl_invocation_id_index"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000199, + "KHR-GLESEXT.tessellation_shader.compilation_and_linking", + "_errors.tc_invalid_input_per_patch_attribute_definition"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000200, + "KHR-GLESEXT.tessellation_shader.compilation_and_linking", + "_errors.te_invalid_output_per_patch_attribute_definition"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000201, + "KHR-GLESEXT.tessellation_shader.compilation_and_li", + "nking_errors.tc_non_matching_variable_declarations"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000202, + "KHR-GLESEXT.tessellation_shader.compilation_and_li", + "nking_errors.te_lacking_primitive_mode_declaration"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000203, + "KHR-GLESEXT.tessellation_shader.compilation_and_", + "linking_errors.te_accessing_glTessCoord_as_array"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000204, + "KHR-GLESEXT.tessellation_shader.compilation_and_lin", + "king_errors.te_accessing_glTessCoord_as_gl_in_member"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_singleTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_singleTestCase.cpp new file mode 100644 index 000000000..45bd39ea6 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_singleTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000160, + "KHR-GLESEXT.tessellation_shader.single.d", + "efault_values_of_context_wide_properties"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000161, + "KHR-GLESEXT.tessellation_shade", + "r.single.isolines_tessellation"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000162, + "KHR-GLESEXT.tessellation_shader.single", + ".ext_program_interface_query_dependency"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000163, + "KHR-GLESEXT.tessellation_shader.", + "single.program_object_properties"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000164, + "KHR-GLESEXT.tessellation_shader.singl", + "e.xfb_captures_data_from_correct_stage"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000165, + "KHR-GLESEXT.tessellation_sha", + "der.single.max_patch_vertices"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000166, + "KHR-GLESEXT.tessellation_sha", + "der.single.primitive_coverage"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp new file mode 100644 index 000000000..6a7ff7d32 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000169, + "KHR-GLESEXT.tessellation_shader.tessellation_con", + "trol_to_tessellation_evaluation.data_pass_through"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000170, + "KHR-GLESEXT.tessellation_shader.tessellati", + "on_control_to_tessellation_evaluation.gl_in"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000171, + "KHR-GLESEXT.tessellation_shader.tessellation_control_to_tes", + "sellation_evaluation.gl_MaxPatchVertices_Position_PointSize"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000172, + "KHR-GLESEXT.tessellation_shader.tessellation_cont", + "rol_to_tessellation_evaluation.gl_PatchVerticesIn"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000173, + "KHR-GLESEXT.tessellation_shader.tessellation_c", + "ontrol_to_tessellation_evaluation.gl_tessLevel"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_invarianceTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_invarianceTestCase.cpp new file mode 100644 index 000000000..441a81063 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_invarianceTestCase.cpp @@ -0,0 +1,52 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000205, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule1"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000206, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule2"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000207, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule3"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000208, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule4"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000209, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule5"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000210, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule6"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000211, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_invariance.invariance_rule7"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_point_modeTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_point_modeTestCase.cpp new file mode 100644 index 000000000..16e6d01e1 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_point_modeTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000182, + "KHR-GLESEXT.tessellation_shader.tessell", + "ation_shader_point_mode.point_rendering"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000183, + "KHR-GLESEXT.tessellation_shader.tessellat", + "ion_shader_point_mode.points_verification"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp new file mode 100644 index 000000000..39ea99b9e --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000167, + "KHR-GLESEXT.tessellation_shader.tessellatio", + "n_shader_quads_tessellation.degenerate_case"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000168, + "KHR-GLESEXT.tessellation_shader.tessellation_shader_", + "quads_tessellation.inner_tessellation_level_rounding"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tc_barriersTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tc_barriersTestCase.cpp new file mode 100644 index 000000000..4912390ea --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tc_barriersTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000184, + "KHR-GLESEXT.tessellation_shader.tessellation_", + "shader_tc_barriers.barrier_guarded_read_calls"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000185, + "KHR-GLESEXT.tessellation_shader.tessellation_", + "shader_tc_barriers.barrier_guarded_write_calls"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000186, + "KHR-GLESEXT.tessellation_shader.tessellation_sha", + "der_tc_barriers.barrier_guarded_read_write_calls"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tessellationTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tessellationTestCase.cpp new file mode 100644 index 000000000..5ff231f29 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tessellationTestCase.cpp @@ -0,0 +1,44 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000174, + "KHR-GLESEXT.tessellation_shader.tessellation_shader_te", + "ssellation.gl_InvocationID_PatchVerticesIn_PrimitiveID"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000175, + "KHR-GLESEXT.tessellation_shader.tess", + "ellation_shader_tessellation.TCS_TES"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000176, + "KHR-GLESEXT.tessellation_shader.te", + "ssellation_shader_tessellation.TES"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000177, + "KHR-GLESEXT.tessellation_shader.tessellati", + "on_shader_tessellation.input_patch_discard"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000178, + "KHR-GLESEXT.tessellation_shader.tessellatio", + "n_shader_tessellation.max_in_out_attributes"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp new file mode 100644 index 000000000..0bbaa42f2 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000179, + "KHR-GLESEXT.tessellation_shader.tessellation_sh", + "ader_triangles_tessellation.degenerate_triangle"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000180, + "KHR-GLESEXT.tessellation_shader.tessellation_sh", + "ader_triangles_tessellation.identical_triangles"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000181, + "KHR-GLESEXT.tessellation_shader.tessellation_shader_tr", + "iangles_tessellation.inner_tessellation_level_rounding"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_vertexTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_vertexTestCase.cpp new file mode 100644 index 000000000..1a33129d8 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_vertexTestCase.cpp @@ -0,0 +1,32 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000158, + "KHR-GLESEXT.tessellation_sh", + "ader.vertex.vertex_ordering"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000159, + "KHR-GLESEXT.tessellation_s", + "hader.vertex.vertex_spacing"); diff --git a/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_windingTestCase.cpp b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_windingTestCase.cpp new file mode 100644 index 000000000..6aa45ab7c --- /dev/null +++ b/graphic/vkgl/src/khrglesext/tessellation_shader/Khrglesexttessellation_shader_windingTestCase.cpp @@ -0,0 +1,40 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000212, + "KHR-GLESEXT.tessellation_s", + "hader.winding.triangles_ccw"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000213, + "KHR-GLESEXT.tessellation_s", + "hader.winding.triangles_cw"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000214, + "KHR-GLESEXT.tessellation", + "_shader.winding.quads_ccw"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000215, + "KHR-GLESEXT.tessellation", + "_shader.winding.quads_cw"); diff --git a/graphic/vkgl/src/khrglesext/texture_border_clamp/KhrglesextKHR-GLESEXT_texture_border_clampTestCase.cpp b/graphic/vkgl/src/khrglesext/texture_border_clamp/KhrglesextKHR-GLESEXT_texture_border_clampTestCase.cpp new file mode 100644 index 000000000..098590c2f --- /dev/null +++ b/graphic/vkgl/src/khrglesext/texture_border_clamp/KhrglesextKHR-GLESEXT_texture_border_clampTestCase.cpp @@ -0,0 +1,152 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000242, + "KHR-GLESEXT.texture_border", + "_clamp.border_color_errors"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000243, + "KHR-GLESEXT.texture_border", + "_clamp.texparameteri_errors"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000244, + "KHR-GLESEXT.texture_border_c", + "lamp.gettexparameteri_errors"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000245, + "KHR-GLESEXT.texture_border_clamp.sam", + "plerparameteri_non_gen_sampler_error"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000246, + "KHR-GLESEXT.texture_border_clamp.", + "samplerparameteri_with_wrong_pname"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000247, + "KHR-GLESEXT.texture_border_clam", + "p.samplerparameteri_border_color"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000248, + "KHR-GLESEXT.texture_bord", + "er_clamp.Texture2DRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000249, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture2DR32I"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000250, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture2DR32UI"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000251, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture2DRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000252, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture2DDC32F"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000253, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture2DDC16"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000254, + "KHR-GLESEXT.texture_border", + "_clamp.Texture2DCompressed"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000255, + "KHR-GLESEXT.texture_border_", + "clamp.Texture2DArrayRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000256, + "KHR-GLESEXT.texture_borde", + "r_clamp.Texture2DArrayR32I"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000257, + "KHR-GLESEXT.texture_border", + "_clamp.Texture2DArrayR32UI"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000258, + "KHR-GLESEXT.texture_border", + "_clamp.Texture2DArrayRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000259, + "KHR-GLESEXT.texture_border_c", + "lamp.Texture2DArrayCompressed"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000260, + "KHR-GLESEXT.texture_bord", + "er_clamp.Texture3DRGBA32F"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000261, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture3DR32I"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000262, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture3DR32UI"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000263, + "KHR-GLESEXT.texture_bor", + "der_clamp.Texture3DRGBA8"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000264, + "KHR-GLESEXT.texture_border_", + "clamp.Texture2DRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000265, + "KHR-GLESEXT.texture_border", + "_clamp.Texture2DRGBA8Linear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000266, + "KHR-GLESEXT.texture_border", + "_clamp.Texture2DDC32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000267, + "KHR-GLESEXT.texture_border", + "_clamp.Texture2DDC16Linear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000268, + "KHR-GLESEXT.texture_border_cl", + "amp.Texture2DCompressedLinear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000269, + "KHR-GLESEXT.texture_border_cla", + "mp.Texture2DArrayRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000270, + "KHR-GLESEXT.texture_border_cl", + "amp.Texture2DArrayRGBA8Linear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000271, + "KHR-GLESEXT.texture_border_clam", + "p.Texture2DArrayCompressedLinear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000272, + "KHR-GLESEXT.texture_border_", + "clamp.Texture3DRGBA32FLinear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000273, + "KHR-GLESEXT.texture_border", + "_clamp.Texture3DRGBA8Linear"); diff --git a/graphic/vkgl/src/khrglesext/texture_buffer/KhrglesextKHR-GLESEXT_texture_bufferTestCase.cpp b/graphic/vkgl/src/khrglesext/texture_buffer/KhrglesextKHR-GLESEXT_texture_bufferTestCase.cpp new file mode 100644 index 000000000..362670ebf --- /dev/null +++ b/graphic/vkgl/src/khrglesext/texture_buffer/KhrglesextKHR-GLESEXT_texture_bufferTestCase.cpp @@ -0,0 +1,88 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000274, + "KHR-GLESEXT.texture_buffer.textu", + "re_buffer_operations_buffer_load"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000275, + "KHR-GLESEXT.texture_buffer.text", + "ure_buffer_operations_cpu_writes"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000276, + "KHR-GLESEXT.texture_buffer.texture_b", + "uffer_operations_framebuffer_readback"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000277, + "KHR-GLESEXT.texture_buffer.texture_", + "buffer_operations_transform_feedback"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000278, + "KHR-GLESEXT.texture_buffer.textu", + "re_buffer_operations_image_store"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000279, + "KHR-GLESEXT.texture_buffer.textu", + "re_buffer_operations_ssbo_writes"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000280, + "KHR-GLESEXT.texture_buffe", + "r.texture_buffer_max_size"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000281, + "KHR-GLESEXT.texture_buffer.text", + "ure_buffer_texture_buffer_range"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000282, + "KHR-GLESEXT.texture_buffer.te", + "xture_buffer_conv_int_to_float"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000283, + "KHR-GLESEXT.texture_buffer.te", + "xture_buffer_atomic_functions"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000284, + "KHR-GLESEXT.texture_buffer", + ".texture_buffer_parameters"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000285, + "KHR-GLESEXT.texture_buff", + "er.texture_buffer_errors"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000286, + "KHR-GLESEXT.texture_buffer.texture_buffer", + "_active_uniform_validation_fragment_shader"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000287, + "KHR-GLESEXT.texture_buffer.texture_buffer", + "_active_uniform_validation_compute_shader"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000288, + "KHR-GLESEXT.texture_buffer.te", + "xture_buffer_buffer_parameters"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000289, + "KHR-GLESEXT.texture_buffe", + "r.texture_buffer_precision"); diff --git a/graphic/vkgl/src/khrglesext/texture_cube_map_array/KhrglesextKHR-GLESEXT_texture_cube_map_arrayTestCase.cpp b/graphic/vkgl/src/khrglesext/texture_cube_map_array/KhrglesextKHR-GLESEXT_texture_cube_map_arrayTestCase.cpp new file mode 100644 index 000000000..d13adda37 --- /dev/null +++ b/graphic/vkgl/src/khrglesext/texture_cube_map_array/KhrglesextKHR-GLESEXT_texture_cube_map_arrayTestCase.cpp @@ -0,0 +1,128 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000216, + "KHR-GLESEXT.texture_c", + "ube_map_array.sampling"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000217, + "KHR-GLESEXT.texture_cube_map_", + "array.color_depth_attachments"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000218, + "KHR-GLESEXT.texture_cube_map_array.s", + "tencil_attachments_mutable_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000219, + "KHR-GLESEXT.texture_cube_map_array.", + "stencil_attachments_mutable_layered"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000220, + "KHR-GLESEXT.texture_cube_map_array.st", + "encil_attachments_immutable_nonlayered"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000221, + "KHR-GLESEXT.texture_cube_map_array.s", + "tencil_attachments_immutable_layered"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000222, + "KHR-GLESEXT.texture_cube_", + "map_array.tex3D_validation"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000223, + "KHR-GLESEXT.texture_cu", + "be_map_array.subimage3D"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000224, + "KHR-GLESEXT.texture_cub", + "e_map_array.getter_calls"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000225, + "KHR-GLESEXT.texture_cube_map_array.generat", + "e_mip_map_filterable_internalformat_mutable"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000226, + "KHR-GLESEXT.texture_cube_map_array.generate", + "_mip_map_filterable_internalformat_immutable"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000227, + "KHR-GLESEXT.texture_cube_map_array.genera", + "te_mip_map_non_filterable_mutable_storage"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000228, + "KHR-GLESEXT.texture_cube_map_array.generat", + "e_mip_map_non_filterable_immutable_storage"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000229, + "KHR-GLESEXT.texture_cube_ma", + "p_array.image_op_compute_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000230, + "KHR-GLESEXT.texture_cube_m", + "ap_array.image_op_vertex_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000231, + "KHR-GLESEXT.texture_cube_ma", + "p_array.image_op_fragment_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000232, + "KHR-GLESEXT.texture_cube_ma", + "p_array.image_op_geometry_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000233, + "KHR-GLESEXT.texture_cube_map_arra", + "y.image_op_tessellation_control_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000234, + "KHR-GLESEXT.texture_cube_map_array.", + "image_op_tessellation_evaluation_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000235, + "KHR-GLESEXT.texture_cube_m", + "ap_array.fbo_incompleteness"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000236, + "KHR-GLESEXT.texture_cube_map", + "_array.texture_size_vertex_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000237, + "KHR-GLESEXT.texture_cube_map_", + "array.texture_size_geometry_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000238, + "KHR-GLESEXT.texture_cube_map_arra", + "y.texture_size_tesselation_con_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000239, + "KHR-GLESEXT.texture_cube_map_arr", + "ay.texture_size_tesselation_ev_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000240, + "KHR-GLESEXT.texture_cube_map_", + "array.texture_size_fragment_sh"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000241, + "KHR-GLESEXT.texture_cube_map_", + "array.texture_size_compute_sh"); diff --git a/graphic/vkgl/src/khrglesext/viewport_array/KhrglesextKHR-GLESEXT_viewport_arrayTestCase.cpp b/graphic/vkgl/src/khrglesext/viewport_array/KhrglesextKHR-GLESEXT_viewport_arrayTestCase.cpp new file mode 100644 index 000000000..2133c0bac --- /dev/null +++ b/graphic/vkgl/src/khrglesext/viewport_array/KhrglesextKHR-GLESEXT_viewport_arrayTestCase.cpp @@ -0,0 +1,92 @@ +/* + * 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. + */ + +#include +#include +#include "../KhrglesextBaseFunc.h" +#include "../ActsKhrglesext0001TestSuite.h" +#include "shrinkdefine.h" + +using namespace std; +using namespace testing::ext; +using namespace OHOS; + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000302, + "KHR-GLESEXT.viewpo", + "rt_array.api_errors"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000303, + "KHR-GLESEXT.viewp", + "ort_array.queries"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000304, + "KHR-GLESEXT.viewpor", + "t_array.viewport_api"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000305, + "KHR-GLESEXT.viewpor", + "t_array.scissor_api"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000306, + "KHR-GLESEXT.viewport_", + "array.depth_range_api"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000307, + "KHR-GLESEXT.viewport_arr", + "ay.scissor_test_state_api"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000308, + "KHR-GLESEXT.viewport_array.draw_to_", + "single_layer_with_multiple_viewports"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000309, + "KHR-GLESEXT.viewport_arr", + "ay.dynamic_viewport_index"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000310, + "KHR-GLESEXT.viewport_array.draw_muli", + "tple_viewports_with_single_invocation"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000311, + "KHR-GLESEXT.viewport_array", + ".viewport_index_subroutine"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000312, + "KHR-GLESEXT.viewport_ar", + "ray.draw_multiple_layers"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000313, + "KHR-GLESEXT.viewp", + "ort_array.scissor"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000314, + "KHR-GLESEXT.viewport_arr", + "ay.scissor_zero_dimension"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000315, + "KHR-GLESEXT.viewport", + "_array.scissor_clear"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000316, + "KHR-GLESEXT.viewpor", + "t_array.depth_range"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000317, + "KHR-GLESEXT.viewport_arr", + "ay.depth_range_depth_test"); + +static SHRINK_HWTEST_F(ActsKhrglesext0001TestSuite, TestCase_000318, + "KHR-GLESEXT.viewport_", + "array.provoking_vertex"); -- GitLab From 50efcbd9d826c73d62765c44d5629effa42bf376 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:46:36 +0800 Subject: [PATCH 7/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=9A=84logdefine=E5=92=8C=E7=BC=A9=E5=87=8F=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- graphic/vkgl/src/logdefine.h | 36 ++++++++++++++++++++++++++ graphic/vkgl/src/shrinkdefine.h | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 graphic/vkgl/src/logdefine.h create mode 100644 graphic/vkgl/src/shrinkdefine.h diff --git a/graphic/vkgl/src/logdefine.h b/graphic/vkgl/src/logdefine.h new file mode 100644 index 000000000..b554c8826 --- /dev/null +++ b/graphic/vkgl/src/logdefine.h @@ -0,0 +1,36 @@ +/* + * 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. + */ + +#ifndef TEST_LOGDEFINE_H +#define TEST_LOGDEFINE_H + +#include +#include "tcuDefs.hpp" +#include "tcuCommandLine.hpp" +#include "tcuPlatform.hpp" +#include "ActsApp.h" +#include "tcuResource.hpp" +#include "tcuTestLog.hpp" +#include "tcuTestSessionExecutor.hpp" +#include "deUniquePtr.hpp" + +namespace OHOS { + class Logdefine { + public: + static tcu::TestLog tcutestlog; + }; +} // OHOS + +#endif // TEST_LOGDEFINE_H \ No newline at end of file diff --git a/graphic/vkgl/src/shrinkdefine.h b/graphic/vkgl/src/shrinkdefine.h new file mode 100644 index 000000000..7293781a3 --- /dev/null +++ b/graphic/vkgl/src/shrinkdefine.h @@ -0,0 +1,46 @@ +/* + * 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. + */ + +#ifndef TEST_SHRINKDEFINE_H +#define TEST_SHRINKDEFINE_H + +#define SHRINK_HWTEST_F(TestSuite, TestCase, VkglCase1, VkglCase2) \ + HWTEST_F(TestSuite, TestCase, Function | MediumTest | Level2) \ + { \ + GTEST_LOG_(INFO) << #TestCase << "start"; \ + int argc = 3; \ + const char *argv[3] = { \ + ".", \ + "--deqp-case=" \ + VkglCase1 \ + VkglCase2, \ + "--deqp-archive-dir=/data/local/tmp/" \ + }; \ + FuncRunResult result = RunTestKHRGLES(argc, argv); \ + TestSuite::runResult.numPassed += result.numPassed; \ + TestSuite::runResult.numFailed += result.numFailed; \ + TestSuite::runResult.numNotSupported += result.numNotSupported; \ + TestSuite::runResult.numWarnings += result.numWarnings; \ + TestSuite::runResult.numWaived += result.numWaived; \ + if (result.numNotSupported == 1) { \ + GTEST_LOG_(INFO) << #TestCase << "notsupport!"; \ + } else if (result.isComplete) { \ + EXPECT_TRUE(result.isComplete); \ + EXPECT_TRUE(result.numPassed == 1); \ + }; \ + GTEST_LOG_(INFO) << #TestCase << "end"; \ + } + +#endif // 为缩减代码而存在 \ No newline at end of file -- GitLab From 4a5c94113462d325b1abdf2dcbe5d25632a72940 Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:48:39 +0800 Subject: [PATCH 8/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0xts=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- graphic/vkgl/src/ActsApp.cpp | 283 +++++++++++++---------------------- graphic/vkgl/src/ActsApp.h | 71 ++++----- 2 files changed, 136 insertions(+), 218 deletions(-) diff --git a/graphic/vkgl/src/ActsApp.cpp b/graphic/vkgl/src/ActsApp.cpp index 5b57823e0..4c18cb09d 100755 --- a/graphic/vkgl/src/ActsApp.cpp +++ b/graphic/vkgl/src/ActsApp.cpp @@ -12,207 +12,130 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#include "ActsApp.h" +#include #include "tcuPlatform.hpp" #include "tcuTestContext.hpp" #include "tcuTestSessionExecutor.hpp" #include "tcuTestHierarchyUtil.hpp" #include "tcuCommandLine.hpp" #include "tcuTestLog.hpp" - #include "qpInfo.h" #include "qpDebugOut.h" #include "deMath.h" - +#include "ActsApp.h" namespace tcu { - using std::string; - /*--------------------------------------------------------------------****! - * Writes all packages found stdout without any - * separations. Recommended to be used with a single package - * only. It's possible to use test selectors for limiting the export - * to one package in a multipackage binary. - *--------------------------------------------------------------------*/ - static void writeCaselistsToStdout (TestPackageRoot& root, TestContext& testCtx) - { - DefaultHierarchyInflater inflater(testCtx); - de::MovePtr caseListFilter( - testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive())); - TestHierarchyIterator iter(root, inflater, *caseListFilter); - - while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) { - iter.next(); - tcu::TestNode* testNode = iter.getNode(); - while (testNode->getNodeType() != NODETYPE_PACKAGE) { - if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE) - std::cout << (isTestNodeTypeExecutable(testNode->getNodeType()) ? "TEST" : "GROUP") - << ": " << iter.getNodePath() << "\n"; - iter.next(); - } - - DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && - testNode->getNodeType() == NODETYPE_PACKAGE); - iter.next(); - }; +using std::string; + +/* + * \brief Construct test application + * + * If a fatal error occurs during initialization constructor will call + * die() with debug information. + * + * \param platform Reference to platform implementation. + */ +ActsApp::ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) + : m_platform(platform), + m_watchDog(DE_NULL), + m_crashHandler(DE_NULL), + m_crashed(false), + m_testCtx(DE_NULL), + m_testRoot(DE_NULL), + m_testExecutor(DE_NULL) +{ + print("dEQP Core %s (0x%08x) starting..\n", qpGetReleaseName(), qpGetReleaseId()); + print(" target implementation = '%s'\n", qpGetTargetName()); + + if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST_EVEN)) { + qpPrintf("WARNING: Failed to set floating-point rounding mode!\n"); + } + try { + const RunMode runMode = cmdLine.getRunMode(); + + // Create test context + m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog); + + // Create root from registry + m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton()); + + // \note No executor is created if runmode is not EXECUTE + if (runMode == RUNMODE_EXECUTE) { + m_testExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx); + } else { + DE_ASSERT(false); + } + } catch (const std::exception& e) { + cleanup(); + die("Failed to initialize dEQP: %s", e.what()); } +} +ActsApp::~ActsApp (void) +{ + cleanup(); +} - /*--------------------------------------------------------------------****! - * Verifies that amber capability requirements in the .amber files - * match with capabilities defined on the CTS C code. - ****--------------------------------------------------------------------*/ - static void verifyAmberCapabilityCoherency (TestPackageRoot& root, TestContext& testCtx) - { - DefaultHierarchyInflater inflater(testCtx); - de::MovePtr caseListFilter( - testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive())); - TestHierarchyIterator iter(root, inflater, *caseListFilter); - int count = 0; - int errorCount = 0; - - bool ok = true; - - while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) { - iter.next(); - tcu::TestNode* testNode = iter.getNode(); - while (testNode->getNodeType() != NODETYPE_PACKAGE) { - if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && - isTestNodeTypeExecutable(testNode->getNodeType())) { - std::cout << iter.getNodePath() << "\n"; - testCtx.getLog() << tcu::TestLog::Message << iter.getNodePath() << tcu::TestLog::EndMessage; - count++; - }; - iter.next(); - }; - - DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && - testNode->getNodeType() == NODETYPE_PACKAGE); - iter.next(); - }; - std::cout << count << " amber tests, " << errorCount << " errors.\n"; - if (!ok) { - TCU_THROW(InternalError, "One or more CTS&Amber test requirements do not match; check log for details"); - }; - } +void ActsApp::cleanup (void) +{ + delete m_testExecutor; + delete m_testRoot; + delete m_testCtx; - /*--------------------------------------------------------------------****! - * \brief Construct test application - * - * If a fatal error occurs during initialization constructor will call - * die() with debug information. - * - * \param platform Reference to platform implementation. - *--------------------------------------------------------------------*/ - ActsApp::ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) - : m_platform(platform), - m_watchDog(DE_NULL), - m_crashHandler(DE_NULL), - m_crashed(false), - m_testCtx(DE_NULL), - m_testRoot(DE_NULL), - m_testExecutor(DE_NULL) - { - print("dEQP Core %s (0x%08x) starting..\n", qpGetReleaseName(), qpGetReleaseId()); - print(" target implementation = '%s'\n", qpGetTargetName()); - - if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST_EVEN)) { - qpPrintf("WARNING: Failed to set floating-point rounding mode!\n"); - }; + m_testExecutor = DE_NULL; + m_testRoot = DE_NULL; + m_testCtx = DE_NULL; - try { - const RunMode runMode = cmdLine.getRunMode(); - - // Initialize watchdog - if (cmdLine.isWatchDogEnabled()) { - TCU_CHECK_INTERNAL(m_watchDog = qpWatchDog_create(onWatchdogTimeout, this, - WATCHDOG_TOTAL_TIME_LIMIT_SECS, WATCHDOG_INTERVAL_TIME_LIMIT_SECS)); - }; - - // Initialize crash handler. - if (cmdLine.isCrashHandlingEnabled()) { - TCU_CHECK_INTERNAL(m_crashHandler = qpCrashHandler_create(onCrash, this)); - }; - - // Create test context - m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog); - - // Create root from registry - m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton()); - - // \note No executor is created if runmode is not EXECUTE - if (runMode == RUNMODE_EXECUTE) { - m_testExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx); - } else if (runMode == RUNMODE_DUMP_STDOUT_CASELIST) { - writeCaselistsToStdout(*m_testRoot, *m_testCtx); - } else if (runMode == RUNMODE_DUMP_XML_CASELIST) { - writeXmlCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine); - } else if (runMode == RUNMODE_DUMP_TEXT_CASELIST) { - writeTxtCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine); - } else if (runMode == RUNMODE_VERIFY_AMBER_COHERENCY) { - verifyAmberCapabilityCoherency(*m_testRoot, *m_testCtx); - } else { - DE_ASSERT(false); - }; - } catch (const std::exception& e) { - cleanup(); - die("Failed to initialize dEQP: %s", e.what()); - }; + if (m_crashHandler) { + qpCrashHandler_destroy(m_crashHandler); } - ActsApp::~ActsApp (void) - { - cleanup(); + if (m_watchDog) { + qpWatchDog_destroy(m_watchDog); } +} - void ActsApp::cleanup (void) - { - delete m_testExecutor; - delete m_testRoot; - delete m_testCtx; - - m_testExecutor = DE_NULL - m_testRoot = DE_NULL - m_testCtx = DE_NULL - - if (m_crashHandler) { - qpCrashHandler_destroy(m_crashHandler); - }; - - if (m_watchDog) { - qpWatchDog_destroy(m_watchDog); - }; +/* + * \brief Step forward test execution + * \return true if application should call iterate() again and false + * if test execution session is complete. + */ +bool ActsApp::iterate (void) +{ + if (!m_testExecutor) { + DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE); + return false; } - /*--------------------------------------------------------------------****! - * \brief Step forward test execution - * \return true if application should call iterate() again and false - * if test execution session is complete. - ****--------------------------------------------------------------------*/ - bool ActsApp::iterate (void) - { - if (!m_testExecutor) { - DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE); - return false; - }; - - // Poll platform events - const bool platformOk = m_platform.processEvents(); - - // Iterate a step. - bool testExecOk = false; - if (platformOk) { - try { - testExecOk = m_testExecutor->iterate(); - } catch (const std::exception& e) { - die("%s", e.what()); - }; - }; - - return platformOk && testExecOk; + // Poll platform events + const bool platformOk = m_platform.processEvents(); + + // Iterate a step. + bool testExecOk = false; + if (platformOk) { + try { + testExecOk = m_testExecutor->iterate(); + } catch (const std::exception& e) { + die("%s", e.what()); + } } - const TestRunStatus& ActsApp::getResult (void) const - { - return m_testExecutor->getStatus(); + return platformOk && testExecOk; +} + +const TestRunStatus& ActsApp::getResult (void) const +{ + return m_testExecutor->getStatus(); +} + +void ActsApp::onWatchdogTimeout (qpTimeoutReason reason) +{ + if (!m_crashLock.tryLock() || m_crashed) { + return; // In crash handler already. } -} // tcu \ No newline at end of file + + m_crashed = true; + m_testCtx->getLog().terminateCase(QP_TEST_RESULT_TIMEOUT); + die("Watchdog timer timeout for %s", + (reason == QP_TIMEOUT_REASON_INTERVAL_LIMIT ? "touch interval" : "total time")); +} +} // tcu diff --git a/graphic/vkgl/src/ActsApp.h b/graphic/vkgl/src/ActsApp.h index debedf591..c17a03108 100755 --- a/graphic/vkgl/src/ActsApp.h +++ b/graphic/vkgl/src/ActsApp.h @@ -4,7 +4,7 @@ * 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 + * 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, @@ -13,49 +13,44 @@ * limitations under the License. */ -#ifndef _ActsApp_HPP -#define _ActsApp_HPP +#ifndef _ACTSAPP_HPP +#define _ACTSAPP_HPP #include "tcuDefs.hpp" #include "qpWatchDog.h" #include "qpCrashHandler.h" #include "deMutex.hpp" -#include "tcuResource.hpp" -#include "tcuPlatform.hpp" -#include "tcuTestContext.hpp" -#include "tcuTestSessionExecutor.hpp" -#include "tcuTestSessionExecutor.hpp" -#include "tcuCommandLine.hpp" -#include "tcuTestLog.hpp" -#include "tcuTestPackageRoot.hpp" #include "tcuTestSessionExecutor.hpp" +#include "tcuTestPackage.hpp" namespace tcu { - enum class EWATCHDOG { - WATCHDOG_TOTAL_TIME_LIMIT_SECS = 300, - WATCHDOG_INTERVAL_TIME_LIMIT_SECS = 30 - }; - - class ActsApp { - public: - ActsApp(Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine); - virtual ~ActsApp(void); - - bool iterate(void); - const TestRunStatus& getResult (void) const; - protected: - void cleanup (void); - - Platform& m_platform; - qpWatchDog* m_watchDog; - qpCrashHandler* m_crashHandler; - de::Mutex m_crashLock; - bool m_crashed; - - TestContext* m_testCtx; - TestPackageRoot* m_testRoot; - TestSessionExecutor* m_testExecutor; - }; +enum class EWATCHDOG { + WATCHDOG_TOTAL_TIME_LIMIT_SECS = 300, + WATCHDOG_INTERVAL_TIME_LIMIT_SECS = 30 +}; + +class ActsApp { +public: + ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine); + virtual ~ActsApp (void); + + bool iterate (void); + const TestRunStatus& getResult (void) const; + +protected: + void cleanup (void); + + void onWatchdogTimeout (qpTimeoutReason reason); + + Platform& m_platform; + qpWatchDog* m_watchDog; + qpCrashHandler* m_crashHandler; + de::Mutex m_crashLock; + bool m_crashed; + + TestContext* m_testCtx; + TestPackageRoot* m_testRoot; + TestSessionExecutor* m_testExecutor; +}; } // tcu - -#endif // _ActsApp_HPP \ No newline at end of file +#endif // _ACTSAPP_HPP \ No newline at end of file -- GitLab From 58c4322e0c1cc4ed7e015dd17df9537201ed32ee Mon Sep 17 00:00:00 2001 From: wangshi Date: Wed, 13 Jul 2022 16:48:39 +0800 Subject: [PATCH 9/9] =?UTF-8?q?=E5=A2=9E=E5=8A=A0xts=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangshi --- graphic/vkgl/src/ActsApp.cpp | 267 ++++++++++++----------------------- graphic/vkgl/src/ActsApp.h | 69 ++++----- 2 files changed, 120 insertions(+), 216 deletions(-) diff --git a/graphic/vkgl/src/ActsApp.cpp b/graphic/vkgl/src/ActsApp.cpp index 5b57823e0..f13a425b2 100755 --- a/graphic/vkgl/src/ActsApp.cpp +++ b/graphic/vkgl/src/ActsApp.cpp @@ -12,207 +12,118 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#include "ActsApp.h" +#include #include "tcuPlatform.hpp" #include "tcuTestContext.hpp" #include "tcuTestSessionExecutor.hpp" #include "tcuTestHierarchyUtil.hpp" #include "tcuCommandLine.hpp" #include "tcuTestLog.hpp" - #include "qpInfo.h" #include "qpDebugOut.h" #include "deMath.h" - +#include "ActsApp.h" namespace tcu { - using std::string; - /*--------------------------------------------------------------------****! - * Writes all packages found stdout without any - * separations. Recommended to be used with a single package - * only. It's possible to use test selectors for limiting the export - * to one package in a multipackage binary. - *--------------------------------------------------------------------*/ - static void writeCaselistsToStdout (TestPackageRoot& root, TestContext& testCtx) - { - DefaultHierarchyInflater inflater(testCtx); - de::MovePtr caseListFilter( - testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive())); - TestHierarchyIterator iter(root, inflater, *caseListFilter); +using std::string; - while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) { - iter.next(); - tcu::TestNode* testNode = iter.getNode(); - while (testNode->getNodeType() != NODETYPE_PACKAGE) { - if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE) - std::cout << (isTestNodeTypeExecutable(testNode->getNodeType()) ? "TEST" : "GROUP") - << ": " << iter.getNodePath() << "\n"; - iter.next(); - } - - DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && - testNode->getNodeType() == NODETYPE_PACKAGE); - iter.next(); - }; +/* + * \brief Construct test application + * + * If a fatal error occurs during initialization constructor will call + * die() with debug information. + * + * \param platform Reference to platform implementation. + */ +ActsApp::ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) + : m_platform(platform), + m_watchDog(DE_NULL), + m_crashHandler(DE_NULL), + m_crashed(false), + m_testCtx(DE_NULL), + m_testRoot(DE_NULL), + m_sessionExecutor(DE_NULL) +{ + print("dEQP Core %s (0x%08x) starting..\n", qpGetReleaseName(), qpGetReleaseId()); + print(" target implementation = '%s'\n", qpGetTargetName()); + + if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST_EVEN)) { + qpPrintf("WARNING: Failed to set floating-point rounding mode!\n"); } - - - /*--------------------------------------------------------------------****! - * Verifies that amber capability requirements in the .amber files - * match with capabilities defined on the CTS C code. - ****--------------------------------------------------------------------*/ - static void verifyAmberCapabilityCoherency (TestPackageRoot& root, TestContext& testCtx) - { - DefaultHierarchyInflater inflater(testCtx); - de::MovePtr caseListFilter( - testCtx.getCommandLine().createCaseListFilter(testCtx.getArchive())); - TestHierarchyIterator iter(root, inflater, *caseListFilter); - int count = 0; - int errorCount = 0; - - bool ok = true; - - while (iter.getState() != TestHierarchyIterator::STATE_FINISHED) { - iter.next(); - tcu::TestNode* testNode = iter.getNode(); - while (testNode->getNodeType() != NODETYPE_PACKAGE) { - if (iter.getState() == TestHierarchyIterator::STATE_ENTER_NODE && - isTestNodeTypeExecutable(testNode->getNodeType())) { - std::cout << iter.getNodePath() << "\n"; - testCtx.getLog() << tcu::TestLog::Message << iter.getNodePath() << tcu::TestLog::EndMessage; - count++; - }; - iter.next(); - }; - - DE_ASSERT(iter.getState() == TestHierarchyIterator::STATE_LEAVE_NODE && - testNode->getNodeType() == NODETYPE_PACKAGE); - iter.next(); - }; - std::cout << count << " amber tests, " << errorCount << " errors.\n"; - if (!ok) { - TCU_THROW(InternalError, "One or more CTS&Amber test requirements do not match; check log for details"); - }; + try { + const RunMode runMode = cmdLine.getRunMode(); + + // Create test context + m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog); + + // Create root from registry + m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton()); + + // \note No executor is created if runmode is not EXECUTE + if (runMode == RUNMODE_EXECUTE) { + m_sessionExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx); + } else { + DE_ASSERT(false); + } + } catch (const std::exception& e) { + cleanup(); + die("Failed to initialize dEQP: %s", e.what()); } +} - /*--------------------------------------------------------------------****! - * \brief Construct test application - * - * If a fatal error occurs during initialization constructor will call - * die() with debug information. - * - * \param platform Reference to platform implementation. - *--------------------------------------------------------------------*/ - ActsApp::ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine) - : m_platform(platform), - m_watchDog(DE_NULL), - m_crashHandler(DE_NULL), - m_crashed(false), - m_testCtx(DE_NULL), - m_testRoot(DE_NULL), - m_testExecutor(DE_NULL) - { - print("dEQP Core %s (0x%08x) starting..\n", qpGetReleaseName(), qpGetReleaseId()); - print(" target implementation = '%s'\n", qpGetTargetName()); +ActsApp::~ActsApp (void) +{ + cleanup(); +} - if (!deSetRoundingMode(DE_ROUNDINGMODE_TO_NEAREST_EVEN)) { - qpPrintf("WARNING: Failed to set floating-point rounding mode!\n"); - }; +void ActsApp::cleanup (void) +{ + delete m_sessionExecutor; + delete m_testRoot; + delete m_testCtx; - try { - const RunMode runMode = cmdLine.getRunMode(); + m_sessionExecutor = DE_NULL; + m_testRoot = DE_NULL; + m_testCtx = DE_NULL; - // Initialize watchdog - if (cmdLine.isWatchDogEnabled()) { - TCU_CHECK_INTERNAL(m_watchDog = qpWatchDog_create(onWatchdogTimeout, this, - WATCHDOG_TOTAL_TIME_LIMIT_SECS, WATCHDOG_INTERVAL_TIME_LIMIT_SECS)); - }; - - // Initialize crash handler. - if (cmdLine.isCrashHandlingEnabled()) { - TCU_CHECK_INTERNAL(m_crashHandler = qpCrashHandler_create(onCrash, this)); - }; - - // Create test context - m_testCtx = new TestContext(m_platform, archive, log, cmdLine, m_watchDog); - - // Create root from registry - m_testRoot = new TestPackageRoot(*m_testCtx, TestPackageRegistry::getSingleton()); - - // \note No executor is created if runmode is not EXECUTE - if (runMode == RUNMODE_EXECUTE) { - m_testExecutor = new TestSessionExecutor(*m_testRoot, *m_testCtx); - } else if (runMode == RUNMODE_DUMP_STDOUT_CASELIST) { - writeCaselistsToStdout(*m_testRoot, *m_testCtx); - } else if (runMode == RUNMODE_DUMP_XML_CASELIST) { - writeXmlCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine); - } else if (runMode == RUNMODE_DUMP_TEXT_CASELIST) { - writeTxtCaselistsToFiles(*m_testRoot, *m_testCtx, cmdLine); - } else if (runMode == RUNMODE_VERIFY_AMBER_COHERENCY) { - verifyAmberCapabilityCoherency(*m_testRoot, *m_testCtx); - } else { - DE_ASSERT(false); - }; - } catch (const std::exception& e) { - cleanup(); - die("Failed to initialize dEQP: %s", e.what()); - }; + if (m_crashHandler) { + qpCrashHandler_destroy(m_crashHandler); } - ActsApp::~ActsApp (void) - { - cleanup(); + if (m_watchDog) { + qpWatchDog_destroy(m_watchDog); } +} - void ActsApp::cleanup (void) - { - delete m_testExecutor; - delete m_testRoot; - delete m_testCtx; - - m_testExecutor = DE_NULL - m_testRoot = DE_NULL - m_testCtx = DE_NULL - - if (m_crashHandler) { - qpCrashHandler_destroy(m_crashHandler); - }; - - if (m_watchDog) { - qpWatchDog_destroy(m_watchDog); - }; +/* + * \brief Step forward test execution + * \return true if application should call iterate() again and false + * if test execution session is complete. + */ +bool ActsApp::iterate (void) +{ + if (!m_sessionExecutor) { + DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE); + return false; } - /*--------------------------------------------------------------------****! - * \brief Step forward test execution - * \return true if application should call iterate() again and false - * if test execution session is complete. - ****--------------------------------------------------------------------*/ - bool ActsApp::iterate (void) - { - if (!m_testExecutor) { - DE_ASSERT(m_testCtx->getCommandLine().getRunMode() != RUNMODE_EXECUTE); - return false; - }; - - // Poll platform events - const bool platformOk = m_platform.processEvents(); - - // Iterate a step. - bool testExecOk = false; - if (platformOk) { - try { - testExecOk = m_testExecutor->iterate(); - } catch (const std::exception& e) { - die("%s", e.what()); - }; - }; + // Poll platform events + const bool platformOk = m_platform.processEvents(); - return platformOk && testExecOk; + // Iterate a step. + bool testExecOk = false; + if (platformOk) { + try { + testExecOk = m_sessionExecutor->iterate(); + } catch (const std::exception& e) { + die("%s", e.what()); + } } - const TestRunStatus& ActsApp::getResult (void) const - { - return m_testExecutor->getStatus(); - } -} // tcu \ No newline at end of file + return platformOk && testExecOk; +} + +const TestRunStatus& ActsApp::getResult (void) const +{ + return m_sessionExecutor->getStatus(); +} +} // tcu diff --git a/graphic/vkgl/src/ActsApp.h b/graphic/vkgl/src/ActsApp.h index debedf591..d7abf0c28 100755 --- a/graphic/vkgl/src/ActsApp.h +++ b/graphic/vkgl/src/ActsApp.h @@ -4,7 +4,7 @@ * 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 + * 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, @@ -13,49 +13,42 @@ * limitations under the License. */ -#ifndef _ActsApp_HPP -#define _ActsApp_HPP +#ifndef _ACTSAPP_HPP +#define _ACTSAPP_HPP #include "tcuDefs.hpp" #include "qpWatchDog.h" #include "qpCrashHandler.h" #include "deMutex.hpp" -#include "tcuResource.hpp" -#include "tcuPlatform.hpp" -#include "tcuTestContext.hpp" -#include "tcuTestSessionExecutor.hpp" -#include "tcuTestSessionExecutor.hpp" -#include "tcuCommandLine.hpp" -#include "tcuTestLog.hpp" -#include "tcuTestPackageRoot.hpp" #include "tcuTestSessionExecutor.hpp" +#include "tcuTestPackage.hpp" namespace tcu { - enum class EWATCHDOG { - WATCHDOG_TOTAL_TIME_LIMIT_SECS = 300, - WATCHDOG_INTERVAL_TIME_LIMIT_SECS = 30 - }; - - class ActsApp { - public: - ActsApp(Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine); - virtual ~ActsApp(void); - - bool iterate(void); - const TestRunStatus& getResult (void) const; - protected: - void cleanup (void); - - Platform& m_platform; - qpWatchDog* m_watchDog; - qpCrashHandler* m_crashHandler; - de::Mutex m_crashLock; - bool m_crashed; - - TestContext* m_testCtx; - TestPackageRoot* m_testRoot; - TestSessionExecutor* m_testExecutor; - }; +enum class EWATCHDOG { + WATCHDOG_TOTAL_TIME_LIMIT_SECS = 300, + WATCHDOG_INTERVAL_TIME_LIMIT_SECS = 30 +}; + +class ActsApp { +public: + ActsApp (Platform& platform, Archive& archive, TestLog& log, const CommandLine& cmdLine); + virtual ~ActsApp (void); + + bool iterate (void); + const TestRunStatus& getResult (void) const; + +protected: + void cleanup (void); + + Platform& m_platform; + qpWatchDog* m_watchDog; + qpCrashHandler* m_crashHandler; + de::Mutex m_crashLock; + bool m_crashed; + + TestContext* m_testCtx; + TestPackageRoot* m_testRoot; + TestSessionExecutor* m_sessionExecutor; +}; } // tcu - -#endif // _ActsApp_HPP \ No newline at end of file +#endif // _ACTSAPP_HPP \ No newline at end of file -- GitLab