dawn: Suppress tests that fail on ANGLE/SwiftShader
Fails roll of SwiftShader into Dawn. See crbug.com/dawn/1557 for details. Bug: dawn:1557 Change-Id: Ibe97f1c3083b1fe254dd935b4abfdfbea9e34050 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104260 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
2bcade246a
commit
d909f2b9c5
|
@ -700,6 +700,11 @@ bool DawnTestBase::IsANGLE() const {
|
|||
return !mParam.adapterProperties.adapterName.find("ANGLE");
|
||||
}
|
||||
|
||||
bool DawnTestBase::IsANGLESwiftShader() const {
|
||||
return !mParam.adapterProperties.adapterName.find("ANGLE") &&
|
||||
(mParam.adapterProperties.adapterName.find("SwiftShader") != std::string::npos);
|
||||
}
|
||||
|
||||
bool DawnTestBase::IsWARP() const {
|
||||
return gpu_info::IsMicrosoftWARP(mParam.adapterProperties.vendorID,
|
||||
mParam.adapterProperties.deviceID);
|
||||
|
|
|
@ -233,6 +233,7 @@ class DawnTestBase {
|
|||
bool IsQualcomm() const;
|
||||
bool IsSwiftshader() const;
|
||||
bool IsANGLE() const;
|
||||
bool IsANGLESwiftShader() const;
|
||||
bool IsWARP() const;
|
||||
|
||||
bool IsIntelGen12() const;
|
||||
|
|
|
@ -294,6 +294,9 @@ TEST_P(TriangleStripPrimitiveRestartTests, Uint32PrimitiveRestart) {
|
|||
// Same as the above test, but uses an OOB index to emulate primitive restart being disabled,
|
||||
// causing point C to be written to.
|
||||
TEST_P(TriangleStripPrimitiveRestartTests, Uint32WithoutPrimitiveRestart) {
|
||||
// TODO(crbug.com/dawn/1557): Remove suppression once ANGLE bug is fixed
|
||||
DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsANGLESwiftShader());
|
||||
|
||||
wgpu::RenderPipeline pipeline = MakeTestPipeline(wgpu::IndexFormat::Uint32);
|
||||
wgpu::Buffer indexBuffer =
|
||||
utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index,
|
||||
|
@ -419,6 +422,9 @@ TEST_P(LineStripPrimitiveRestartTests, Uint32PrimitiveRestart) {
|
|||
// Same as the above test, but uses an OOB index to emulate primitive restart being disabled,
|
||||
// causing point A to be written to.
|
||||
TEST_P(LineStripPrimitiveRestartTests, Uint32WithoutPrimitiveRestart) {
|
||||
// TODO(crbug.com/dawn/1557): Remove suppression once ANGLE bug is fixed
|
||||
DAWN_SUPPRESS_TEST_IF(IsOpenGLES() && IsANGLESwiftShader());
|
||||
|
||||
wgpu::RenderPipeline pipeline =
|
||||
MakeTestPipeline(wgpu::IndexFormat::Uint32, wgpu::PrimitiveTopology::LineStrip);
|
||||
|
||||
|
|
Loading…
Reference in New Issue