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.c764 unsigned nearest_range; in svga_buffer_add_range() local
770 nearest_range = sbuf->map.num_ranges; in svga_buffer_add_range()
773 nearest_range = SVGA_BUFFER_MAX_RANGES - 1; in svga_buffer_add_range()
803 nearest_range = i; in svga_buffer_add_range()
836 assert(nearest_range < SVGA_BUFFER_MAX_RANGES); in svga_buffer_add_range()
837 assert(nearest_range < sbuf->map.num_ranges); in svga_buffer_add_range()
838 sbuf->map.ranges[nearest_range].start = in svga_buffer_add_range()
839 MIN2(sbuf->map.ranges[nearest_range].start, start); in svga_buffer_add_range()
840 sbuf->map.ranges[nearest_range].end = in svga_buffer_add_range()
841 MAX2(sbuf->map.ranges[nearest_range].end, end); in svga_buffer_add_range()