Lines Matching defs:desc
375 void GrVkRenderTarget::getAttachmentsDescriptor(GrVkRenderPass::AttachmentsDescriptor* desc,
383 desc->fColor.fFormat = colorAttachment->imageFormat();
384 desc->fColor.fSamples = colorAttachment->numSamples();
389 desc->fResolve.fFormat = desc->fColor.fFormat;
390 desc->fResolve.fSamples = 1;
400 desc->fStencil.fFormat = vkStencil->imageFormat();
401 desc->fStencil.fSamples = vkStencil->numSamples();
402 SkASSERT(desc->fStencil.fSamples == desc->fColor.fSamples);
406 desc->fAttachmentCount = attachmentCount;
411 GrVkRenderPass::AttachmentsDescriptor* desc,
416 desc->fColor.fFormat = format;
417 desc->fColor.fSamples = programInfo.numSamples();
422 desc->fResolve.fFormat = desc->fColor.fFormat;
423 desc->fResolve.fSamples = 1;
431 desc->fStencil.fFormat = stencilFormat;
432 desc->fStencil.fSamples = programInfo.numSamples();
433 SkASSERT(desc->fStencil.fSamples == desc->fColor.fSamples);
437 desc->fAttachmentCount = attachmentCount;