Home
last modified time | relevance | path

Searched refs:glsl_get_sampler_dim (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h59 …if (glsl_get_sampler_dim(type) < GLSL_SAMPLER_DIM_BUF || glsl_get_sampler_dim(type) == GLSL_SAMPLE… in zink_sampler_type()
61 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_BUF) in zink_sampler_type()
Dnir_to_spirv.c501 SpvDim dimension = type_to_dim(glsl_get_sampler_dim(type), &is_ms); in emit_sampler()
/external/mesa3d/src/compiler/nir/
Dnir_opt_access.c74 if (glsl_get_sampler_dim(glsl_without_array(var->type)) == in gather_intrinsic()
261 glsl_get_sampler_dim(glsl_without_array(var->type)) == GLSL_SAMPLER_DIM_BUF; in process_intrinsic()
Dnir_lower_input_attachments.c86 enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type); in try_lower_input_load()
163 if (glsl_get_sampler_dim(deref->type) != GLSL_SAMPLER_DIM_SUBPASS_MS) in try_lower_input_texop()
Dnir_lower_cl_images_to_tex.c75 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_cl_images_to_tex_impl()
Dnir_gather_info.c788 if (glsl_get_sampler_dim(image_type) == GLSL_SAMPLER_DIM_BUF) { in nir_shader_gather_info()
792 if (glsl_get_sampler_dim(image_type) == GLSL_SAMPLER_DIM_MS) { in nir_shader_gather_info()
Dnir.c2482 nir_intrinsic_set_image_dim(intrin, glsl_get_sampler_dim(deref->type)); in nir_rewrite_image_intrinsic()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_input_attachments.c58 enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type); in try_lower_input_load()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c1274 …params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), glsl_sampler_type_is_array(type)); in visit_load_image()
1283 …if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS || glsl_get_sampler_dim(type) == GLSL_SAMPLE… in visit_load_image()
1308 …params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), glsl_sampler_type_is_array(type)); in visit_store_image()
1319 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS) in visit_store_image()
1382 …params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), glsl_sampler_type_is_array(type)); in visit_atomic_image()
1388 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS) in visit_atomic_image()
1420 …params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), glsl_sampler_type_is_array(type)); in visit_image_size()
1441 …params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), glsl_sampler_type_is_array(type)); in visit_image_samples()
/external/mesa3d/src/compiler/
Dnir_types.h107 enum glsl_sampler_dim glsl_get_sampler_dim(const struct glsl_type *type);
Dnir_types.cpp200 glsl_get_sampler_dim(const struct glsl_type *type) in glsl_get_sampler_dim() function
/external/mesa3d/src/intel/compiler/
Dbrw_nir_lower_image_load_store.c95 if (glsl_get_sampler_dim(deref->type) == GLSL_SAMPLER_DIM_1D && in image_address()
664 enum glsl_sampler_dim dim = glsl_get_sampler_dim(deref->type); in lower_image_size_instr()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c47 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
Danv_nir_apply_pipeline_layout.c1346 enum glsl_sampler_dim dim = glsl_get_sampler_dim(glsl_type); in anv_nir_apply_pipeline_layout()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c503 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in create_fs()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c2403 dim = glsl_get_sampler_dim(type); in visit_image_load()
2483 dim = glsl_get_sampler_dim(type); in visit_image_store()
2563 dim = glsl_get_sampler_dim(type); in visit_image_atomic()
2713 dim = glsl_get_sampler_dim(type); in visit_image_size()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5688 enum glsl_sampler_dim dim = glsl_get_sampler_dim(type); in get_image_coords()
5767 const enum glsl_sampler_dim dim = glsl_get_sampler_dim(type); in visit_image_load()
5853 const enum glsl_sampler_dim dim = glsl_get_sampler_dim(type); in visit_image_store()
5940 const enum glsl_sampler_dim dim = glsl_get_sampler_dim(type); in visit_image_atomic()
6087 const enum glsl_sampler_dim dim = glsl_get_sampler_dim(type); in visit_image_size()
6091 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_BUF) { in visit_image_size()
6116 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE && in visit_image_size()
6134 glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_1D && in visit_image_size()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1756 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS) { in ttn_mem()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c2568 const enum glsl_sampler_dim sampler_dim = glsl_get_sampler_dim(image->type); in vtn_handle_texture()