Searched refs:nr_layers (Results 1 – 1 of 1) sorted by relevance
1612 unsigned nr_layers, layer, i; in util_gen_mipmap() local1616 nr_layers = u_minify(pt->depth0, dstLevel); in util_gen_mipmap()1618 nr_layers = pt->array_size; in util_gen_mipmap()1620 nr_layers = 1; in util_gen_mipmap()1622 for (i = 0; i < nr_layers; i++) { in util_gen_mipmap()1629 rcoord = (float)layer / (float)nr_layers + 1.0f / (float)(nr_layers * 2); in util_gen_mipmap()