Home
last modified time | relevance | path

Searched refs:GLSL_SAMPLER_DIM_BUF (Results 1 – 25 of 46) sorted by relevance

12

/third_party/mesa3d/src/compiler/
Dbuiltin_type_macros.h98 …erBuffer, GL_SAMPLER_BUFFER, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_BUF, 0, 0, GLS…
110 …uffer, GL_INT_SAMPLER_BUFFER, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_BUF, 0, 0, GLS…
122 … GL_UNSIGNED_INT_SAMPLER_BUFFER, GLSL_TYPE_SAMPLER, GLSL_SAMPLER_DIM_BUF, 0, 0, GLS…
145 …reBuffer, GL_SAMPLER_BUFFER, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_BUF, 0, 0, GLS…
157 …uffer, GL_INT_SAMPLER_BUFFER, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_BUF, 0, 0, GLS…
169 … GL_UNSIGNED_INT_SAMPLER_BUFFER, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_BUF, 0, 0, GLS…
181 DECL_TYPE(vtextureBuffer, GL_SAMPLER_BUFFER, GLSL_TYPE_TEXTURE, GLSL_SAMPLER_DIM_BUF, 0, 0, GL…
188 … GL_IMAGE_BUFFER, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_BUF, 0, 0, G…
199 …, GL_INT_IMAGE_BUFFER, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_BUF, 0, 0, G…
210 …, GL_UNSIGNED_INT_IMAGE_BUFFER, GLSL_TYPE_IMAGE, GLSL_SAMPLER_DIM_BUF, 0, 0, G…
[all …]
Dglsl_types.cpp349 case GLSL_SAMPLER_DIM_BUF: in sampler_index()
862 case GLSL_SAMPLER_DIM_BUF: in get_sampler_instance()
898 case GLSL_SAMPLER_DIM_BUF: in get_sampler_instance()
928 case GLSL_SAMPLER_DIM_BUF: in get_sampler_instance()
969 case GLSL_SAMPLER_DIM_BUF: in get_texture_instance()
1002 case GLSL_SAMPLER_DIM_BUF: in get_texture_instance()
1031 case GLSL_SAMPLER_DIM_BUF: in get_texture_instance()
1052 case GLSL_SAMPLER_DIM_BUF: in get_texture_instance()
1084 case GLSL_SAMPLER_DIM_BUF: in get_image_instance()
1114 case GLSL_SAMPLER_DIM_BUF: in get_image_instance()
[all …]
Dglsl_types.h252 GLSL_SAMPLER_DIM_BUF, enumerator
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_access.c110 GLSL_SAMPLER_DIM_BUF) { in gather_intrinsic()
146 if (nir_intrinsic_image_dim(instr) == GLSL_SAMPLER_DIM_BUF) { in gather_intrinsic()
202 glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_BUF; in process_variable()
268 return update_access(state, instr, nir_intrinsic_image_dim(instr) == GLSL_SAMPLER_DIM_BUF, in process_intrinsic()
287 glsl_get_sampler_dim(glsl_without_array(var->type)) == GLSL_SAMPLER_DIM_BUF; in process_intrinsic()
Dnir_print.c953 [GLSL_SAMPLER_DIM_BUF] = "Buf", in print_intrinsic_instr()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h74 case GLSL_SAMPLER_DIM_BUF: in zink_sampler_type()
95 case GLSL_SAMPLER_DIM_BUF: in zink_image_type()
/third_party/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp59 T( samplerBuffer, GLSL_SAMPLER_DIM_BUF, GLSL_TYPE_FLOAT, NONARRAY, COLOR, 1)
70 T(isamplerBuffer, GLSL_SAMPLER_DIM_BUF, GLSL_TYPE_INT, NONARRAY, COLOR, 1)
81 T(usamplerBuffer, GLSL_SAMPLER_DIM_BUF, GLSL_TYPE_UINT, NONARRAY, COLOR, 1)
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c37 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_BUF, false, GLSL_TYPE_FLOAT); in build_nir_itob_compute_shader()
86 .image_dim = GLSL_SAMPLER_DIM_BUF); in build_nir_itob_compute_shader()
212 glsl_sampler_type(GLSL_SAMPLER_DIM_BUF, false, false, GLSL_TYPE_FLOAT); in build_nir_btoi_compute_shader()
242 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_btoi_compute_shader()
388 glsl_sampler_type(GLSL_SAMPLER_DIM_BUF, false, false, GLSL_TYPE_FLOAT); in build_nir_btoi_r32g32b32_compute_shader()
389 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_BUF, false, GLSL_TYPE_FLOAT); in build_nir_btoi_r32g32b32_compute_shader()
421 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_btoi_r32g32b32_compute_shader()
444 nir_imm_int(&b, 0), .image_dim = GLSL_SAMPLER_DIM_BUF); in build_nir_btoi_r32g32b32_compute_shader()
735 glsl_sampler_type(GLSL_SAMPLER_DIM_BUF, false, false, GLSL_TYPE_FLOAT); in build_nir_itoi_r32g32b32_compute_shader()
736 const struct glsl_type *img_type = glsl_image_type(GLSL_SAMPLER_DIM_BUF, false, GLSL_TYPE_FLOAT); in build_nir_itoi_r32g32b32_compute_shader()
[all …]
Dradv_nir_apply_pipeline_layout.c367 b, state, deref, dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE, in update_image_intrinsic()
468 assert(tex->sampler_dim != GLSL_SAMPLER_DIM_BUF); in apply_layout_to_tex()
471 } else if (tex->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in apply_layout_to_tex()
Dradv_meta_dcc_retile.c33 enum glsl_sampler_dim dim = GLSL_SAMPLER_DIM_BUF; in build_dcc_retile_compute_shader()
Dradv_meta_blit2d.c487 glsl_sampler_type(GLSL_SAMPLER_DIM_BUF, false, false, GLSL_TYPE_UINT); in build_nir_buffer_fetch()
502 tex->sampler_dim = GLSL_SAMPLER_DIM_BUF; in build_nir_buffer_fetch()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_nir_lower_descriptors.c399 if (dim == GLSL_SAMPLER_DIM_BUF) { in load_tex_img_size()
416 assert(dim != GLSL_SAMPLER_DIM_BUF); in load_tex_img_levels()
426 assert(dim != GLSL_SAMPLER_DIM_BUF); in load_tex_img_samples()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_enums.c103 case GLSL_SAMPLER_DIM_BUF: in dxil_get_resource_kind()
Dnir_to_dxil.c3694 if (image_dim == GLSL_SAMPLER_DIM_BUF) { in emit_image_store()
3737 if (image_dim == GLSL_SAMPLER_DIM_BUF) { in emit_image_load()
4859 if (instr->sampler_dim != GLSL_SAMPLER_DIM_BUF) in emit_tex()
4978 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in emit_tex()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c265 if (nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_BUF) in scan_instruction()
277 if (nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_BUF) in scan_instruction()
299 if (nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_BUF) in scan_instruction()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_legalize_image_load_store.cpp68 case GLSL_SAMPLER_DIM_BUF: in r600_legalize_image_load_store_impl()
Dsfn_instr_tex.cpp325 if (tex->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in from_nir()
769 if (tex->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in emit_tex_txs()
Dsfn_instr_mem.cpp805 if (nir_intrinsic_image_dim(intrin) == GLSL_SAMPLER_DIM_BUF) { in emit_image_size()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c383 [PIPE_BUFFER] = GLSL_SAMPLER_DIM_BUF, in st_pbo_sampler_type_for_target()
557 glsl_image_type(GLSL_SAMPLER_DIM_BUF, false, in create_fs()
570 .image_dim = GLSL_SAMPLER_DIM_BUF); in create_fs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c179 ~(BITFIELD_BIT(GLSL_SAMPLER_DIM_CUBE) | BITFIELD_BIT(GLSL_SAMPLER_DIM_BUF)), in si_late_optimize_16bit_samplers()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c137 if (sampler_dim == GLSL_SAMPLER_DIM_BUF) { in record_images_used()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c444 case GLSL_SAMPLER_DIM_BUF: in vir_image_emit_register_writes()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c1579 if (instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in build_tex_intrinsic()
2427 case GLSL_SAMPLER_DIM_BUF: in image_type_to_components_count()
2609 if (dim == GLSL_SAMPLER_DIM_BUF) { in visit_image_load()
2708 if (dim == GLSL_SAMPLER_DIM_BUF) { in visit_image_store()
2855 if (dim == GLSL_SAMPLER_DIM_BUF) { in visit_image_atomic()
2939 if (dim == GLSL_SAMPLER_DIM_BUF) { in visit_image_size()
4573 instr->sampler_dim == GLSL_SAMPLER_DIM_BUF ? AC_DESC_BUFFER : AC_DESC_IMAGE; in tex_fetch_ptrs()
4577 assert(instr->sampler_dim != GLSL_SAMPLER_DIM_BUF); in tex_fetch_ptrs()
4722 if (instr->op == nir_texop_txs && instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) { in visit_tex()
4937 if (instr->sampler_dim != GLSL_SAMPLER_DIM_BUF) { in visit_tex()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c2385 unsigned binding = tex->sampler_dim == GLSL_SAMPLER_DIM_BUF ? 1 : 0; in create_bindless_texture()
2399 unsigned binding = dim == GLSL_SAMPLER_DIM_BUF ? 3 : 2; in create_bindless_image()
2422 …nir_variable *var = tex->sampler_dim == GLSL_SAMPLER_DIM_BUF ? bindless->bindless[1] : bindless->b… in lower_bindless_instr()
2488 nir_variable *var = dim == GLSL_SAMPLER_DIM_BUF ? bindless->bindless[3] : bindless->bindless[2]; in lower_bindless_instr()
/third_party/mesa3d/src/mesa/program/
Dprog_to_nir.c481 return GLSL_SAMPLER_DIM_BUF; in _mesa_texture_index_to_sampler_dim()

12