Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c33 #define RAND_NUM_SIZE 8 macro
47 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()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c34 #define RAND_NUM_SIZE 8 macro
47 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()