Home
last modified time | relevance | path

Searched refs:tex_info (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c115 struct lp_tgsi_texture_info *tex_info = &info->tex[info->num_texs]; in analyse_tex() local
119 tex_info->target = inst->Texture.Texture; in analyse_tex()
161 tex_info->sampler_unit = inst->Src[3].Register.Index; in analyse_tex()
162 tex_info->texture_unit = inst->Src[3].Register.Index; in analyse_tex()
169 tex_info->sampler_unit = inst->Src[1].Register.Index; in analyse_tex()
170 tex_info->texture_unit = inst->Src[1].Register.Index; in analyse_tex()
174 struct lp_tgsi_channel_info *chan_info = &tex_info->coord[chan]; in analyse_tex()
211 struct lp_tgsi_texture_info *tex_info = &info->tex[info->num_texs]; in analyse_sample() local
243 tex_info->target = target; in analyse_sample()
244 tex_info->texture_unit = inst->Src[1].Register.Index; in analyse_sample()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_analysis.c320 struct lp_tgsi_texture_info *tex_info = &info->tex[info->num_texs]; in llvmpipe_nir_fn_is_linear_compat() local
337 tex_info->modifier = LP_BLD_TEX_MODIFIER_NONE; in llvmpipe_nir_fn_is_linear_compat()
341 tex_info->modifier = LP_BLD_TEX_MODIFIER_EXPLICIT_LOD; in llvmpipe_nir_fn_is_linear_compat()
346 tex_info->target = TGSI_TEXTURE_2D; in llvmpipe_nir_fn_is_linear_compat()
350 tex_info->target = TGSI_TEXTURE_1D; in llvmpipe_nir_fn_is_linear_compat()
354 tex_info->sampler_unit = tex->sampler_index; in llvmpipe_nir_fn_is_linear_compat()
355 tex_info->texture_unit = tex->texture_index; in llvmpipe_nir_fn_is_linear_compat()
358 tex_info->coord[0].file = TGSI_FILE_INPUT; // S in llvmpipe_nir_fn_is_linear_compat()
359 tex_info->coord[1].file = TGSI_FILE_INPUT; // T in llvmpipe_nir_fn_is_linear_compat()
362 tex_info->coord[0].swizzle = texcoord_swizzle[0]; // S in llvmpipe_nir_fn_is_linear_compat()
[all …]
Dlp_linear.c167 const struct lp_tgsi_texture_info *tex_info = &info->tex[i]; in lp_fs_linear_run() local
168 const unsigned tex_unit = tex_info->texture_unit; in lp_fs_linear_run()
169 const unsigned samp_unit = tex_info->sampler_unit; in lp_fs_linear_run()
182 if (!lp_linear_init_sampler(&samp[i], tex_info, in lp_fs_linear_run()
273 const struct lp_tgsi_texture_info *tex_info = &info->tex[i]; in check_linear_interp_mask_b() local
274 const struct lp_tgsi_channel_info *schan = &tex_info->coord[0]; in check_linear_interp_mask_b()
275 const struct lp_tgsi_channel_info *tchan = &tex_info->coord[1]; in check_linear_interp_mask_b()
312 const struct lp_tgsi_texture_info *tex_info = &info->tex[i]; in lp_linear_check_variant() local
313 const unsigned unit = tex_info->sampler_unit; in lp_linear_check_variant()
325 if (!lp_linear_check_sampler(samp, tex_info)) { in lp_linear_check_variant()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c1318 struct pvr_texture_state_info tex_info; in pvr_device_init_compute_idfwdf_state() local
1375 tex_info = (struct pvr_texture_state_info){ in pvr_device_init_compute_idfwdf_state()
1392 result = pvr_pack_tex_state(device, &tex_info, image_state); in pvr_device_init_compute_idfwdf_state()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c2756 tex_info(nir_tex_instr *tex, unsigned *flagsp, unsigned *coordsp) in tex_info() function
3044 tex_info(tex, &flags, &coords); in emit_tex()
3332 tex_info(tex, &flags, &coords); in emit_tex_txs()
/third_party/mesa3d/docs/relnotes/
D20.0.0.rst1813 - freedreno/ir3: add GLSL_SAMPLER_DIM_SUBPASS to tex_info
D20.1.0.rst1592 tex_info.
D22.2.0.rst1148 - llvmpipe: add missing tex_info->texture_unit assignment