Home
last modified time | relevance | path

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

123

/third_party/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 …]
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_gds.cpp40 m_src_swizzle({PIPE_SWIZZLE_0, PIPE_SWIZZLE_X, PIPE_SWIZZLE_0}),
59 m_src_swizzle[2] = PIPE_SWIZZLE_0; in GDSInstr()
66 m_src_swizzle[1] = PIPE_SWIZZLE_0; in GDSInstr()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_shader.c171 PIPE_SWIZZLE_0, enumerator
181 PIPE_SWIZZLE_0, enumerator
187 PIPE_SWIZZLE_0, enumerator
188 PIPE_SWIZZLE_0, enumerator
189 PIPE_SWIZZLE_0, enumerator
191 PIPE_SWIZZLE_0, enumerator
201 PIPE_SWIZZLE_0, enumerator
211 PIPE_SWIZZLE_0, enumerator
221 PIPE_SWIZZLE_0, enumerator
/third_party/mesa3d/src/panfrost/lib/
Dpan_util.c39 unsigned translated = (swizzle[i] > PIPE_SWIZZLE_1) ? PIPE_SWIZZLE_0 : swizzle[i]; in panfrost_translate_swizzle_4()
52 out[c] = PIPE_SWIZZLE_0; in panfrost_invert_swizzle()
/third_party/mesa3d/src/gallium/frontends/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()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c244 if (view->swizzle_r == PIPE_SWIZZLE_0 && in translate_texture_format()
245 view->swizzle_g == PIPE_SWIZZLE_0 && in translate_texture_format()
246 view->swizzle_b == PIPE_SWIZZLE_0 && in translate_texture_format()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_formats.c378 info.swizzles[0] = PIPE_SWIZZLE_0; in crocus_format_for_usage()
379 info.swizzles[1] = PIPE_SWIZZLE_0; in crocus_format_for_usage()
380 info.swizzles[2] = PIPE_SWIZZLE_0; in crocus_format_for_usage()
Dcrocus_resource.h75 case PIPE_SWIZZLE_0: outswz[i] = PIPE_SWIZZLE_0; break; in crocus_combine_swizzle()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_format.c47 case PIPE_SWIZZLE_0: in fd6_pipe2swiz()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_conv.h224 return PIPE_SWIZZLE_0; in vk_conv_swizzle()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c381 case PIPE_SWIZZLE_0: in lp_build_swizzle_aos()
421 case PIPE_SWIZZLE_0: in lp_build_swizzle_aos()
585 case PIPE_SWIZZLE_0: in lp_build_swizzle_soa_channel()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c461 return PIPE_SWIZZLE_0; in vk_component_mapping_to_pipe_swizzle()
508 image_view_swizzle[1] = PIPE_SWIZZLE_0; in v3dv_CreateImageView()
509 image_view_swizzle[2] = PIPE_SWIZZLE_0; in v3dv_CreateImageView()
Dv3dvx_image.c41 case PIPE_SWIZZLE_0: in translate_swizzle()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_image.c71 out[i] = PIPE_SWIZZLE_0; in panvk_convert_swizzle()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c203 case PIPE_SWIZZLE_0: in tex_swiz()
/third_party/mesa3d/src/gallium/frontends/nine/
Dbasetexture9.c480 #define SWIZZLE_TO_REPLACE(s) (s == PIPE_SWIZZLE_0 || \
525 swizzle[1] = PIPE_SWIZZLE_0; in NineBaseTexture9_UpdateSamplerView()
526 swizzle[2] = PIPE_SWIZZLE_0; in NineBaseTexture9_UpdateSamplerView()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_format.c332 swiz[i] = PIPE_SWIZZLE_0; in get_texture_swiz()
341 STATIC_ASSERT(PIPE_SWIZZLE_0 == TEXTURE_SWIZZLE_ZERO); in get_texture_swiz()
/third_party/mesa3d/src/amd/vulkan/
Dvk_format.h89 return PIPE_SWIZZLE_0; in radv_swizzle_conv()
/third_party/mesa3d/src/gallium/tests/graw/
Dtex-swizzle.c193 return PIPE_SWIZZLE_0; in char_to_swizzle()
/third_party/mesa3d/src/util/format/
Du_format.c167 desc->swizzle[0] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
168 desc->swizzle[1] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
169 desc->swizzle[2] == PIPE_SWIZZLE_0 && in util_format_is_alpha()
952 else if (swz[i] == PIPE_SWIZZLE_0) in pipe_swizzle_4f()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1342 desc->swizzle[0] == PIPE_SWIZZLE_0 && in format_is_alpha()
1343 desc->swizzle[1] == PIPE_SWIZZLE_0 && in format_is_alpha()
1344 desc->swizzle[2] == PIPE_SWIZZLE_0 && in format_is_alpha()
1362 desc->swizzle[1] == PIPE_SWIZZLE_0 && in format_is_red()
1363 desc->swizzle[2] == PIPE_SWIZZLE_0 && in format_is_red()
1399 desc->swizzle[1] == PIPE_SWIZZLE_0 && in format_is_red_alpha()
1400 desc->swizzle[2] == PIPE_SWIZZLE_0 && in format_is_red_alpha()
1413 if ((desc->swizzle[0] == TGSI_SWIZZLE_X || desc->swizzle[0] == PIPE_SWIZZLE_0) && in format_is_swizzled_rgba()
1414 (desc->swizzle[1] == TGSI_SWIZZLE_Y || desc->swizzle[1] == PIPE_SWIZZLE_0) && in format_is_swizzled_rgba()
1415 (desc->swizzle[2] == TGSI_SWIZZLE_Z || desc->swizzle[2] == PIPE_SWIZZLE_0) && in format_is_swizzled_rgba()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c139 const unsigned char swizzles[4] = { PIPE_SWIZZLE_X, PIPE_SWIZZLE_0, in emit_facing_coef()
140 PIPE_SWIZZLE_0, PIPE_SWIZZLE_0 }; in emit_facing_coef()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_format.c192 PIPE_SWIZZLE_0, PIPE_SWIZZLE_1, PIPE_SWIZZLE_NONE }
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_emit.c103 case PIPE_SWIZZLE_0: in swizzled_border_color()
117 case PIPE_SWIZZLE_0: in translate_swizzle()

123