Home
last modified time | relevance | path

Searched refs:nir_tex_src_coord (Results 1 – 25 of 81) sorted by relevance

1234

/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c42 nir_def *coord = nir_steal_tex_src(instr, nir_tex_src_coord); in v3d_nir_lower_txf_ms_instr()
57 nir_tex_instr_add_src(instr, nir_tex_src_coord, coord); in v3d_nir_lower_txf_ms_instr()
/external/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_lower_txp.c81 int coords_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lima_nir_lower_txp_instr()
149 nir_tex_instr_remove_src(tex, nir_tex_instr_src_index(tex, nir_tex_src_coord)); in lima_nir_lower_txp_instr()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c55 case nir_tex_src_coord: in vc4_nir_lower_txf_ms_instr()
110 txf->src[0] = nir_tex_src_for_ssa(nir_tex_src_coord, in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/compiler/nir/
Dnir_lower_drawpixels.c125 nir_tex_src_for_ssa(nir_tex_src_coord, in lower_color()
165 tex->src[2] = nir_tex_src_for_ssa(nir_tex_src_coord, in lower_color()
179 tex->src[0] = nir_tex_src_for_ssa(nir_tex_src_coord, in lower_color()
Dnir_normalize_cubemap_coords.c43 int idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in normalize_cubemap_coords()
Dnir_lower_tex.c113 case nir_tex_src_coord: in project_src()
126 if (tex->is_array && tex->src[i].src_type == nir_tex_src_coord) { in project_src()
165 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_offset()
225 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_rect()
241 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_rect_tex_scale()
255 nir_def *coords = nir_steal_tex_src(tex, nir_tex_src_coord); in lower_1d()
283 nir_tex_instr_add_src(tex, nir_tex_src_coord, coords); in lower_1d()
787 tex->src[nir_tex_instr_src_index(tex, nir_tex_src_coord)].src.ssa; in lower_gradient_cube_map()
946 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_tex_to_txd()
1013 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in saturate_src()
[all …]
Dnir_lower_fb_read.c69 tex->src[0] = nir_tex_src_for_ssa(nir_tex_src_coord, in nir_lower_fb_read_instr()
Dnir_lower_bitmap.c93 tex->src[2] = nir_tex_src_for_ssa(nir_tex_src_coord, in lower_bitmap()
Dnir_builtin_builder.c304 if ((tex->src[i].src_type == nir_tex_src_coord && include_coord) || in nir_build_texture_query()
330 if ((tex->src[i].src_type == nir_tex_src_coord && include_coord) || in nir_build_texture_query()
Dnir_lower_readonly_images_to_tex.c157 tex->src[1] = nir_tex_src_for_ssa(nir_tex_src_coord, coord); in lower_readonly_image_instr_intrinsic()
Dnir_lower_input_attachments.c129 tex->src[1] = nir_tex_src_for_ssa(nir_tex_src_coord, coord); in try_lower_input_load()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tex.cpp21 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_normalized()
45 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_coord_shift_unnormalized()
245 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in r600_nir_lower_cube_to_2darray_impl()
/external/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_samplers.c59 if (tex->src[i].src_type == nir_tex_src_coord || in dx_get_texture_lod()
87 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in dx_get_texture_lod()
91 tql->src[0].src_type = nir_tex_src_coord; in dx_get_texture_lod()
328 nir_tex_instr_add_src(load, nir_tex_src_coord, texcoord); in load_texel()
443 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_sample_to_txf_for_integer_tex_impl()
Ddxil_nir_lower_int_cubemaps.c184 nir_src *psrc = (tex->src[i].src_type == nir_tex_src_coord) ? in create_array_tex_from_cube_tex()
401 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_cube_sample()
/external/mesa3d/src/amd/common/nir/
Dac_nir_meta_ps_resolve.c17 nir_tex_src_for_ssa(nir_tex_src_coord, coord), in build_tex_load_ms()
107 nir_tex_src_for_ssa(nir_tex_src_coord, coord), in ac_create_resolve_ps()
Dac_nir_lower_tex.c164 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_array_layer_round_even()
204 int coord_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_tex()
327 nir_tex_src *src = &tex->src[nir_tex_instr_src_index(tex, nir_tex_src_coord)]; in move_tex_coords()
366 nir_tex_instr_remove_src(tex, nir_tex_instr_src_index(tex, nir_tex_src_coord)); in move_tex_coords()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_analysis.c153 assert(texcoord->src_type == nir_tex_src_coord); in get_texcoord_provenance()
272 if (tex->src[i].src_type == nir_tex_src_coord) { in llvmpipe_nir_fn_is_linear_compat()
/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h64 tex->src[0] = nir_tex_src_for_ssa(nir_tex_src_coord, coord); in blorp_nir_txf_ms_mcs()
/external/mesa3d/src/amd/vulkan/meta/
Dradv_meta_fmask_copy.c42 .src_type = nir_tex_src_coord, in build_fmask_copy_compute_shader()
65 .src_type = nir_tex_src_coord, in build_fmask_copy_compute_shader()
/external/mesa3d/src/intel/compiler/
Dintel_nir_lower_texture.c57 const int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in pack_lod_and_array_index()
Dintel_nir_lower_sparse.c153 tex->src[1].src_type = nir_tex_src_coord; in lower_sparse_image_load()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tex_prefetch.c167 int idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_tex_prefetch_block()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c116 case nir_tex_src_coord: in etna_lower_io()
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c363 tex->src[2] = nir_tex_src_for_ssa(nir_tex_src_coord, in compile_setupinst()
508 int coords_idx = nir_tex_instr_src_index(tex, nir_tex_src_coord); in st_nir_lower_atifs_samplers_instr()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c167 nir_src *psrc = (tex->src[i].src_type == nir_tex_src_coord) ? in create_array_tex_from_cube_tex()
448 int coord_index = nir_tex_instr_src_index(tex, nir_tex_src_coord); in lower_cube_sample()

1234