Home
last modified time | relevance | path

Searched refs:GLSL_SAMPLER_DIM_1D (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/compiler/
Dbuiltin_type_macros.h89 …ler, GL_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GL…
90 …ler1D, GL_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GL…
94 …ler1DArray, GL_SAMPLER_1D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 1, GL…
102 …1D, GL_INT_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GL…
106 …1DArray, GL_INT_SAMPLER_1D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 1, GL…
114 … GL_UNSIGNED_INT_SAMPLER_1D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 0, GL…
118 … GL_UNSIGNED_INT_SAMPLER_1D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 0, 1, GL…
126 …dow, GL_SAMPLER_1D_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 1, 0…
127 …hadow, GL_SAMPLER_1D_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 1, 0…
130 …rrayShadow, GL_SAMPLER_1D_ARRAY_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_1D, 1, 1…
[all …]
Dglsl_types.cpp339 case GLSL_SAMPLER_DIM_1D: in sampler_index()
835 case GLSL_SAMPLER_DIM_1D: in get_sampler_instance()
884 case GLSL_SAMPLER_DIM_1D: in get_sampler_instance()
914 case GLSL_SAMPLER_DIM_1D: in get_sampler_instance()
956 case GLSL_SAMPLER_DIM_1D: in get_texture_instance()
988 case GLSL_SAMPLER_DIM_1D: in get_texture_instance()
1017 case GLSL_SAMPLER_DIM_1D: in get_texture_instance()
1046 case GLSL_SAMPLER_DIM_1D: in get_texture_instance()
1071 case GLSL_SAMPLER_DIM_1D: in get_image_instance()
1100 case GLSL_SAMPLER_DIM_1D: in get_image_instance()
[all …]
Dglsl_types.h247 GLSL_SAMPLER_DIM_1D = 0, enumerator
/third_party/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp51 T( sampler1D, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_FLOAT, NONARRAY, COLOR, 1)
55 T( sampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_FLOAT, ARRAY, COLOR, 2)
62 T(isampler1D, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_INT, NONARRAY, COLOR, 1)
66 T(isampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_INT, ARRAY, COLOR, 2)
73 T(usampler1D, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_UINT, NONARRAY, COLOR, 1)
77 T(usampler1DArray, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_UINT, ARRAY, COLOR, 2)
85 T(sampler1DShadow, GLSL_SAMPLER_DIM_1D, GLSL_TYPE_FLOAT, NONARRAY, SHADOW, 1)
90 GLSL_SAMPLER_DIM_1D, GLSL_TYPE_FLOAT, ARRAY, SHADOW, 2)
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h66 case GLSL_SAMPLER_DIM_1D: in zink_sampler_type()
87 case GLSL_SAMPLER_DIM_1D: in zink_image_type()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c93 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader()
95 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 3)); in build_nir_copy_fragment_shader()
141 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_depth()
143 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 3)); in build_nir_copy_fragment_shader_depth()
189 unsigned swz[] = {0, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 1), 2}; in build_nir_copy_fragment_shader_stencil()
191 nir_swizzle(&b, nir_load_var(&b, tex_pos_in), swz, (tex_dim == GLSL_SAMPLER_DIM_1D ? 2 : 3)); in build_nir_copy_fragment_shader_stencil()
229 return GLSL_SAMPLER_DIM_1D; in translate_sampler_dim()
841 result = build_pipeline(device, VK_IMAGE_ASPECT_COLOR_BIT, GLSL_SAMPLER_DIM_1D, format, in radv_device_init_meta_blit_color()
870 result = build_pipeline(device, VK_IMAGE_ASPECT_DEPTH_BIT, GLSL_SAMPLER_DIM_1D, in radv_device_init_meta_blit_depth()
900 result = build_pipeline(device, VK_IMAGE_ASPECT_STENCIL_BIT, GLSL_SAMPLER_DIM_1D, in radv_device_init_meta_blit_stencil()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_tex.cpp447 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D) { in emit_tex_txf()
456 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D && i == 1) in emit_tex_txf()
549 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D && i == 1) in emit_tex_tex_ms_direct()
589 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D && i == 1) in emit_tex_tex_ms()
638 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D && i == 1) in emit_tex_tex_ms()
693 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D) { in emit_tex_txd()
724 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D && i == 1) in emit_tex_txd()
909 if (tex->is_array && tex->sampler_dim == GLSL_SAMPLER_DIM_1D) { in prepare_source()
Dsfn_nir_legalize_image_load_store.cpp69 case GLSL_SAMPLER_DIM_1D: in r600_legalize_image_load_store_impl()
Dsfn_instr_mem.cpp686 if (nir_intrinsic_image_dim(intrin) == GLSL_SAMPLER_DIM_1D && in emit_image_store()
724 if (nir_intrinsic_image_dim(intrin) == GLSL_SAMPLER_DIM_1D && in emit_image_load_or_atomic()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_enums.c88 case GLSL_SAMPLER_DIM_1D: in dxil_get_resource_kind()
/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_lower_txp.c96 case GLSL_SAMPLER_DIM_1D: in lima_nir_lower_txp_instr()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d33_tex.c55 case GLSL_SAMPLER_DIM_1D: in v3d33_vir_emit_tex()
Dv3d40_tex.c441 case GLSL_SAMPLER_DIM_1D: in vir_image_emit_register_writes()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_nir.c115 const struct glsl_type *src_img_type = glsl_image_type(src_is_1d_array ? GLSL_SAMPLER_DIM_1D in si_create_copy_image_cs()
118 const struct glsl_type *dst_img_type = glsl_image_type(dst_is_1d_array ? GLSL_SAMPLER_DIM_1D in si_create_copy_image_cs()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c384 [PIPE_TEXTURE_1D] = GLSL_SAMPLER_DIM_1D, in st_pbo_sampler_type_for_target()
389 [PIPE_TEXTURE_1D_ARRAY] = GLSL_SAMPLER_DIM_1D, in st_pbo_sampler_type_for_target()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c483 return GLSL_SAMPLER_DIM_1D; in _mesa_texture_index_to_sampler_dim()
497 return GLSL_SAMPLER_DIM_1D; in _mesa_texture_index_to_sampler_dim()
/third_party/mesa3d/src/amd/common/
Dac_shader_util.c428 case GLSL_SAMPLER_DIM_1D: in ac_get_sampler_dim()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1155 *dim = GLSL_SAMPLER_DIM_1D; in get_texture_info()
1158 *dim = GLSL_SAMPLER_DIM_1D; in get_texture_info()
1162 *dim = GLSL_SAMPLER_DIM_1D; in get_texture_info()
1166 *dim = GLSL_SAMPLER_DIM_1D; in get_texture_info()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c95 if (glsl_get_sampler_dim(deref->type) == GLSL_SAMPLER_DIM_1D && in image_address()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c2429 case GLSL_SAMPLER_DIM_1D: in image_type_to_components_count()
2500 bool gfx9_1d = ctx->ac.gfx_level == GFX9 && dim == GLSL_SAMPLER_DIM_1D; in get_image_coords()
2956 if (ctx->ac.gfx_level == GFX9 && dim == GLSL_SAMPLER_DIM_1D && is_array) { in visit_image_size()
4821 case GLSL_SAMPLER_DIM_1D: in visit_tex()
4853 if (instr->coord_components > 1 && instr->sampler_dim == GLSL_SAMPLER_DIM_1D && in visit_tex()
4867 if (ctx->ac.gfx_level == GFX9 && instr->sampler_dim == GLSL_SAMPLER_DIM_1D && in visit_tex()
4981 instr->sampler_dim == GLSL_SAMPLER_DIM_1D && instr->is_array) { in visit_tex()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c465 case GLSL_SAMPLER_DIM_1D: in ppir_emit_tex()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c340 case 1: tex->sampler_dim = GLSL_SAMPLER_DIM_1D; break; in panvk_meta_copy_img2img_shader()
1363 case 1: tex->sampler_dim = GLSL_SAMPLER_DIM_1D; break; in panvk_meta_copy_img2buf_shader()
/third_party/mesa3d/src/compiler/nir/
Dnir_print.c948 [GLSL_SAMPLER_DIM_1D] = "1D", in print_intrinsic_instr()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c121 case GLSL_SAMPLER_DIM_1D: in glsl_sampler_to_pipe()
2425 if (instr->is_array && instr->sampler_dim == GLSL_SAMPLER_DIM_1D) { in visit_tex()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.cpp72 case GLSL_SAMPLER_DIM_1D: in resource_dimension()

12