Skip deprecation warning expectations in RenderPipelineValidationTests
A commit conflict caused this to be included by mistake even if it is failing. TBR=bajones@chromium.org TBR=enga@chromium.org Bug: None Change-Id: Ie4352d0b955d34af6f9614f0c6a6dad1e42da826 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45241 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
bff9d3a357
commit
3e5701c1a4
|
@ -59,7 +59,7 @@ TEST_F(RenderPipelineValidationTest, CreationSuccess) {
|
||||||
descriptor.vertexStage.module = vsModule;
|
descriptor.vertexStage.module = vsModule;
|
||||||
descriptor.cFragmentStage.module = fsModule;
|
descriptor.cFragmentStage.module = fsModule;
|
||||||
|
|
||||||
EXPECT_DEPRECATION_WARNING(device.CreateRenderPipeline(&descriptor));
|
device.CreateRenderPipeline(&descriptor);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// Vertex input should be optional
|
// Vertex input should be optional
|
||||||
|
@ -68,7 +68,7 @@ TEST_F(RenderPipelineValidationTest, CreationSuccess) {
|
||||||
descriptor.cFragmentStage.module = fsModule;
|
descriptor.cFragmentStage.module = fsModule;
|
||||||
descriptor.vertexState = nullptr;
|
descriptor.vertexState = nullptr;
|
||||||
|
|
||||||
EXPECT_DEPRECATION_WARNING(device.CreateRenderPipeline(&descriptor));
|
device.CreateRenderPipeline(&descriptor);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// Rasterization state should be optional
|
// Rasterization state should be optional
|
||||||
|
@ -76,7 +76,7 @@ TEST_F(RenderPipelineValidationTest, CreationSuccess) {
|
||||||
descriptor.vertexStage.module = vsModule;
|
descriptor.vertexStage.module = vsModule;
|
||||||
descriptor.cFragmentStage.module = fsModule;
|
descriptor.cFragmentStage.module = fsModule;
|
||||||
descriptor.rasterizationState = nullptr;
|
descriptor.rasterizationState = nullptr;
|
||||||
EXPECT_DEPRECATION_WARNING(device.CreateRenderPipeline(&descriptor));
|
device.CreateRenderPipeline(&descriptor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue