/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 113 txs->sampler_dim = tex->sampler_dim; in get_texture_size() 153 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_offset() 208 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect() 226 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane() 340 txl->sampler_dim = tex->sampler_dim; in replace_gradient_with_lod() 381 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map() 529 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient() 535 switch (tex->sampler_dim) { in lower_gradient() 606 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in saturate_src() 738 bool lower_txp = !!(options->lower_txp & (1 << tex->sampler_dim)); in nir_lower_tex_block() [all …]
|
D | nir_lower_drawpixels.c | 132 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color() 162 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color() 177 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
|
D | nir_instr_set.c | 154 hash = HASH(hash, instr->sampler_dim); in hash_tex() 309 tex1->sampler_dim != tex2->sampler_dim || in nir_instrs_equal()
|
D | nir_normalize_cubemap_coords.c | 46 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in normalize_cubemap_coords_block()
|
D | nir_lower_bitmap.c | 93 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_bitmap()
|
D | nir_serialize.c | 579 enum glsl_sampler_dim sampler_dim:4; member 603 .u.sampler_dim = tex->sampler_dim, in write_tex() 640 tex->sampler_dim = packed.u.sampler_dim; in read_tex()
|
D | nir_clone.c | 406 ntex->sampler_dim = tex->sampler_dim; in clone_tex()
|
D | nir.h | 1203 enum glsl_sampler_dim sampler_dim; member 1267 switch (instr->sampler_dim) { in nir_tex_instr_dest_size() 1399 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in nir_tex_instr_src_size()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 1124 instr->sampler_dim = GLSL_SAMPLER_DIM_BUF; in setup_texture_info() 1127 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info() 1130 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info() 1134 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info() 1138 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in setup_texture_info() 1143 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in setup_texture_info() 1146 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in setup_texture_info() 1150 instr->sampler_dim = GLSL_SAMPLER_DIM_MS; in setup_texture_info() 1153 instr->sampler_dim = GLSL_SAMPLER_DIM_MS; in setup_texture_info() 1157 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in setup_texture_info() [all …]
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d40_tex.c | 60 .unnormalized_coordinates = (instr->sampler_dim == in v3d40_vir_emit_tex() 175 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex() 177 } else if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_vir_emit_tex()
|
D | v3d33_tex.c | 47 switch (instr->sampler_dim) { in v3d33_vir_emit_tex() 162 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in v3d33_vir_emit_tex()
|
D | v3d_nir_lower_txf_ms.c | 66 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in vc4_nir_lower_txf_ms_instr()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_nir_lower_tg4_to_tex.c | 59 tex->sampler_dim = tg4->sampler_dim; in lower_tg4()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 165 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size() 259 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 566 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in ptn_tex() 569 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in ptn_tex() 572 instr->sampler_dim = GLSL_SAMPLER_DIM_3D; in ptn_tex() 575 instr->sampler_dim = GLSL_SAMPLER_DIM_CUBE; in ptn_tex() 578 instr->sampler_dim = GLSL_SAMPLER_DIM_RECT; in ptn_tex() 585 switch (instr->sampler_dim) { in ptn_tex()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_nir_builder.h | 44 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms_mcs()
|
D | blorp_blit.c | 217 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in blorp_nir_tex() 233 tex->sampler_dim = GLSL_SAMPLER_DIM_3D; in blorp_nir_txf() 250 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms() 278 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_blit_txf_ms_mcs()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta.c | 506 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core() 525 tex_all_same->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core() 546 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
|
D | radv_meta_blit.c | 135 tex->sampler_dim = tex_dim; in build_nir_copy_fragment_shader() 189 tex->sampler_dim = tex_dim; in build_nir_copy_fragment_shader_depth() 243 tex->sampler_dim = tex_dim; in build_nir_copy_fragment_shader_stencil()
|
D | radv_meta_bufimage.c | 92 tex->sampler_dim = dim; in build_nir_itob_compute_shader() 325 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_btoi_compute_shader() 539 tex->sampler_dim = dim; in build_nir_itoi_compute_shader()
|
D | radv_meta_blit2d.c | 455 tex->sampler_dim = dim; in build_nir_texel_fetch() 500 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_buffer_fetch()
|
D | radv_meta_fast_clear.c | 71 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in build_dcc_decompress_compute_shader()
|
/external/mesa3d/src/amd/common/ |
D | ac_nir_to_llvm.c | 2207 txq_args.da = instr->is_array || instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE; in radv_lower_gather4_integer() 2249 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in radv_lower_gather4_integer() 2285 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in radv_lower_gather4_integer() 2310 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic() 2334 instr->sampler_dim == GLSL_SAMPLER_DIM_MS ? in build_tex_intrinsic() 4743 bool da = instr->is_array || instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE; in set_tex_fetch_args() 4759 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF && op == nir_texop_txf) { in set_tex_fetch_args() 4803 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) in tex_fetch_ptrs() 4812 if (instr->sampler_dim < GLSL_SAMPLER_DIM_RECT) in tex_fetch_ptrs() 4892 if (instr->op == nir_texop_txs && instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in visit_tex() [all …]
|
/external/mesa3d/src/compiler/spirv/ |
D | spirv_to_nir.c | 1880 const enum glsl_sampler_dim sampler_dim = glsl_get_sampler_dim(image_type); in vtn_handle_texture() local 1955 switch (sampler_dim) { in vtn_handle_texture() 2080 instr->sampler_dim = sampler_dim; in vtn_handle_texture() 2148 instrs[i]->sampler_dim = instr->sampler_dim; in vtn_handle_texture()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 429 if (instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in ntq_emit_tex() 433 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in ntq_emit_tex() 480 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in ntq_emit_tex() 487 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE || is_txl) { in ntq_emit_tex() 493 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in ntq_emit_tex()
|