Home
last modified time | relevance | path

Searched refs:texture_idx (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c120 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()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_uniforms.c93 uint32_t texture_idx; in write_tmu_p0() local
99 &texture_idx, in write_tmu_p0()
105 pipeline->layout, texture_idx); in write_tmu_p0()
113 texture_idx); in write_tmu_p0()
289 uint32_t texture_idx; in get_texture_size() local
294 &texture_idx, in get_texture_size()
301 texture_idx, NULL); in get_texture_size()
Dv3dv_pipeline.c763 int texture_idx = in lower_sampler() local
766 if (texture_idx >= 0) in lower_sampler()
767 lower_tex_src_to_offset(b, instr, texture_idx, pipeline, layout); in lower_sampler()
775 if (texture_idx < 0 && sampler_idx < 0) in lower_sampler()
Dv3dv_cmd_buffer.c2923 uint32_t texture_idx; in cmd_buffer_populate_v3d_key() local
2927 &texture_idx, &sampler_idx); in cmd_buffer_populate_v3d_key()
2936 texture_idx, in cmd_buffer_populate_v3d_key()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c247 int texture_idx = in lower_sampler() local
254 if (texture_idx >= 0) { in lower_sampler()
255 assert(instr->src[texture_idx].src.is_ssa); in lower_sampler()
258 lower_deref(b, state, nir_src_as_deref(instr->src[texture_idx].src)); in lower_sampler()
261 nir_instr_rewrite_src(&instr->instr, &instr->src[texture_idx].src, in lower_sampler()
Dgl_nir_link_uniforms.c549 int texture_idx = in add_var_use_shader() local
559 if (texture_idx >= 0) { in add_var_use_shader()
561 nir_src_as_deref(tex_instr->src[texture_idx].src); in add_var_use_shader()
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c2046 int texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_handle); in get_tex_samp_tex_src() local
2050 if (texture_idx >= 0 || sampler_idx >= 0) { in get_tex_samp_tex_src()
2059 if (texture_idx >= 0) { in get_tex_samp_tex_src()
2061 bindless_tex = ir3_bindless_resource(tex->src[texture_idx].src); in get_tex_samp_tex_src()
2122 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0]; in get_tex_samp_tex_src()
2139 texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_offset); in get_tex_samp_tex_src()
2141 if (texture_idx >= 0) { in get_tex_samp_tex_src()
2142 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0]; in get_tex_samp_tex_src()