Searched refs:texture_idx (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_samplers.c120 int texture_idx = local in function:lower_sampler
123 if (texture_idx >= 0) {
126 lower_tex_src_to_offset(b, instr, texture_idx);
136 if (texture_idx < 0 && sampler_idx < 0)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dgl_nir_lower_samplers.c108 int texture_idx = local in function:lower_sampler
111 if (texture_idx >= 0) {
114 lower_tex_src_to_offset(b, instr, texture_idx);
124 if (texture_idx < 0 && sampler_idx < 0)
H A Dgl_nir_lower_samplers_as_deref.c232 int texture_idx = local in function:lower_sampler
239 if (texture_idx >= 0) {
240 assert(instr->src[texture_idx].src.is_ssa);
243 lower_deref(b, state, nir_src_as_deref(instr->src[texture_idx].src));
246 nir_instr_rewrite_src(&instr->instr, &instr->src[texture_idx].src,
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dgl_nir_lower_samplers_as_deref.c247 int texture_idx = local in function:lower_sampler
254 if (texture_idx >= 0) {
255 assert(instr->src[texture_idx].src.is_ssa);
258 lower_deref(b, state, nir_src_as_deref(instr->src[texture_idx].src));
261 nir_instr_rewrite_src(&instr->instr, &instr->src[texture_idx].src,
H A Dgl_nir_link_uniforms.c549 int texture_idx = local in function:add_var_use_shader
559 if (texture_idx >= 0) {
561 nir_src_as_deref(tex_instr->src[texture_idx].src);
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_uniforms.c142 uint32_t texture_idx = v3d_unit_data_get_unit(data); local in function:write_tmu_p0
151 pipeline->layout, texture_idx);
153 assert(texture_idx < V3D_MAX_TEXTURE_SAMPLERS);
154 tex_bos->tex[texture_idx] = texture_bo;
160 texture_idx);
363 uint32_t texture_idx = data; local in function:get_texture_size
372 texture_idx, NULL);
H A Dv3dv_pipeline.c756 int texture_idx = local in function:lower_sampler
759 if (texture_idx >= 0)
760 return_size = lower_tex_src_to_offset(b, instr, texture_idx, shader,
769 if (texture_idx < 0 && sampler_idx < 0)
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dv3d40_tex.c229 unsigned texture_idx = instr->texture_index; local in function:v3d40_vir_emit_tex
289 /* Load texture_idx number into the high bits of the texture address field,
293 p0_packed |= texture_idx << 24;
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_compiler_nir.c2255 int texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_handle); local in function:get_tex_samp_tex_src
2259 if (texture_idx >= 0 || sampler_idx >= 0) {
2271 if (texture_idx >= 0) {
2273 bindless_tex = ir3_bindless_resource(tex->src[texture_idx].src);
2337 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0];
2351 texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_offset);
2353 if (texture_idx >= 0) {
2354 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0];
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_compiler_nir.c1648 int texture_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_offset); local in function:get_tex_samp_tex_src
1652 if (texture_idx >= 0) {
1653 texture = ir3_get_src(ctx, &tex->src[texture_idx].src)[0];

Completed in 20 milliseconds