Home
last modified time | relevance | path

Searched refs:PIPE_SWIZZLE_0 (Results 1 – 25 of 31) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c513 if (swizzle[i] == PIPE_SWIZZLE_0 in translate_attr_convert()
521 if (swizzle[i] < PIPE_SWIZZLE_0 && swizzle[i] != i) in translate_attr_convert()
664 && swizzle[0] < PIPE_SWIZZLE_0 in translate_attr_convert()
665 && swizzle[1] < PIPE_SWIZZLE_0 in translate_attr_convert()
666 && swizzle[2] < PIPE_SWIZZLE_0 in translate_attr_convert()
667 && swizzle[3] < PIPE_SWIZZLE_0) { in translate_attr_convert()
672 && swizzle[0] < PIPE_SWIZZLE_0 in translate_attr_convert()
673 && swizzle[1] < PIPE_SWIZZLE_0) { in translate_attr_convert()
677 if (swizzle[0] < PIPE_SWIZZLE_0) { in translate_attr_convert()
682 imms[swizzle[0] - PIPE_SWIZZLE_0]); in translate_attr_convert()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_sampler.c78 if (desc->swizzle[1] == PIPE_SWIZZLE_0) { in default_template()
81 if (desc->swizzle[2] == PIPE_SWIZZLE_0) { in default_template()
97 PIPE_SWIZZLE_0); in u_sampler_view_default_template()
Du_format.c102 desc->swizzle[0] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
103 desc->swizzle[1] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
104 desc->swizzle[2] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
861 else if (swz[i] == PIPE_SWIZZLE_0) in pipe_swizzle_4f()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Ddevice.c319 if (desc->swizzle[0] == PIPE_SWIZZLE_0) in vlVdpDefaultSamplerViewTemplate()
321 if (desc->swizzle[1] == PIPE_SWIZZLE_0) in vlVdpDefaultSamplerViewTemplate()
323 if (desc->swizzle[2] == PIPE_SWIZZLE_0) in vlVdpDefaultSamplerViewTemplate()
325 if (desc->swizzle[3] == PIPE_SWIZZLE_0) in vlVdpDefaultSamplerViewTemplate()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c261 if ( view->swizzle_r == PIPE_SWIZZLE_0 && in translate_texture_format()
262 view->swizzle_g == PIPE_SWIZZLE_0 && in translate_texture_format()
263 view->swizzle_b == PIPE_SWIZZLE_0 && in translate_texture_format()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c301 case PIPE_SWIZZLE_0: return SQ_TEX_ZERO; in tex_swiz()
314 PIPE_SWIZZLE_0, PIPE_SWIZZLE_1, in fd2_tex_swiz()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c380 case PIPE_SWIZZLE_0: in lp_build_swizzle_aos()
418 case PIPE_SWIZZLE_0: in lp_build_swizzle_aos()
582 case PIPE_SWIZZLE_0: in lp_build_swizzle_soa_channel()
Dlp_bld_format_aos.c85 swizzle = PIPE_SWIZZLE_0; in lp_build_format_swizzle_aos()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_shader.c170 PIPE_SWIZZLE_0, enumerator
180 PIPE_SWIZZLE_0, enumerator
Dsvga_tgsi_vgpu10.c4928 swz_r < PIPE_SWIZZLE_0 ? swz_r : PIPE_SWIZZLE_X, in end_tex_swizzle()
4929 swz_g < PIPE_SWIZZLE_0 ? swz_g : PIPE_SWIZZLE_Y, in end_tex_swizzle()
4930 swz_b < PIPE_SWIZZLE_0 ? swz_b : PIPE_SWIZZLE_Z, in end_tex_swizzle()
4931 swz_a < PIPE_SWIZZLE_0 ? swz_a : PIPE_SWIZZLE_W); in end_tex_swizzle()
4938 writemask_0 = (((swz_r == PIPE_SWIZZLE_0) << 0) | in end_tex_swizzle()
4939 ((swz_g == PIPE_SWIZZLE_0) << 1) | in end_tex_swizzle()
4940 ((swz_b == PIPE_SWIZZLE_0) << 2) | in end_tex_swizzle()
4941 ((swz_a == PIPE_SWIZZLE_0) << 3)); in end_tex_swizzle()
/external/mesa3d/src/gallium/state_trackers/nine/
Dbasetexture9.c485 #define SWIZZLE_TO_REPLACE(s) (s == PIPE_SWIZZLE_0 || \
530 swizzle[1] = PIPE_SWIZZLE_0; in NineBaseTexture9_UpdateSamplerView()
531 swizzle[2] = PIPE_SWIZZLE_0; in NineBaseTexture9_UpdateSamplerView()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c931 desc->swizzle[0] == PIPE_SWIZZLE_0 && in format_is_alpha()
932 desc->swizzle[1] == PIPE_SWIZZLE_0 && in format_is_alpha()
933 desc->swizzle[2] == PIPE_SWIZZLE_0 && in format_is_alpha()
950 desc->swizzle[1] == PIPE_SWIZZLE_0 && in format_is_red()
951 desc->swizzle[2] == PIPE_SWIZZLE_0 && in format_is_red()
987 desc->swizzle[1] == PIPE_SWIZZLE_0 && in format_is_red_alpha()
988 desc->swizzle[2] == PIPE_SWIZZLE_0 && in format_is_red_alpha()
1000 if ((desc->swizzle[0] == TGSI_SWIZZLE_X || desc->swizzle[0] == PIPE_SWIZZLE_0) && in format_is_swizzled_rgba()
1001 (desc->swizzle[1] == TGSI_SWIZZLE_Y || desc->swizzle[1] == PIPE_SWIZZLE_0) && in format_is_swizzled_rgba()
1002 (desc->swizzle[2] == TGSI_SWIZZLE_Z || desc->swizzle[2] == PIPE_SWIZZLE_0) && in format_is_swizzled_rgba()
/external/mesa3d/src/gallium/tests/graw/
Dtex-swizzle.c193 return PIPE_SWIZZLE_0; in char_to_swizzle()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c101 case PIPE_SWIZZLE_0: in swizzled_border_color()
115 case PIPE_SWIZZLE_0: in translate_swizzle()
Dvc5_state.c628 case PIPE_SWIZZLE_0: in translate_swizzle()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c138 const unsigned char swizzles[4] = { PIPE_SWIZZLE_X, PIPE_SWIZZLE_0, in emit_facing_coef()
139 PIPE_SWIZZLE_0, PIPE_SWIZZLE_0 }; in emit_facing_coef()
/external/mesa3d/src/gallium/include/pipe/
Dp_defines.h588 PIPE_SWIZZLE_0, enumerator
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_tex.c40 case PIPE_SWIZZLE_0: in nv50_tic_swizzle()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_format.c377 case PIPE_SWIZZLE_0: return A3XX_TEX_ZERO; in tex_swiz()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1486 case PIPE_SWIZZLE_0: in get_gather_value()
2759 case PIPE_SWIZZLE_0: in do_swizzling()
2774 case PIPE_SWIZZLE_0: in do_swizzling()
2789 case PIPE_SWIZZLE_0: in do_swizzling()
2804 case PIPE_SWIZZLE_0: in do_swizzling()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_format.c430 case PIPE_SWIZZLE_0: return A5XX_TEX_ZERO; in tex_swiz()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_format.c428 case PIPE_SWIZZLE_0: return A4XX_TEX_ZERO; in tex_swiz()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_format.c326 STATIC_ASSERT(PIPE_SWIZZLE_0 == TEXTURE_SWIZZLE_ZERO); in get_texture_swiz()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c65 case PIPE_SWIZZLE_0: in si_map_swizzle()
4303 swizzle[2] = desc->nr_channels == 2 ? PIPE_SWIZZLE_Z : PIPE_SWIZZLE_0; in si_create_vertex_elements()
4304 swizzle[3] = desc->nr_channels == 2 ? PIPE_SWIZZLE_W : PIPE_SWIZZLE_0; in si_create_vertex_elements()
4310 swizzle[2] = PIPE_SWIZZLE_0; in si_create_vertex_elements()
4311 swizzle[3] = PIPE_SWIZZLE_0; in si_create_vertex_elements()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture.c141 case PIPE_SWIZZLE_0: in r300_get_swizzle_combined()

12