Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/
Dbuiltin_type_macros.h91 …ler2D, GL_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
95 …ler2DArray, GL_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
103 …2D, GL_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
107 …2DArray, GL_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
115 … GL_UNSIGNED_INT_SAMPLER_2D, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
119 … GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
128 …hadow, GL_SAMPLER_2D_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 1, 0…
131 …rrayShadow, GL_SAMPLER_2D_ARRAY_SHADOW, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_2D, 1, 1…
138 …ure2D, GL_SAMPLER_2D, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_2D, 0, 0, GL…
142 …ure2DArray, GL_SAMPLER_2D_ARRAY, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_2D, 0, 1, GL…
[all …]
Dglsl_types.cpp341 case GLSL_SAMPLER_DIM_2D: in sampler_index()
840 case GLSL_SAMPLER_DIM_2D: in get_sampler_instance()
886 case GLSL_SAMPLER_DIM_2D: in get_sampler_instance()
916 case GLSL_SAMPLER_DIM_2D: in get_sampler_instance()
958 case GLSL_SAMPLER_DIM_2D: in get_texture_instance()
990 case GLSL_SAMPLER_DIM_2D: in get_texture_instance()
1019 case GLSL_SAMPLER_DIM_2D: in get_texture_instance()
1048 case GLSL_SAMPLER_DIM_2D: in get_texture_instance()
1073 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
1102 case GLSL_SAMPLER_DIM_2D: in get_image_instance()
[all …]
/third_party/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp52 T( sampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, NONARRAY, COLOR, 2)
56 T( sampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, ARRAY, COLOR, 3)
63 T(isampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, NONARRAY, COLOR, 2)
67 T(isampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_INT, ARRAY, COLOR, 3)
74 T(usampler2D, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_UINT, NONARRAY, COLOR, 2)
78 T(usampler2DArray, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_UINT, ARRAY, COLOR, 3)
86 T(sampler2DShadow, GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, NONARRAY, SHADOW, 2)
92 GLSL_SAMPLER_DIM_2D, GLSL_TYPE_FLOAT, ARRAY, SHADOW, 3)
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h67 case GLSL_SAMPLER_DIM_2D: in zink_sampler_type()
88 case GLSL_SAMPLER_DIM_2D: in zink_image_type()
/third_party/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.c84 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, GLSL_TYPE_FLOAT); in lower_bitmap()
96 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_image.c43 nir_intrinsic_set_image_dim(_2darray_size, GLSL_SAMPLER_DIM_2D); in lower_cube_size()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_cubemaps.c199 array_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in create_array_tex_from_cube_tex()
445 nir_intrinsic_set_image_dim(intr, GLSL_SAMPLER_DIM_2D); in lower_cube_image_load_store_atomic()
483 GLSL_SAMPLER_DIM_2D, in make_2darray_sampler_from_cubemap()
493 GLSL_SAMPLER_DIM_2D, in make_2darray_image_from_cubemap()
Ddxil_enums.c91 case GLSL_SAMPLER_DIM_2D: in dxil_get_resource_kind()
/third_party/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.c61 case GLSL_SAMPLER_DIM_2D: in v3d33_vir_emit_tex()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy_vrs_htile.c71 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, GLSL_TYPE_FLOAT); in build_copy_vrs_htile_shader()
81 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in build_copy_vrs_htile_shader()
Dradv_meta_decompress.c39 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, false, GLSL_TYPE_FLOAT); in build_expand_depth_stencil_compute_shader()
64 nir_imm_int(&b, 0), .image_dim = GLSL_SAMPLER_DIM_2D); in build_expand_depth_stencil_compute_shader()
75 .image_dim = GLSL_SAMPLER_DIM_2D); in build_expand_depth_stencil_compute_shader()
Dradv_meta_fast_clear.c40 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, false, GLSL_TYPE_FLOAT); in build_dcc_decompress_compute_shader()
63 nir_imm_int(&b, 0), .image_dim = GLSL_SAMPLER_DIM_2D); in build_dcc_decompress_compute_shader()
74 .image_dim = GLSL_SAMPLER_DIM_2D); in build_dcc_decompress_compute_shader()
Dradv_meta_blit.c231 return GLSL_SAMPLER_DIM_2D; in translate_sampler_dim()
846 result = build_pipeline(device, VK_IMAGE_ASPECT_COLOR_BIT, GLSL_SAMPLER_DIM_2D, format, in radv_device_init_meta_blit_color()
876 result = build_pipeline(device, VK_IMAGE_ASPECT_DEPTH_BIT, GLSL_SAMPLER_DIM_2D, in radv_device_init_meta_blit_depth()
906 result = build_pipeline(device, VK_IMAGE_ASPECT_STENCIL_BIT, GLSL_SAMPLER_DIM_2D, in radv_device_init_meta_blit_stencil()
Dradv_meta_etc_decode.c164 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, true, GLSL_TYPE_FLOAT); in build_shader()
168 glsl_image_type(GLSL_SAMPLER_DIM_2D, true, GLSL_TYPE_FLOAT); in build_shader()
237 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in build_shader()
516 .image_dim = GLSL_SAMPLER_DIM_2D, .image_array = true); in build_shader()
Dradv_meta_resolve_cs.c67 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, false, img_base_type); in build_resolve_compute_shader()
104 .image_dim = GLSL_SAMPLER_DIM_2D); in build_resolve_compute_shader()
137 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_2D, true, img_base_type); in build_depth_stencil_resolve_compute_shader()
225 .image_dim = GLSL_SAMPLER_DIM_2D, .image_array = true); in build_depth_stencil_resolve_compute_shader()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c81 tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in nir_lower_pstipple_block()
130 glsl_sampler_type(GLSL_SAMPLER_DIM_2D, false, false, GLSL_TYPE_FLOAT); in nir_lower_pstipple_fs()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_legalize_image_load_store.cpp71 case GLSL_SAMPLER_DIM_2D: in r600_legalize_image_load_store_impl()
/third_party/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_lower_txp.c97 case GLSL_SAMPLER_DIM_2D: in lima_nir_lower_txp_instr()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tex_prefetch.c175 if (tex->sampler_dim != GLSL_SAMPLER_DIM_2D || tex->is_array) in lower_tex_prefetch_block()
/third_party/mesa3d/src/amd/common/
Dac_shader_util.c432 case GLSL_SAMPLER_DIM_2D: in ac_get_sampler_dim()
459 else if (sdim == GLSL_SAMPLER_DIM_2D && !is_array && gfx_level == GFX9) { in ac_get_image_dim()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_nir.c116 : GLSL_SAMPLER_DIM_2D, in si_create_copy_image_cs()
119 : GLSL_SAMPLER_DIM_2D, in si_create_copy_image_cs()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c34 GLSL_SAMPLER_DIM_2D, in make_2darray_sampler_from_cubemap()
151 array_tex->sampler_dim = GLSL_SAMPLER_DIM_2D; in create_array_tex_from_cube_tex()

123