Home | History | Annotate | Download | only in vk

Lines Matching refs:msImageDesc

128         GrVkImage::ImageDesc msImageDesc;
129 msImageDesc.fImageType = VK_IMAGE_TYPE_2D;
130 msImageDesc.fFormat = pixelFormat;
131 msImageDesc.fWidth = desc.fWidth;
132 msImageDesc.fHeight = desc.fHeight;
133 msImageDesc.fLevels = 1;
134 msImageDesc.fSamples = desc.fSampleCnt;
135 msImageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL;
136 msImageDesc.fUsageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT;
137 msImageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
139 msaaResource = GrVkImage::CreateResource(gpu, msImageDesc);