Searched refs:texture_idx (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_samplers.c | 120 int texture_idx = in lower_sampler() local 123 if (texture_idx >= 0) { in lower_sampler() 126 lower_tex_src_to_offset(b, instr, texture_idx); in lower_sampler() 136 if (texture_idx < 0 && sampler_idx < 0) in lower_sampler()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 277 int texture_idx = in lower_sampler() local 284 if (texture_idx >= 0) { in lower_sampler() 285 assert(instr->src[texture_idx].src.is_ssa); in lower_sampler() 288 lower_deref(b, state, nir_src_as_deref(instr->src[texture_idx].src)); in lower_sampler() 291 nir_instr_rewrite_src(&instr->instr, &instr->src[texture_idx].src, in lower_sampler()
|
D | gl_nir_link_uniforms.c | 576 int texture_idx = in add_var_use_shader() local 586 if (texture_idx >= 0) { in add_var_use_shader() 588 nir_src_as_deref(tex_instr->src[texture_idx].src); in add_var_use_shader()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_uniforms.c | 162 uint32_t texture_idx = v3d_unit_data_get_unit(data); in write_tmu_p0() local 171 pipeline->layout, texture_idx); in write_tmu_p0() 173 assert(texture_idx < V3D_MAX_TEXTURE_SAMPLERS); in write_tmu_p0() 174 tex_bos->tex[texture_idx] = texture_bo; in write_tmu_p0() 180 texture_idx); in write_tmu_p0() 440 uint32_t texture_idx = data; in get_texture_size() local 449 texture_idx, NULL); in get_texture_size()
|
D | v3dv_pipeline.c | 780 int texture_idx = in lower_sampler() local 783 if (texture_idx >= 0) in lower_sampler() 784 return_size = lower_tex_src_to_offset(b, instr, texture_idx, state); in lower_sampler() 792 if (texture_idx < 0 && sampler_idx < 0) in lower_sampler()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | robustness.cc | 229 auto texture_idx = signature.IndexOf(sem::ParameterUsage::kTexture); in Transform() local 234 auto* texture_arg = expr->args[texture_idx]; in Transform()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d40_tex.c | 229 unsigned texture_idx = instr->texture_index; in v3d40_vir_emit_tex() local 293 p0_packed |= texture_idx << 24; in v3d40_vir_emit_tex()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir.c | 1572 int texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in redirect_texture_derefs() local 1573 if (texture_idx == -1) { in redirect_texture_derefs() 1607 nir_deref_instr *final_deref = nir_src_as_deref(tex->src[texture_idx].src); in redirect_texture_derefs() 1639 nir_instr_rewrite_src_ssa(&tex->instr, &tex->src[texture_idx].src, &new_tail->dest.ssa); in redirect_texture_derefs()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_compiler_nir.c | 2788 int texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_handle); in get_tex_samp_tex_src() local 2792 if (texture_idx >= 0 || sampler_idx >= 0) { in get_tex_samp_tex_src() 2804 if (texture_idx >= 0) { in get_tex_samp_tex_src() 2806 bindless_tex = ir3_bindless_resource(tex->src[texture_idx].src); in get_tex_samp_tex_src() 2868 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0]; in get_tex_samp_tex_src() 2882 texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_offset); in get_tex_samp_tex_src() 2884 if (texture_idx >= 0) { in get_tex_samp_tex_src() 2885 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0]; in get_tex_samp_tex_src()
|