Home
last modified time | relevance | path

Searched refs:nir_tex_instr_src_index (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tex.cpp40 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_normalized()
62 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_unnormalized()
143 assert(nir_tex_instr_src_index(tex, nir_tex_src_ddx) < 0); in lower_txl_txf_array_or_cube()
144 assert(nir_tex_instr_src_index(tex, nir_tex_src_ddy) < 0); in lower_txl_txf_array_or_cube()
148 int lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_lod); in lower_txl_txf_array_or_cube()
149 int bias_idx = nir_tex_instr_src_index(tex, nir_tex_src_bias); in lower_txl_txf_array_or_cube()
150 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in lower_txl_txf_array_or_cube()
258 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in r600_nir_lower_cube_to_2darray_impl()
275 int ddx_idx = nir_tex_instr_src_index(tex, nir_tex_src_ddx); in r600_nir_lower_cube_to_2darray_impl()
280 int ddy_idx = nir_tex_instr_src_index(tex, nir_tex_src_ddy); in r600_nir_lower_cube_to_2darray_impl()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex.c103 int proj_index = nir_tex_instr_src_index(tex, nir_tex_src_projector); in project_src()
166 int offset_index = nir_tex_instr_src_index(tex, nir_tex_src_offset); in lower_offset()
170 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_offset()
229 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_rect()
247 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_rect_tex_scale()
262 assert(nir_tex_instr_src_index(tex, nir_tex_src_lod) < 0); in lower_lod()
263 assert(nir_tex_instr_src_index(tex, nir_tex_src_ddx) < 0); in lower_lod()
264 assert(nir_tex_instr_src_index(tex, nir_tex_src_ddy) < 0); in lower_lod()
266 int bias_idx = nir_tex_instr_src_index(tex, nir_tex_src_bias); in lower_lod()
273 int min_lod_idx = nir_tex_instr_src_index(tex, nir_tex_src_min_lod); in lower_lod()
[all …]
Dnir_lower_tex_shadow.c87 int comp_index = nir_tex_instr_src_index(tex, nir_tex_src_comparator); in nir_lower_tex_shadow_impl()
93 int sampler_index = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in nir_lower_tex_shadow_impl()
106 int proj_index = nir_tex_instr_src_index(tex, nir_tex_src_projector); in nir_lower_tex_shadow_impl()
Dnir_lower_samplers.c121 nir_tex_instr_src_index(instr, nir_tex_src_texture_deref); in lower_sampler()
130 nir_tex_instr_src_index(instr, nir_tex_src_sampler_deref); in lower_sampler()
Dnir_opt_constant_folding.c313 const int bias_idx = nir_tex_instr_src_index(tex, nir_tex_src_bias); in try_fold_txb_to_tex()
336 const int src_idx = nir_tex_instr_src_index(tex, src_type); in try_fold_tex_offset()
/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_lower_txp.c88 int proj_idx = nir_tex_instr_src_index(tex, nir_tex_src_projector); in lima_nir_lower_txp_instr()
89 int coords_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lima_nir_lower_txp_instr()
158 nir_tex_instr_remove_src(tex, nir_tex_instr_src_index(tex, nir_tex_src_coord)); in lima_nir_lower_txp_instr()
159 nir_tex_instr_remove_src(tex, nir_tex_instr_src_index(tex, nir_tex_src_projector)); in lima_nir_lower_txp_instr()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c114 int plane_index = nir_tex_instr_src_index(tex, nir_tex_src_plane); in lower_tex_src_plane_block()
124 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex_src_plane_block()
140 int samp_index = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_tex_src_plane_block()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tex_prefetch.c110 return nir_tex_instr_src_index(tex, type) >= 0; in has_src()
116 int idx = nir_tex_instr_src_index(tex, type); in ok_bindless_src()
181 int idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_tex_prefetch_block()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c80 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in dx_get_texture_lod()
340 int lod_index = nir_tex_instr_src_index(tex, nir_tex_src_lod); in evalute_active_lod()
344 int ddx_index = nir_tex_instr_src_index(tex, nir_tex_src_ddx); in evalute_active_lod()
345 int ddy_index = nir_tex_instr_src_index(tex, nir_tex_src_ddy); in evalute_active_lod()
385 int bias_index = nir_tex_instr_src_index(tex, nir_tex_src_bias); in evalute_active_lod()
427 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_sample_to_txf_for_integer_tex_impl()
490 int offset_index = nir_tex_instr_src_index(tex, nir_tex_src_offset); in lower_sample_to_txf_for_integer_tex_impl()
Ddxil_nir_lower_int_cubemaps.c112 int sampler_deref = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_int_cubmap_to_array_filter()
427 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_cube_sample()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c44 int coord_index = nir_tex_instr_src_index(instr, nir_tex_src_coord); in v3d_nir_lower_txf_ms_instr()
45 int sample_index = nir_tex_instr_src_index(instr, nir_tex_src_ms_index); in v3d_nir_lower_txf_ms_instr()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_nir_lower_descriptors.c442 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex()
471 int sampler_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_tex()
494 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c278 nir_tex_instr_src_index(instr, nir_tex_src_texture_deref); in lower_sampler()
280 nir_tex_instr_src_index(instr, nir_tex_src_sampler_deref); in lower_sampler()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c2581 int tex_src = nir_tex_instr_src_index(instr, tex_src_type); in ntt_push_tex_arg()
2612 int sampler_src = nir_tex_instr_src_index(instr, nir_tex_src_sampler_offset); in ntt_emit_texture()
2620 if (nir_tex_instr_src_size(instr, nir_tex_instr_src_index(instr, nir_tex_src_backend1)) > in ntt_emit_texture()
2631 int lod_src = nir_tex_instr_src_index(instr, nir_tex_src_lod); in ntt_emit_texture()
2691 int ddx = nir_tex_instr_src_index(instr, nir_tex_src_ddx); in ntt_emit_texture()
2692 int ddy = nir_tex_instr_src_index(instr, nir_tex_src_ddy); in ntt_emit_texture()
2727 int tex_offset_src = nir_tex_instr_src_index(instr, nir_tex_src_offset); in ntt_emit_texture()
3442 int tex_src = nir_tex_instr_src_index(instr, tex_src_type); in nir_to_tgsi_lower_tex_instr_arg()
3469 if (nir_tex_instr_src_index(tex, nir_tex_src_coord) < 0) in nir_to_tgsi_lower_tex_instr()
3613 if (nir_tex_instr_src_index(tex, nir_tex_src_projector) < 0) in nir_to_tgsi_lower_txp()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c147 if (op == nir_texop_txf && nir_tex_instr_src_index(tex, nir_tex_src_comparator) != -1) in create_array_tex_from_cube_tex()
416 int bias_idx = nir_tex_instr_src_index(tex, nir_tex_src_bias); in lower_tex_to_txl()
462 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_cube_sample()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_from_nir.cpp3002 int biasIdx = nir_tex_instr_src_index(insn, nir_tex_src_bias); in visit()
3003 int compIdx = nir_tex_instr_src_index(insn, nir_tex_src_comparator); in visit()
3004 int coordsIdx = nir_tex_instr_src_index(insn, nir_tex_src_coord); in visit()
3005 int ddxIdx = nir_tex_instr_src_index(insn, nir_tex_src_ddx); in visit()
3006 int ddyIdx = nir_tex_instr_src_index(insn, nir_tex_src_ddy); in visit()
3007 int msIdx = nir_tex_instr_src_index(insn, nir_tex_src_ms_index); in visit()
3008 int lodIdx = nir_tex_instr_src_index(insn, nir_tex_src_lod); in visit()
3009 int offsetIdx = nir_tex_instr_src_index(insn, nir_tex_src_offset); in visit()
3010 int sampOffIdx = nir_tex_instr_src_index(insn, nir_tex_src_sampler_offset); in visit()
3011 int texOffIdx = nir_tex_instr_src_index(insn, nir_tex_src_texture_offset); in visit()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_nir_optim.c43 int tex_index = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in get_tex_unit()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c464 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex_ycbcr()
535 int sampler_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in lower_tex()
544 int tex_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_tex()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c115 int deref_src_idx = nir_tex_instr_src_index(tex, deref_src_type); in add_tex_src_binding()
1115 int deref_src_idx = nir_tex_instr_src_index(tex, deref_src_type); in lower_tex_deref()
1190 assert(nir_tex_instr_src_index(tex, nir_tex_src_plane) == -1); in lower_tex_deref()
1212 int plane_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_plane); in tex_instr_get_and_remove_plane_src()
1248 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in lower_gfx7_tex_swizzle()
Danv_nir_lower_ycbcr_textures.c213 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in anv_nir_lower_ycbcr_textures_instr()
/third_party/mesa3d/docs/nir/
Dtex.rst53 .. doxygenfunction:: nir_tex_instr_src_index
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c296 int sampler_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in clc_nir_dedupe_const_samplers_instr()
Dclc_compiler.c245 nir_tex_instr_remove_src(tex, nir_tex_instr_src_index(tex, nir_tex_src_texture_deref)); in clc_lower_input_image_deref()
343 int sampler_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_sampler_deref); in clc_lower_nonnormalized_samplers()
362 int coords_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in clc_lower_nonnormalized_samplers()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c224 int deref_src_idx = nir_tex_instr_src_index(tex, nir_tex_src_texture_deref); in try_lower_tex_ycbcr()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c183 int deref_src_idx = nir_tex_instr_src_index(tex, deref_src_type); in lower_vri_instr_tex_deref()

12