Searched refs:RAND_NUM_SIZE (Results 1 – 2 of 2) sorted by relevance
33 #define RAND_NUM_SIZE 8 macro47 tex->stride = align(templ->width0 * bpp, RAND_NUM_SIZE); in alloc_cpu_texture()73 unsigned size = cpu->stride / RAND_NUM_SIZE; in set_random_pixels()75 assert(t->stride % RAND_NUM_SIZE == 0); in set_random_pixels()76 assert(cpu->stride % RAND_NUM_SIZE == 0); in set_random_pixels()
34 #define RAND_NUM_SIZE 8 macro47 tex->stride = align(util_format_get_stride(templ->format, templ->width0), RAND_NUM_SIZE); in alloc_cpu_texture()69 unsigned size = cpu->stride / RAND_NUM_SIZE; in set_random_pixels()71 assert(t->stride % RAND_NUM_SIZE == 0); in set_random_pixels()72 assert(cpu->stride % RAND_NUM_SIZE == 0); in set_random_pixels()