Home
last modified time | relevance | path

Searched refs:nearest_range (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c746 unsigned nearest_range; in svga_buffer_add_range() local
752 nearest_range = sbuf->map.num_ranges; in svga_buffer_add_range()
755 nearest_range = SVGA_BUFFER_MAX_RANGES - 1; in svga_buffer_add_range()
785 nearest_range = i; in svga_buffer_add_range()
818 assert(nearest_range < SVGA_BUFFER_MAX_RANGES); in svga_buffer_add_range()
819 assert(nearest_range < sbuf->map.num_ranges); in svga_buffer_add_range()
820 sbuf->map.ranges[nearest_range].start = in svga_buffer_add_range()
821 MIN2(sbuf->map.ranges[nearest_range].start, start); in svga_buffer_add_range()
822 sbuf->map.ranges[nearest_range].end = in svga_buffer_add_range()
823 MAX2(sbuf->map.ranges[nearest_range].end, end); in svga_buffer_add_range()