Searched refs:max_buffer_offset (Results 1 – 1 of 1) sorted by relevance
4949 …VkDeviceSize max_buffer_offset = (z_copies - 1) * buffer_height * buffer_width; // offset to … in ValidateBufferBounds() local4950 …max_buffer_offset += ((copy_extent.height - 1) * buffer_width) + copy_extent.width; // add row,col in ValidateBufferBounds()4951 …max_buffer_offset *= unit_size; // convert to… in ValidateBufferBounds()4952 …max_buffer_offset += pRegions[i].bufferOffset; // add initia… in ValidateBufferBounds()4954 if (buffer_size < max_buffer_offset) { in ValidateBufferBounds()