Searched refs:sampler_idx (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_samplers.c | 129 int sampler_idx = in lower_sampler() local 132 if (sampler_idx >= 0) { in lower_sampler() 133 lower_tex_src_to_offset(b, instr, sampler_idx); in lower_sampler() 136 if (texture_idx < 0 && sampler_idx < 0) in lower_sampler()
|
/external/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 249 int sampler_idx = in lower_sampler() local 267 if (sampler_idx >= 0) { in lower_sampler() 268 assert(instr->src[sampler_idx].src.is_ssa); in lower_sampler() 270 lower_deref(b, state, nir_src_as_deref(instr->src[sampler_idx].src)); in lower_sampler() 273 nir_instr_rewrite_src(&instr->instr, &instr->src[sampler_idx].src, in lower_sampler()
|
D | gl_nir_link_uniforms.c | 546 int sampler_idx = in add_var_use_shader() local 553 if (sampler_idx >= 0) { in add_var_use_shader() 555 nir_src_as_deref(tex_instr->src[sampler_idx].src); in add_var_use_shader()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_uniforms.c | 129 uint32_t sampler_idx; in write_tmu_p1() local 135 NULL, &sampler_idx); in write_tmu_p1() 136 assert(sampler_idx != V3DV_NO_SAMPLER_IDX); in write_tmu_p1() 140 pipeline->layout, sampler_idx); in write_tmu_p1() 144 pipeline->layout, sampler_idx); in write_tmu_p1()
|
D | v3dv_pipeline.c | 769 int sampler_idx = in lower_sampler() local 772 if (sampler_idx >= 0) in lower_sampler() 773 lower_tex_src_to_offset(b, instr, sampler_idx, pipeline, layout); in lower_sampler() 775 if (texture_idx < 0 && sampler_idx < 0) in lower_sampler() 781 sampler_idx < 0 ? V3DV_NO_SAMPLER_IDX : instr->sampler_index); in lower_sampler()
|
D | v3dv_cmd_buffer.c | 2924 uint32_t sampler_idx; in cmd_buffer_populate_v3d_key() local 2927 &texture_idx, &sampler_idx); in cmd_buffer_populate_v3d_key() 2940 if (sampler_idx != V3DV_NO_SAMPLER_IDX) { in cmd_buffer_populate_v3d_key() 2945 sampler_idx); in cmd_buffer_populate_v3d_key()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_compiler_nir.c | 2047 int sampler_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_handle); in get_tex_samp_tex_src() local 2050 if (texture_idx >= 0 || sampler_idx >= 0) { in get_tex_samp_tex_src() 2076 if (sampler_idx >= 0) { in get_tex_samp_tex_src() 2078 bindless_samp = ir3_bindless_resource(tex->src[sampler_idx].src); in get_tex_samp_tex_src() 2128 sampler = ir3_get_src(ctx, &tex->src[sampler_idx].src)[0]; in get_tex_samp_tex_src() 2140 sampler_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_offset); in get_tex_samp_tex_src() 2155 if (sampler_idx >= 0) { in get_tex_samp_tex_src() 2156 sampler = ir3_get_src(ctx, &tex->src[sampler_idx].src)[0]; in get_tex_samp_tex_src()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 2114 const unsigned sampler_idx, in fetch_texel() argument 2132 sampler->get_samples(sampler, sview_idx, sampler_idx, in fetch_texel()
|