Searched refs:si_map_swizzle (Results 1 – 2 of 2) sorted by relevance
2105 view->state[3] = (S_008F1C_DST_SEL_X(si_map_swizzle(swizzle[0])) | in si_create_sampler_view()2106 S_008F1C_DST_SEL_Y(si_map_swizzle(swizzle[1])) | in si_create_sampler_view()2107 S_008F1C_DST_SEL_Z(si_map_swizzle(swizzle[2])) | in si_create_sampler_view()2108 S_008F1C_DST_SEL_W(si_map_swizzle(swizzle[3])) | in si_create_sampler_view()2368 v->rsrc_word3[i] = S_008F0C_DST_SEL_X(si_map_swizzle(desc->swizzle[0])) | in si_create_vertex_elements()2369 S_008F0C_DST_SEL_Y(si_map_swizzle(desc->swizzle[1])) | in si_create_vertex_elements()2370 S_008F0C_DST_SEL_Z(si_map_swizzle(desc->swizzle[2])) | in si_create_vertex_elements()2371 S_008F0C_DST_SEL_W(si_map_swizzle(desc->swizzle[3])) | in si_create_vertex_elements()
234 static INLINE unsigned si_map_swizzle(unsigned swizzle) in si_map_swizzle() function