Skip to content

Commit

Permalink
Update tests to account for sample count defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde committed Feb 3, 2022
1 parent 7b752f5 commit 7a920fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions impeller/renderer/renderer_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ TEST_F(RendererTest, CanRenderMultiplePrimitives) {
ASSERT_TRUE(context);
using BoxPipelineBuilder = PipelineBuilder<VS, FS>;
auto desc = BoxPipelineBuilder::MakeDefaultPipelineDescriptor(*context);
ASSERT_TRUE(desc.has_value());
desc->SetSampleCount(SampleCount::kCount4);
auto box_pipeline =
context->GetPipelineLibrary()->GetRenderPipeline(std::move(desc)).get();
ASSERT_TRUE(box_pipeline);
Expand Down

0 comments on commit 7a920fd

Please sign in to comment.