Lines Matching refs:granularity
132 // of the granularity. The width must also be a multiple of the granularity or eaqual to the width
136 const VkExtent2D& granularity,
140 if ((0 != granularity.width && 1 != granularity.width)) {
142 int rightAdj = srcBounds.fRight % granularity.width;
144 rightAdj = granularity.width - rightAdj;
151 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width;
159 if ((0 != granularity.height && 1 != granularity.height)) {
161 int bottomAdj = srcBounds.fBottom % granularity.height;
163 bottomAdj = granularity.height - bottomAdj;
170 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height;
194 // The bounds we use for the render pass should be of the granularity supported
196 const VkExtent2D& granularity = fCurrentRenderPass->granularity();
198 if ((0 != granularity.width && 1 != granularity.width) ||
199 (0 != granularity.height && 1 != granularity.height)) {
202 granularity,