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