Home | History | Annotate | Download | only in vk

Lines Matching refs:granularity

1909 // of the granularity. The width must also be a multiple of the granularity or eaqual to the width
1912 const VkExtent2D& granularity, int maxWidth, int maxHeight) {
1914 if ((0 != granularity.width && 1 != granularity.width)) {
1916 int rightAdj = srcBounds.fRight % granularity.width;
1918 rightAdj = granularity.width - rightAdj;
1925 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width;
1933 if ((0 != granularity.height && 1 != granularity.height)) {
1935 int bottomAdj = srcBounds.fBottom % granularity.height;
1937 bottomAdj = granularity.height - bottomAdj;
1944 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height;
1966 // The bounds we use for the render pass should be of the granularity supported
1968 const VkExtent2D& granularity = renderPass->granularity();
1970 if ((0 != granularity.width && 1 != granularity.width) ||
1971 (0 != granularity.height && 1 != granularity.height)) {
1972 adjust_bounds_to_granularity(&adjustedBounds, *pBounds, granularity,