/external/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 152 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_offset() 195 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect() 262 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane() 472 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map() 620 if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gradient() 625 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient() 631 switch (tex->sampler_dim) { in lower_gradient() 703 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in saturate_src() 933 tex_copy->sampler_dim = tex->sampler_dim; in lower_tg4_offsets() 1019 bool lower_txp = !!(options->lower_txp & (1 << tex->sampler_dim)); in nir_lower_tex_block() [all …]
|
D | nir_lower_cl_images_to_tex.c | 75 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_cl_images_to_tex_impl() 80 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in lower_cl_images_to_tex_impl()
|
D | nir_lower_drawpixels.c | 147 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color() 187 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color() 206 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_color()
|
D | nir_builtin_builder.c | 319 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size() 373 tql->sampler_dim = tex->sampler_dim; in nir_get_texture_lod()
|
D | nir_lower_fb_read.c | 61 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_fb_read()
|
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 | 97 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_bitmap()
|
D | nir_instr_set.c | 271 hash = HASH(hash, instr->sampler_dim); in hash_tex() 661 tex1->sampler_dim != tex2->sampler_dim || in nir_instrs_equal()
|
D | nir_lower_input_attachments.c | 109 tex->sampler_dim = image_dim; in try_lower_input_load()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 179 tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) { in r600_nir_lower_int_tg4_impl() 181 if (tex->sampler_dim != GLSL_SAMPLER_DIM_RECT) in r600_nir_lower_int_tg4_impl() 262 } else if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_txl_txf_array_or_cube() 298 (tex->is_array || tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE)) in r600_nir_lower_txl_txf_array_or_cube_impl()
|
D | sfn_emittexinstruction.cpp | 46 if (ir->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in do_emit() 69 } else if (ir->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in do_emit() 499 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf() 625 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in emit_tex_txs() 843 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf_ms() 967 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in set_rect_coordinate_flags() 989 int src_idx = instr.sampler_dim == GLSL_SAMPLER_DIM_1D ? 1 : 2; in handle_array_index()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_tg4_to_tex.c | 47 tex->sampler_dim = tg4->sampler_dim; in ir3_nir_lower_tg4_to_tex_instr()
|
D | ir3_nir_lower_tex_prefetch.c | 179 if (tex->sampler_dim != GLSL_SAMPLER_DIM_2D || tex->is_array) in lower_tex_prefetch_block()
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d40_tex.c | 132 instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_vir_emit_tex() 232 .unnormalized_coordinates = (instr->sampler_dim == in v3d40_vir_emit_tex() 284 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex() 286 } 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() 154 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 v3d_nir_lower_txf_ms_instr()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 47 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size() 135 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
|
D | radv_meta.c | 592 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core() 611 tex_all_same->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core() 628 tex_add->sampler_dim = GLSL_SAMPLER_DIM_MS; in radv_meta_build_resolve_shader_core()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size() 145 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 518 instr->sampler_dim = GLSL_SAMPLER_DIM_1D; in ptn_tex() 521 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in ptn_tex() 524 instr->sampler_dim = GLSL_SAMPLER_DIM_3D; in ptn_tex() 527 instr->sampler_dim = GLSL_SAMPLER_DIM_CUBE; in ptn_tex() 530 instr->sampler_dim = GLSL_SAMPLER_DIM_RECT; in ptn_tex() 538 glsl_get_sampler_dim_coordinate_components(instr->sampler_dim); in ptn_tex() 543 glsl_sampler_type(instr->sampler_dim, instr->is_shadow, false, GLSL_TYPE_FLOAT); in ptn_tex()
|
/external/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | nir.c | 449 switch (instr->sampler_dim) { in ppir_emit_tex() 456 ppir_error("unsupported sampler dim: %d\n", instr->sampler_dim); in ppir_emit_tex() 471 node->sampler_dim = instr->sampler_dim; in ppir_emit_tex() 529 if (node->sampler_dim == GLSL_SAMPLER_DIM_CUBE) in ppir_emit_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()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 1267 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer() 1293 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_gather4_integer() 1302 if (instr->sampler_dim == GLSL_SAMPLER_DIM_2D && !instr->is_array) { in lower_gather4_integer() 1328 resinfo.dim = ac_get_sampler_dim(ctx->chip_class, instr->sampler_dim, instr->is_array); in lower_gather4_integer() 1365 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer() 1405 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic() 1420 args->opcode = args->level_zero || instr->sampler_dim == GLSL_SAMPLER_DIM_MS in build_tex_intrinsic() 4019 instr->sampler_dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE; in tex_fetch_ptrs() 4023 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_BUF); in tex_fetch_ptrs() 4041 if (instr->sampler_dim < GLSL_SAMPLER_DIM_RECT) in tex_fetch_ptrs() [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_nir.c | 152 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in etna_lower_io()
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_blit.c | 85 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in panfrost_build_blit_shader() 94 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in panfrost_build_blit_shader()
|