/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_tex.c | 156 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_offset() 199 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect() 298 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane() 554 assert(tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE); in lower_gradient_cube_map() 702 if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gradient() 707 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in lower_gradient() 713 switch (tex->sampler_dim) { in lower_gradient() 765 txd->sampler_dim = tex->sampler_dim; in lower_tex_to_txd() 801 txl->sampler_dim = tex->sampler_dim; in lower_txb_to_txl() 860 if (tex->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in saturate_src() [all …]
|
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_lower_readonly_images_to_tex.c | 127 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_readonly_image_op() 132 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in lower_readonly_image_op()
|
D | nir_builtin_builder.c | 332 txs->sampler_dim = tex->sampler_dim; in nir_get_texture_size() 386 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 | 96 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()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 197 tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) { in r600_nir_lower_int_tg4_impl() 199 if (tex->sampler_dim != GLSL_SAMPLER_DIM_RECT) in r600_nir_lower_int_tg4_impl() 280 } else if (tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_txl_txf_array_or_cube() 316 (tex->is_array || tex->sampler_dim == GLSL_SAMPLER_DIM_CUBE)) in r600_nir_lower_txl_txf_array_or_cube_impl() 342 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in r600_nir_lower_cube_to_2darray_filer() 395 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in r600_nir_lower_cube_to_2darray_impl()
|
D | sfn_emittexinstruction.cpp | 46 if (ir->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in do_emit() 192 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf() 322 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in emit_tex_txs() 340 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in emit_tex_txs() 501 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) in emit_tex_txf_ms() 624 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in set_rect_coordinate_flags() 646 int src_idx = instr.sampler_dim == GLSL_SAMPLER_DIM_1D ? 1 : 2; in handle_array_index()
|
/third_party/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 | 175 if (tex->sampler_dim != GLSL_SAMPLER_DIM_2D || tex->is_array) in lower_tex_prefetch_block()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d33_tex.c | 54 switch (instr->sampler_dim) { in v3d33_vir_emit_tex() 161 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in v3d33_vir_emit_tex()
|
D | v3d40_tex.c | 146 instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in handle_tex_src() 319 .unnormalized_coordinates = (instr->sampler_dim == in v3d40_vir_emit_tex() 372 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_CUBE); in v3d40_vir_emit_tex() 374 } else if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in v3d40_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()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 48 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size() 143 tex->sampler_dim = old_tex->sampler_dim; in create_plane_tex_instr_implicit()
|
/third_party/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()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atifs_to_nir.c | 351 enum glsl_sampler_dim sampler_dim = in compile_setupinst() local 354 glsl_sampler_type(sampler_dim, false, false, GLSL_TYPE_FLOAT); in compile_setupinst() 365 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in compile_setupinst() 368 glsl_get_sampler_dim_coordinate_components(tex->sampler_dim); in compile_setupinst()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_samplers.c | 69 tql->sampler_dim = tex->sampler_dim; in dx_get_texture_lod() 268 txf->sampler_dim = tex->sampler_dim; in create_txf_from_tex()
|
/third_party/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()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blitter.c | 488 enum glsl_sampler_dim sampler_dim; in pan_blitter_get_blit_shader() local 492 sampler_dim = GLSL_SAMPLER_DIM_1D; in pan_blitter_get_blit_shader() 495 sampler_dim = ms ? in pan_blitter_get_blit_shader() 500 sampler_dim = GLSL_SAMPLER_DIM_3D; in pan_blitter_get_blit_shader() 503 sampler_dim = GLSL_SAMPLER_DIM_CUBE; in pan_blitter_get_blit_shader() 528 tex->sampler_dim = sampler_dim; in pan_blitter_get_blit_shader() 558 tex->sampler_dim = sampler_dim; in pan_blitter_get_blit_shader()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_lower_int_cubemap_to_array.c | 38 if (tex->sampler_dim != GLSL_SAMPLER_DIM_CUBE) in lower_int_cubmap_to_array_filter() 120 array_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in create_array_tex_from_cube_tex()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_nir_builder.h | 43 tex->sampler_dim = GLSL_SAMPLER_DIM_MS; in blorp_nir_txf_ms_mcs()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 1387 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer() 1413 if (instr->sampler_dim == GLSL_SAMPLER_DIM_RECT) { in lower_gather4_integer() 1422 if (instr->sampler_dim == GLSL_SAMPLER_DIM_2D && !instr->is_array) { in lower_gather4_integer() 1448 resinfo.dim = ac_get_sampler_dim(ctx->chip_class, instr->sampler_dim, instr->is_array); in lower_gather4_integer() 1485 if (instr->sampler_dim == GLSL_SAMPLER_DIM_CUBE) { in lower_gather4_integer() 1527 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic() 1548 args->opcode = args->level_zero || instr->sampler_dim == GLSL_SAMPLER_DIM_MS in build_tex_intrinsic() 4507 instr->sampler_dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE; in tex_fetch_ptrs() 4511 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_BUF); in tex_fetch_ptrs() 4529 if (instr->sampler_dim < GLSL_SAMPLER_DIM_RECT) in tex_fetch_ptrs() [all …]
|
/third_party/mesa3d/src/gallium/drivers/asahi/ |
D | agx_blit.c | 47 tex->sampler_dim = GLSL_SAMPLER_DIM_RECT; in agx_build_reload_shader()
|