Fix msaa on GrVkRenderTarget
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1977113002 Review-Url: https://codereview.chromium.org/1977113002
This commit is contained in:
parent
93bc24e8b0
commit
72ac55f8e0
@ -35,7 +35,7 @@ GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu,
|
||||
, GrRenderTarget(gpu, desc, kUnified_SampleConfig)
|
||||
, fFramebuffer(nullptr)
|
||||
, fColorAttachmentView(colorAttachmentView)
|
||||
, fMSAAImage(new GrVkImage(info, GrVkImage::kNot_Wrapped))
|
||||
, fMSAAImage(new GrVkImage(msaaInfo, GrVkImage::kNot_Wrapped))
|
||||
, fResolveAttachmentView(resolveAttachmentView)
|
||||
, fCachedSimpleRenderPass(nullptr) {
|
||||
SkASSERT(desc.fSampleCnt);
|
||||
@ -60,7 +60,7 @@ GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu,
|
||||
, GrRenderTarget(gpu, desc, kUnified_SampleConfig)
|
||||
, fFramebuffer(nullptr)
|
||||
, fColorAttachmentView(colorAttachmentView)
|
||||
, fMSAAImage(new GrVkImage(info, GrVkImage::kNot_Wrapped))
|
||||
, fMSAAImage(new GrVkImage(msaaInfo, GrVkImage::kNot_Wrapped))
|
||||
, fResolveAttachmentView(resolveAttachmentView)
|
||||
, fCachedSimpleRenderPass(nullptr) {
|
||||
SkASSERT(desc.fSampleCnt);
|
||||
|
Loading…
Reference in New Issue
Block a user