Home
last modified time | relevance | path

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

/third_party/mesa3d/src/vulkan/util/
Dvk_format.c395 unsigned char out_swizzle[4]) in vk_component_mapping_to_pipe_swizzle()
401 out_swizzle[i] = PIPE_SWIZZLE_X; in vk_component_mapping_to_pipe_swizzle()
404 out_swizzle[i] = PIPE_SWIZZLE_Y; in vk_component_mapping_to_pipe_swizzle()
407 out_swizzle[i] = PIPE_SWIZZLE_Z; in vk_component_mapping_to_pipe_swizzle()
410 out_swizzle[i] = PIPE_SWIZZLE_W; in vk_component_mapping_to_pipe_swizzle()
413 out_swizzle[i] = PIPE_SWIZZLE_X + i; in vk_component_mapping_to_pipe_swizzle()
416 out_swizzle[i] = PIPE_SWIZZLE_0; in vk_component_mapping_to_pipe_swizzle()
419 out_swizzle[i] = PIPE_SWIZZLE_1; in vk_component_mapping_to_pipe_swizzle()
Dvk_format.h93 unsigned char out_swizzle[4]);
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c273 unsigned int out_swizzle = swizzle; in rc_rewrite_swizzle() local
279 SET_SWZ(out_swizzle, chan, swz); in rc_rewrite_swizzle()
283 SET_SWZ(out_swizzle, chan, new_swz); in rc_rewrite_swizzle()
285 SET_SWZ(out_swizzle, chan, swz); in rc_rewrite_swizzle()
289 return out_swizzle; in rc_rewrite_swizzle()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c458 uint8_t out_swizzle[4]; in agx_create_sampler_view() local
464 util_format_compose_swizzles(desc->swizzle, view_swizzle, out_swizzle); in agx_create_sampler_view()
478 cfg.swizzle_r = agx_channel_from_pipe(out_swizzle[0]); in agx_create_sampler_view()
479 cfg.swizzle_g = agx_channel_from_pipe(out_swizzle[1]); in agx_create_sampler_view()
480 cfg.swizzle_b = agx_channel_from_pipe(out_swizzle[2]); in agx_create_sampler_view()
481 cfg.swizzle_a = agx_channel_from_pipe(out_swizzle[3]); in agx_create_sampler_view()