Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer_upload.c761 unsigned nearest_range; in svga_buffer_add_range() local
767 nearest_range = sbuf->map.num_ranges; in svga_buffer_add_range()
770 nearest_range = SVGA_BUFFER_MAX_RANGES - 1; in svga_buffer_add_range()
800 nearest_range = i; in svga_buffer_add_range()
833 assert(nearest_range < SVGA_BUFFER_MAX_RANGES); in svga_buffer_add_range()
834 assert(nearest_range < sbuf->map.num_ranges); in svga_buffer_add_range()
835 sbuf->map.ranges[nearest_range].start = in svga_buffer_add_range()
836 MIN2(sbuf->map.ranges[nearest_range].start, start); in svga_buffer_add_range()
837 sbuf->map.ranges[nearest_range].end = in svga_buffer_add_range()
838 MAX2(sbuf->map.ranges[nearest_range].end, end); in svga_buffer_add_range()