Searched refs:texture_idx (Results 1 – 7 of 7) sorted by relevance
/external/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()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_uniforms.c | 93 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()
|
D | v3dv_pipeline.c | 763 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()
|
D | v3dv_cmd_buffer.c | 2923 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/ |
D | gl_nir_lower_samplers_as_deref.c | 247 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()
|
D | gl_nir_link_uniforms.c | 549 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/ |
D | ir3_compiler_nir.c | 2046 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()
|