Home
last modified time | relevance | path

Searched refs:swizzle_r (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c176 if ((view->swizzle_r != PIPE_SWIZZLE_X || in translate_texture_format()
234 if (view->swizzle_r == PIPE_SWIZZLE_X && in translate_texture_format()
239 if (view->swizzle_r == PIPE_SWIZZLE_X && in translate_texture_format()
244 if (view->swizzle_r == PIPE_SWIZZLE_0 && in translate_texture_format()
250 view->swizzle_r, view->swizzle_g, view->swizzle_b, in translate_texture_format()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_tile_cache.c113 tc->swizzle_r == view->swizzle_r && in sp_tex_tile_is_compat_view()
141 tc->swizzle_r = view->swizzle_r; in sp_tex_tile_cache_set_sampler_view()
Dsp_tex_tile_cache.h97 unsigned swizzle_r; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c211 fd2_tex_swiz(enum pipe_format format, unsigned swizzle_r, unsigned swizzle_g, in fd2_tex_swiz() argument
216 swizzle_r, in fd2_tex_swiz()
Dfd2_util.h45 uint32_t fd2_tex_swiz(enum pipe_format format, unsigned swizzle_r,
Dfd2_texture.c191 fd2_tex_swiz(cso->format, cso->swizzle_r, cso->swizzle_g, in fd2_sampler_view_create()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_image.c72 tex.swizzle_r = v3d_translate_pipe_swizzle(image_view->swizzle[0]); in pack_texture_shader_state_helper()
142 tex.swizzle_r = v3d_translate_pipe_swizzle(PIPE_SWIZZLE_X); in v3dX()
/third_party/mesa3d/src/gallium/tests/graw/
Dtex-srgb.c179 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in init_tex()
194 sv_temp.swizzle_r = PIPE_SWIZZLE_X; in init_tex()
Dtex-swizzle.c142 sv_template.swizzle_r = swizzle[0]; in init_tex()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_format.h39 uint32_t fd3_tex_swiz(enum pipe_format format, unsigned swizzle_r,
Dfd3_texture.c168 fd3_tex_swiz(cso->format, cso->swizzle_r, cso->swizzle_g, in fd3_sampler_view_create()
Dfd3_format.c377 fd3_tex_swiz(enum pipe_format format, unsigned swizzle_r, unsigned swizzle_g, in fd3_tex_swiz() argument
382 swizzle_r, in fd3_tex_swiz()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_format.h40 uint32_t fd4_tex_swiz(enum pipe_format format, unsigned swizzle_r,
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_format.h40 uint32_t fd5_tex_swiz(enum pipe_format format, unsigned swizzle_r,
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.h35 unsigned swizzle_r:3; member
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_format.h50 get_texture_swiz(enum pipe_format fmt, unsigned swizzle_r,
Detnaviv_format.c321 get_texture_swiz(enum pipe_format fmt, unsigned swizzle_r, in get_texture_swiz() argument
325 swizzle_r, swizzle_g, swizzle_b, swizzle_a, in get_texture_swiz()
Detnaviv_context.c194 key.tex_swizzle[i].swizzle_r = ctx->sampler_view[i]->swizzle_r; in etna_get_fs()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Ddevice.c113 sv_tmpl.swizzle_r = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11()
322 templ->swizzle_r = PIPE_SWIZZLE_1; in vlVdpDefaultSamplerViewTemplate()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_sampler.c55 view->swizzle_r = PIPE_SWIZZLE_X; in default_template()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c477 return ((sv->swizzle_r != GET_SWZ(swizzle, 0)) || in check_sampler_swizzle()
616 templ.swizzle_r = GET_SWZ(swizzle, 0); in st_create_texture_sampler_view_from_stobj()
740 templ.swizzle_r = PIPE_SWIZZLE_X; in st_get_buffer_sampler_view_from_stobj()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c228 uint8_t swiz[4] = {cso->swizzle_r, cso->swizzle_g, cso->swizzle_b, in fd6_sampler_view_update()
249 .swiz = {cso->swizzle_r, cso->swizzle_g, cso->swizzle_b, in fd6_sampler_view_update()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex_shadow.c121 nir_ssa_def *r[4] = {lookup[state->tex_swizzles[sampler_binding].swizzle_r], in nir_lower_tex_shadow_impl()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h172 unsigned swizzle_r:3; /**< PIPE_SWIZZLE_* */ member
509 swizzles[0] = bld->static_texture_state->swizzle_r; in apply_sampler_swizzle()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c239 …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()
286 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in vl_video_buffer_sampler_view_components()

1234