[Impeller] Fix pipeline attachment layout in CanRenderToTexture. (flutter/engine#50413)
The pipeline descriptor defaults changed, so we need to align the attachments to the RenderPass in this test. Should fix https://github.com/flutter/flutter/issues/142868.
This commit is contained in:
@@ -291,6 +291,8 @@ TEST_P(RendererTest, CanRenderToTexture) {
|
||||
auto pipeline_desc =
|
||||
BoxPipelineBuilder::MakeDefaultPipelineDescriptor(*context);
|
||||
pipeline_desc->SetSampleCount(SampleCount::kCount1);
|
||||
pipeline_desc->ClearDepthAttachment();
|
||||
pipeline_desc->SetStencilPixelFormat(PixelFormat::kS8UInt);
|
||||
|
||||
ASSERT_TRUE(pipeline_desc.has_value());
|
||||
auto box_pipeline =
|
||||
|
||||
Reference in New Issue
Block a user