Home
last modified time | relevance | path

Searched refs:GLSL_SAMPLER_DIM_2D (Results 1 – 25 of 44) sorted by relevance

12

/external/mesa3d/src/compiler/
Dbuiltin_type_macros.h90 …ler2D, GL_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
94 …ler2DArray, GL_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
102 …2D, GL_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
106 …2DArray, GL_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
114 … GL_UNSIGNED_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
118 … GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
127 …hadow, GL_SAMPLER_2D_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 1, 0…
130 …rrayShadow, GL_SAMPLER_2D_ARRAY_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 1, 1…
137 … GL_IMAGE_2D, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_2D, 0, 0, …
143 …y, GL_IMAGE_2D_ARRAY, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_2D, 0, 1, …
[all …]
Dglsl_types.cpp339 case GLSL_SAMPLER_DIM_2D: in sampler_index()
836 case GLSL_SAMPLER_DIM_2D: in get_sampler_instance()
882 case GLSL_SAMPLER_DIM_2D: in get_sampler_instance()
912 case GLSL_SAMPLER_DIM_2D: in get_sampler_instance()
954 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
983 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
1012 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
1041 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
1068 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
1095 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
[all …]
Dglsl_types.h244 GLSL_SAMPLER_DIM_2D, enumerator
/external/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp53 T( sampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, NONARRAY, COLOR, 2)
57 T( sampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, ARRAY, COLOR, 3)
64 T(isampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, NONARRAY, COLOR, 2)
68 T(isampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, ARRAY, COLOR, 3)
75 T(usampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_UINT, NONARRAY, COLOR, 2)
79 T(usampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_UINT, ARRAY, COLOR, 3)
87 T(sampler2DShadow, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, NONARRAY, SHADOW, 2)
93 GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, ARRAY, SHADOW, 3)
/external/mesa3d/src/compiler/nir/
Dnir_lower_drawpixels.c130 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, GLSL_TYPE_FLOAT); in lower_color()
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()
Dnir_lower_bitmap.c85 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, GLSL_TYPE_FLOAT); in lower_bitmap()
97 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_bitmap()
Dnir_lower_fb_read.c61 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_fb_read()
Dnir_lower_tex.c195 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in lower_rect()
262 plane_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_plane()
/external/mesa3d/src/amd/common/
Dac_shader_util.c226 case GLSL_SAMPLER_DIM_2D: in ac_get_sampler_dim()
253 else if (sdim == GLSL_SAMPLER_DIM_2D && !is_array && chip_class == GFX9) { in ac_get_image_dim()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c66 instr->sampler_dim = GLSL_SAMPLER_DIM_2D; in v3d_nir_lower_txf_ms_instr()
Dv3d33_tex.c54 case GLSL_SAMPLER_DIM_2D: in v3d33_vir_emit_tex()
Dv3d40_tex.c375 case GLSL_SAMPLER_DIM_2D: in v3d40_vir_emit_image_load_store()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c81 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in nir_lower_pstipple_block()
132 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, GLSL_TYPE_FLOAT); in nir_lower_pstipple_fs()
Dtgsi_to_nir.c1175 *dim = GLSL_SAMPLER_DIM_2D; in get_texture_info()
1178 *dim = GLSL_SAMPLER_DIM_2D; in get_texture_info()
1189 *dim = GLSL_SAMPLER_DIM_2D; in get_texture_info()
1193 *dim = GLSL_SAMPLER_DIM_2D; in get_texture_info()
/external/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tex_prefetch.c179 if (tex->sampler_dim != GLSL_SAMPLER_DIM_2D || tex->is_array) in lower_tex_prefetch_block()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_fast_clear.c36 const struct glsl_type *buf_type = glsl_sampler_type(GLSL_SAMPLER_DIM_2D, in build_dcc_decompress_compute_shader()
40 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, in build_dcc_decompress_compute_shader()
71 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in build_dcc_decompress_compute_shader()
Dradv_meta_blit.c289 return GLSL_SAMPLER_DIM_2D; in translate_sampler_dim()
1052 …result = build_pipeline(device, VK_IMAGE_ASPECT_COLOR_BIT, GLSL_SAMPLER_DIM_2D, key, &device->meta… in radv_device_init_meta_blit_color()
1132 …result = build_pipeline(device, VK_IMAGE_ASPECT_DEPTH_BIT, GLSL_SAMPLER_DIM_2D, 0, &device->meta_s… in radv_device_init_meta_blit_depth()
1210 …result = build_pipeline(device, VK_IMAGE_ASPECT_STENCIL_BIT, GLSL_SAMPLER_DIM_2D, 0, &device->meta… in radv_device_init_meta_blit_stencil()
Dradv_meta_resolve_cs.c76 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, in build_resolve_compute_shader()
175 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, in build_depth_stencil_resolve_compute_shader()
Dradv_meta_bufimage.c39 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_itob_compute_shader()
268 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_btoi_compute_shader()
698 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_itoi_compute_shader()
1130 enum glsl_sampler_dim dim = is_3d ? GLSL_SAMPLER_DIM_3D : GLSL_SAMPLER_DIM_2D; in build_nir_cleari_compute_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c390 [PIPE_TEXTURE_2D] = GLSL_SAMPLER_DIM_2D, in sampler_type_for_target()
395 [PIPE_TEXTURE_2D_ARRAY] = GLSL_SAMPLER_DIM_2D, in sampler_type_for_target()
Dst_cb_drawpixels.c118 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, base_type); in sample_via_nir()
129 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in sample_via_nir()
/external/mesa3d/src/panfrost/lib/
Dpan_blit.c94 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in panfrost_build_blit_shader()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c1840 case GLSL_SAMPLER_DIM_2D: in midgard_tex_format()
1968 … bool flip_zw = (instr->sampler_dim == GLSL_SAMPLER_DIM_2D) && (coord_mask & (1 << COMPONENT_Z)); in emit_texop_native()
2022 if (instr->sampler_dim == GLSL_SAMPLER_DIM_2D) { in emit_texop_native()
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Dcodegen.c136 case GLSL_SAMPLER_DIM_2D: in ppir_codegen_encode_texld()
Dnir.c450 case GLSL_SAMPLER_DIM_2D: in ppir_emit_tex()

12