Home
last modified time | relevance | path

Searched refs:out_swizzle (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_array_merge.cpp371 uint16_t out_swizzle = 0; in move_read_swizzles() local
376 out_swizzle |= orig_swz << 3 * new_idx; in move_read_swizzles()
378 return out_swizzle; in move_read_swizzles()
383 uint16_t out_swizzle = 0; in map_swizzles() local
386 out_swizzle |= swz << 3 * idx; in map_swizzles()
388 return out_swizzle; in map_swizzles()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c266 unsigned int out_swizzle = swizzle; in rc_rewrite_swizzle() local
272 SET_SWZ(out_swizzle, chan, swz); in rc_rewrite_swizzle()
276 SET_SWZ(out_swizzle, chan, new_swz); in rc_rewrite_swizzle()
278 SET_SWZ(out_swizzle, chan, swz); in rc_rewrite_swizzle()
282 return out_swizzle; in rc_rewrite_swizzle()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c453 uint8_t out_swizzle[4]; in agx_create_sampler_view() local
459 util_format_compose_swizzles(desc->swizzle, view_swizzle, out_swizzle); in agx_create_sampler_view()
469 cfg.swizzle_r = agx_channel_from_pipe(out_swizzle[0]); in agx_create_sampler_view()
470 cfg.swizzle_g = agx_channel_from_pipe(out_swizzle[1]); in agx_create_sampler_view()
471 cfg.swizzle_b = agx_channel_from_pipe(out_swizzle[2]); in agx_create_sampler_view()
472 cfg.swizzle_a = agx_channel_from_pipe(out_swizzle[3]); in agx_create_sampler_view()