Commit 9ddfa060 by Martin Radev Committed by Commit Bot

Disable compute shader tests on Intel

The compute shader tests in angle_end2end_tests fail on Intel Linux. The patch disables the tests for Intel. TEST=angle_end2end_tests BUG=angleproject:1483 Change-Id: I303f0852ea3ccb65c1dd96a196a640c76cc519e4 Reviewed-on: https://chromium-review.googlesource.com/377318Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Olli Etuaho <oetuaho@nvidia.com> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent ab481645
...@@ -30,6 +30,12 @@ class ComputeShaderTestES3 : public ANGLETest ...@@ -30,6 +30,12 @@ class ComputeShaderTestES3 : public ANGLETest
// link a simple compute program. It should be successful. // link a simple compute program. It should be successful.
TEST_P(ComputeShaderTest, LinkComputeProgram) TEST_P(ComputeShaderTest, LinkComputeProgram)
{ {
if (IsIntel() && IsLinux())
{
std::cout << "Test skipped on Intel Linux due to failures." << std::endl;
return;
}
const std::string csSource = const std::string csSource =
"#version 310 es\n" "#version 310 es\n"
"layout(local_size_x=1) in;\n" "layout(local_size_x=1) in;\n"
...@@ -63,6 +69,11 @@ TEST_P(ComputeShaderTest, LinkComputeProgramNoLocalSizeLinkError) ...@@ -63,6 +69,11 @@ TEST_P(ComputeShaderTest, LinkComputeProgramNoLocalSizeLinkError)
// make sure that uniforms and uniform samplers get recorded // make sure that uniforms and uniform samplers get recorded
TEST_P(ComputeShaderTest, LinkComputeProgramWithUniforms) TEST_P(ComputeShaderTest, LinkComputeProgramWithUniforms)
{ {
if (IsIntel() && IsLinux())
{
std::cout << "Test skipped on Intel Linux due to failures." << std::endl;
return;
}
const std::string csSource = const std::string csSource =
"#version 310 es\n" "#version 310 es\n"
"precision mediump sampler2D;\n" "precision mediump sampler2D;\n"
...@@ -90,6 +101,11 @@ TEST_P(ComputeShaderTest, LinkComputeProgramWithUniforms) ...@@ -90,6 +101,11 @@ TEST_P(ComputeShaderTest, LinkComputeProgramWithUniforms)
// OpenGL ES 3.10, 7.3 Program Objects // OpenGL ES 3.10, 7.3 Program Objects
TEST_P(ComputeShaderTest, AttachMultipleShaders) TEST_P(ComputeShaderTest, AttachMultipleShaders)
{ {
if (IsIntel() && IsLinux())
{
std::cout << "Test skipped on Intel Linux due to failures." << std::endl;
return;
}
const std::string csSource = const std::string csSource =
"#version 310 es\n" "#version 310 es\n"
"layout(local_size_x=1) in;\n" "layout(local_size_x=1) in;\n"
...@@ -142,6 +158,11 @@ TEST_P(ComputeShaderTest, AttachMultipleShaders) ...@@ -142,6 +158,11 @@ TEST_P(ComputeShaderTest, AttachMultipleShaders)
// Query for the number of attached shaders and check the count. // Query for the number of attached shaders and check the count.
TEST_P(ComputeShaderTest, AttachmentCount) TEST_P(ComputeShaderTest, AttachmentCount)
{ {
if (IsIntel() && IsLinux())
{
std::cout << "Test skipped on Intel Linux due to failures." << std::endl;
return;
}
const std::string csSource = const std::string csSource =
"#version 310 es\n" "#version 310 es\n"
"layout(local_size_x=1) in;\n" "layout(local_size_x=1) in;\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment