Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c196 if ( (view->swizzle_r != PIPE_SWIZZLE_X || in translate_texture_format()
251 if ( view->swizzle_r == PIPE_SWIZZLE_X && in translate_texture_format()
252 view->swizzle_g == PIPE_SWIZZLE_X && in translate_texture_format()
253 view->swizzle_b == PIPE_SWIZZLE_X && in translate_texture_format()
256 if ( view->swizzle_r == PIPE_SWIZZLE_X && in translate_texture_format()
257 view->swizzle_g == PIPE_SWIZZLE_X && in translate_texture_format()
258 view->swizzle_b == PIPE_SWIZZLE_X && in translate_texture_format()
259 view->swizzle_a == PIPE_SWIZZLE_X) in translate_texture_format()
264 view->swizzle_a == PIPE_SWIZZLE_X) in translate_texture_format()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.c85 desc->swizzle[0] == PIPE_SWIZZLE_X && in util_format_is_luminance()
86 desc->swizzle[1] == PIPE_SWIZZLE_X && in util_format_is_luminance()
87 desc->swizzle[2] == PIPE_SWIZZLE_X && in util_format_is_luminance()
105 desc->swizzle[3] == PIPE_SWIZZLE_X) { in util_format_is_alpha()
199 desc->swizzle[0] == PIPE_SWIZZLE_X && in util_format_is_luminance_alpha()
200 desc->swizzle[1] == PIPE_SWIZZLE_X && in util_format_is_luminance_alpha()
201 desc->swizzle[2] == PIPE_SWIZZLE_X && in util_format_is_luminance_alpha()
217 desc->swizzle[0] == PIPE_SWIZZLE_X && in util_format_is_intensity()
218 desc->swizzle[1] == PIPE_SWIZZLE_X && in util_format_is_intensity()
219 desc->swizzle[2] == PIPE_SWIZZLE_X && in util_format_is_intensity()
[all …]
Du_sampler.c55 view->swizzle_r = PIPE_SWIZZLE_X; in default_template()
/external/mesa3d/src/gallium/tests/graw/
Dtex-swizzle.c185 return PIPE_SWIZZLE_X; in char_to_swizzle()
197 return PIPE_SWIZZLE_X; in char_to_swizzle()
208 swizzle[0] = PIPE_SWIZZLE_X; in main()
Dtex-srgb.c179 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in init_tex()
194 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in init_tex()
Dgraw_util.h320 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in graw_util_create_simple_sampler_view()
/external/mesa3d/src/gallium/state_trackers/nine/
Dbasetexture9.c513 swizzle[0] = PIPE_SWIZZLE_X; in NineBaseTexture9_UpdateSamplerView()
534 swizzle[1] = PIPE_SWIZZLE_X; in NineBaseTexture9_UpdateSamplerView()
535 swizzle[2] = PIPE_SWIZZLE_X; in NineBaseTexture9_UpdateSamplerView()
536 swizzle[3] = PIPE_SWIZZLE_X; in NineBaseTexture9_UpdateSamplerView()
540 swizzle[1] = PIPE_SWIZZLE_X; in NineBaseTexture9_UpdateSamplerView()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c364 if (swizzles[0] == PIPE_SWIZZLE_X && in lp_build_swizzle_aos()
375 case PIPE_SWIZZLE_X: in lp_build_swizzle_aos()
411 case PIPE_SWIZZLE_X: in lp_build_swizzle_aos()
577 case PIPE_SWIZZLE_X: in lp_build_swizzle_soa_channel()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c143 int index = desc->swizzle[i] - PIPE_SWIZZLE_X; in vi_get_fast_clear_parameters()
145 if (desc->swizzle[i] < PIPE_SWIZZLE_X || in vi_get_fast_clear_parameters()
179 desc->swizzle[i] - PIPE_SWIZZLE_X != extra_channel && in vi_get_fast_clear_parameters()
180 desc->swizzle[i] >= PIPE_SWIZZLE_X && in vi_get_fast_clear_parameters()
Dsi_state.c3506 if (swizzle[3] == PIPE_SWIZZLE_X) { in gfx9_border_color_swizzle()
3517 } else if (swizzle[0] == PIPE_SWIZZLE_X) { in gfx9_border_color_swizzle()
3522 } else if (swizzle[1] == PIPE_SWIZZLE_X) { in gfx9_border_color_swizzle()
3524 } else if (swizzle[2] == PIPE_SWIZZLE_X) { in gfx9_border_color_swizzle()
4301 swizzle[0] = PIPE_SWIZZLE_X; in si_create_vertex_elements()
4308 swizzle[0] = PIPE_SWIZZLE_X; /* 3 loads */ in si_create_vertex_elements()
4315 swizzle[0] = PIPE_SWIZZLE_X; /* 2 loads */ in si_create_vertex_elements()
4324 assert(desc->swizzle[0] == PIPE_SWIZZLE_X); in si_create_vertex_elements()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c271 if (alpha_swizzle == PIPE_SWIZZLE_X && num_channels == 1) { in lp_build_blend_factor()
376 boolean alpha_only = nr_channels == 1 && alpha_swizzle == PIPE_SWIZZLE_X; in lp_build_blend_aos()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c77 src_templ->swizzle_r = PIPE_SWIZZLE_X; in default_src_texture()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_shader.c166 PIPE_SWIZZLE_X, enumerator
176 PIPE_SWIZZLE_X, enumerator
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c312 …sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = sv_templ.swizzle_a = PIPE_SWIZZLE_X; in vl_video_buffer_sampler_view_planes()
359 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in vl_video_buffer_sampler_view_components()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c297 case PIPE_SWIZZLE_X: return SQ_TEX_X; in tex_swiz()
/external/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c200 STATIC_ASSERT(PIPE_SWIZZLE_X == 0); in v3d40_vir_emit_tex()
Dv3d33_tex.c211 STATIC_ASSERT(PIPE_SWIZZLE_X == 0); in v3d33_vir_emit_tex()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c71 if (desc->swizzle[0] == PIPE_SWIZZLE_X && in get_canonical_format()
200 if (desc->swizzle[i] != PIPE_SWIZZLE_X + i) in has_identity_swizzle()
Dst_cb_texture.c934 desc->swizzle[3] == PIPE_SWIZZLE_X) in format_is_alpha()
949 desc->swizzle[0] == PIPE_SWIZZLE_X && in format_is_red()
968 desc->swizzle[0] == PIPE_SWIZZLE_X && in format_is_luminance()
969 desc->swizzle[1] == PIPE_SWIZZLE_X && in format_is_luminance()
970 desc->swizzle[2] == PIPE_SWIZZLE_X && in format_is_luminance()
986 desc->swizzle[0] == PIPE_SWIZZLE_X && in format_is_red_alpha()
1203 templ.swizzle_r = PIPE_SWIZZLE_X; in try_pbo_upload_common()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_image.c110 fd5_tex_swiz(img->pfmt, PIPE_SWIZZLE_X, PIPE_SWIZZLE_Y, in emit_image_tex()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c119 case PIPE_SWIZZLE_X: in translate_swizzle()
195 unpacked.swizzle_r = translate_swizzle(PIPE_SWIZZLE_X); in emit_one_texture()
/external/mesa3d/src/gallium/include/pipe/
Dp_defines.h584 PIPE_SWIZZLE_X, enumerator
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c660 …sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = sv_templ.swizzle_a = PIPE_SWIZZLE_X; in nouveau_video_buffer_sampler_view_planes()
698 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in nouveau_video_buffer_sampler_view_components()
Dnouveau_vp3_video.c144 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in nouveau_vp3_video_buffer_create()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_tex.c34 case PIPE_SWIZZLE_X : return fmt->tic.src_x; in nv50_tic_swizzle()

123