Minor: Change the names of the intermediates for the wrapped render target.

This used to be from the playground.
This commit is contained in:
Chinmay Garde
2021-12-28 17:01:23 -08:00
committed by Dan Field
parent 107c9ba6b1
commit 74112baee7

View File

@@ -43,7 +43,7 @@ std::unique_ptr<Surface> SurfaceMTL::WrapCurrentMetalLayerDrawable(
return nullptr;
}
msaa_tex->SetLabel("PlaygroundMainColor4xMSAA");
msaa_tex->SetLabel("ImpellerOnscreenColor4xMSAA");
TextureDescriptor onscreen_tex_desc;
onscreen_tex_desc.format = PixelFormat::kB8G8R8A8UNormInt;
@@ -67,7 +67,7 @@ std::unique_ptr<Surface> SurfaceMTL::WrapCurrentMetalLayerDrawable(
static_cast<TextureUsageMask>(TextureUsage::kRenderTarget);
auto stencil_texture = context->GetPermanentsAllocator()->CreateTexture(
StorageMode::kDeviceTransient, stencil0_tex);
stencil_texture->SetLabel("PlaygroundMainStencil");
stencil_texture->SetLabel("ImpellerOnscreenStencil");
StencilAttachment stencil0;
stencil0.texture = stencil_texture;