Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
857e87f7
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
857e87f7
编写于
6月 27, 2022
作者:
P
peibibao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add testcase
Signed-off-by:
N
peibibao
<
peibibao@kaihongdigi.com
>
上级
40f25c82
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
1967 addition
and
0 deletion
+1967
-0
graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp
...hrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp
+157
-0
graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp
...khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp
+130
-0
graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp
.../Khrgles31geometry_shader_layered_framebufferTestCase.cpp
+130
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp
...hrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp
.../Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp
...Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp
...hrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp
.../Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp
...e/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp
.../Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp
...re/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp
...e/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp
...rgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp
+130
-0
graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp
...rgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp
+130
-0
graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp
...les31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp
+130
-0
graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp
...er_tessellation_shader_triangles_tessellationTestCase.cpp
+103
-0
graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp
...rgles31texture_storage_multisample_GLCoverageTestCase.cpp
+130
-0
未找到文件。
graphic/vkgl/src/khrgles31/core/Khrgles31core_shader_group_voteTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002261
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002261 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_"
"group_vote.availability"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002261 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002261 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002262
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002262 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_g"
"roup_vote.all_invocations"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002262 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002262 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002263
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002263 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_g"
"roup_vote.any_invocation"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002263 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002263 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002264
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002264 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_grou"
"p_vote.all_invocations_equal"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002264 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002264 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002265
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002265 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_group_v"
"ote.invocations_with_variables"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002265 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002265 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_inputTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002450
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002450 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shad"
"er.input.gl_in_array_contents"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002450 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002450 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002451
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002451 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_sha"
"der.input.gl_in_array_length"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002451 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002451 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002452
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002452 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_sha"
"der.input.gl_pointsize_value"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002452 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002452 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002453
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002453 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_sh"
"ader.input.gl_position_value"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002453 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002453 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002482
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002482 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.l"
"ayered_framebuffer.stencil_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002482 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002482 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002483
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002483 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader."
"layered_framebuffer.depth_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002483 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002483 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002484
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002484 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.la"
"yered_framebuffer.blending_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002484 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002484 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002485
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002485 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.geometry_shader.lay"
"ered_framebuffer.clear_call_support"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002485 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002485 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000742
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000742 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba32f.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000742 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000742 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000743
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000743 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba32f.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000743 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000743 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000744
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000744 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba32f.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000744 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000744 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000733
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000733 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_centroid_check.rgba8.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000733 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000733 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000734
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000734 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_centroid_check.rgba8.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000734 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000734 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000735
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000735 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_centroid_check.rgba8.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000735 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000735 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000736
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000736 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba8i.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000736 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000736 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000737
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000737 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba8i.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000737 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000737 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000738
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000738 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba8i.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000738 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000738 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000739
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000739 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba8ui.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000739 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000739 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000740
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000740 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba8ui.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000740 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000740 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000741
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000741 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.re"
"nder.interpolate_at_centroid_check.rgba8ui.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000741 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000741 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000766
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000766 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba32f.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000766 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000766 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000767
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000767 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba32f.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000767 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000767 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000768
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000768 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba32f.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000768 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000768 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000760
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000760 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba8i.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000760 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000760 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000761
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000761 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba8i.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000761 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000761 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000762
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000762 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba8i.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000762 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000762 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000763
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000763 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba8ui.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000763 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000763 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000764
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000764 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba8ui.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000764 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000764 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000765
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000765 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_offset_check.rgba8ui.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000765 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000765 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000709
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000709 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation."
"render.interpolate_at_sample_check.rgba8.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000709 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000709 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000710
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000710 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation."
"render.interpolate_at_sample_check.rgba8.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000710 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000710 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000711
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000711 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation."
"render.interpolate_at_sample_check.rgba8.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000711 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000711 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000712
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000712 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_sample_check.rgba8i.samples_1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000712 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000712 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000713
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000713 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_sample_check.rgba8i.samples_2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000713 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000713 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000714
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000714 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_multisample_interpolation.r"
"ender.interpolate_at_sample_check.rgba8i.samples_4"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000714 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000714 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000380
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000380 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packSnorm4x8.0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000380 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000380 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000381
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000381 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packSnorm4x8.1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000381 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000381 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000382
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000382 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packSnorm4x8.2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000382 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000382 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000383
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000383 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packSnorm4x8.3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000383 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000383 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000376
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000376 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packUnorm4x8.0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000376 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000376 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000377
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000377 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packUnorm4x8.1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000377 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000377 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000378
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000378 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packUnorm4x8.2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000378 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000378 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000379
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000379 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfi"
"eld_operation.packUnorm4x8.3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000379 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000379 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000384
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000384 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfie"
"ld_operation.unpackUnorm4x8.0"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000384 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000384 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000385
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000385 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfie"
"ld_operation.unpackUnorm4x8.1"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000385 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000385 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000386
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000386 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfie"
"ld_operation.unpackUnorm4x8.2"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000386 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000386 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000387
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000387 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.shader_bitfie"
"ld_operation.unpackUnorm4x8.3"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000387 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000387 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310003TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002585
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002585 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_"
"shader_triangles_tessellation.degenerate_triangle"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002585 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002585 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002586
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002586 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_"
"shader_triangles_tessellation.identical_triangles"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002586 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002586 end"
;
}
static
HWTEST_F
(
ActsKhrgles310003TestSuite
,
TestCase_002587
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002587 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.tessellation_shader.tessellation_shader_"
"triangles_tessellation.inner_tessellation_level_rounding"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310003TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310003TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310003TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310003TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310003TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_002587 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_002587 end"
;
}
graphic/vkgl/src/khrgles31/core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp
0 → 100644
浏览文件 @
857e87f7
/*
* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <gtest/gtest.h>
#include "../Khrgles31BaseFunc.h"
#include "../ActsKhrgles310001TestSuite.h"
using
namespace
std
;
using
namespace
testing
::
ext
;
using
namespace
OHOS
;
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000049
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000049 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.GLC"
"overage.extension_specific_enums_are_recognized"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000049 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000049 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000050
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000050 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.GLCoverage.get_tex_para"
"meter_reports_correct_default_values_for_multisample_texture_targets"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000050 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000050 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000051
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000051 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.GLCover"
"age.gl_sample_mask_mode_status_is_reported_correctly"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000051 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000051 end"
;
}
static
HWTEST_F
(
ActsKhrgles310001TestSuite
,
TestCase_000052
,
Function
|
MediumTest
|
Level2
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000052 start"
;
int
argc
=
3
;
const
char
*
argv
[
3
]
=
{
"."
,
"--deqp-case="
"KHR-GLES31.core.texture_storage_multisample.GLCover"
"age.gl_tex_parameter_handlers_accept_zero_base_level"
,
"--deqp-archive-dir=/data/local/tmp/"
};
FuncRunResult
result
=
RunTestKHRGLES
(
argc
,
argv
);
ActsKhrgles310001TestSuite
::
runResult
.
numPassed
+=
result
.
numPassed
;
ActsKhrgles310001TestSuite
::
runResult
.
numFailed
+=
result
.
numFailed
;
ActsKhrgles310001TestSuite
::
runResult
.
numNotSupported
+=
result
.
numNotSupported
;
ActsKhrgles310001TestSuite
::
runResult
.
numWarnings
+=
result
.
numWarnings
;
ActsKhrgles310001TestSuite
::
runResult
.
numWaived
+=
result
.
numWaived
;
if
(
result
.
numNotSupported
==
1
)
{
GTEST_LOG_
(
INFO
)
<<
"TestCase_000052 notsupport!"
;
}
else
if
(
result
.
isComplete
)
{
EXPECT_TRUE
(
result
.
isComplete
);
EXPECT_TRUE
(
result
.
numPassed
==
1
);
};
GTEST_LOG_
(
INFO
)
<<
"TestCase_000052 end"
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录