Searched refs:search_swizzle (Results 1 – 1 of 1) sorted by relevance
995 search_swizzle(const unsigned char swizzle[4], unsigned component) in search_swizzle() function1042 sv->swizzle_r = search_swizzle(desc->swizzle, c0); in setup_sampler_swizzle()1043 sv->swizzle_g = search_swizzle(desc->swizzle, c1); in setup_sampler_swizzle()1044 sv->swizzle_b = search_swizzle(desc->swizzle, c2); in setup_sampler_swizzle()1045 sv->swizzle_a = search_swizzle(desc->swizzle, c3); in setup_sampler_swizzle()