/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.h | 65 switch (glsl_get_sampler_dim(type)) { in zink_sampler_type() 86 switch (glsl_get_sampler_dim(type)) { in zink_image_type()
|
D | nir_to_spirv.c | 874 SpvDim dimension = type_to_dim(glsl_get_sampler_dim(type), &is_ms); in get_bare_image_type() 2776 bool use_sample = glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS || in emit_image_deref_store() 2777 glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS_MS; in emit_image_deref_store() 2832 bool use_sample = glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS || in emit_image_deref_load() 2833 glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS_MS; in emit_image_deref_load() 2855 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE && !glsl_sampler_type_is_array(type)) in emit_image_deref_size() 2886 type_to_dim(glsl_get_sampler_dim(type), &is_ms); in emit_image_intrinsic()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_access.c | 109 if (glsl_get_sampler_dim(glsl_without_array(var->type)) == in gather_intrinsic() 202 glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_BUF; in process_variable() 287 glsl_get_sampler_dim(glsl_without_array(var->type)) == GLSL_SAMPLER_DIM_BUF; in process_intrinsic()
|
D | nir_lower_readonly_images_to_tex.c | 37 return glsl_texture_type(glsl_get_sampler_dim(type), in get_texture_type_for_image() 129 tex->sampler_dim = glsl_get_sampler_dim(deref->type); in lower_readonly_image_op()
|
D | nir_lower_input_attachments.c | 86 enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type); in try_lower_input_load() 160 if (glsl_get_sampler_dim(deref->type) != GLSL_SAMPLER_DIM_SUBPASS_MS) in try_lower_input_texop()
|
D | nir_lower_tex_shadow.c | 53 glsl_get_sampler_dim(type), in strip_shadow()
|
D | nir_gather_info.c | 557 enum glsl_sampler_dim dim = glsl_get_sampler_dim(glsl_without_array(var->type)); in gather_intrinsic_info()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_input_attachments.c | 58 enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type); in try_lower_input_load()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_enums.c | 87 switch (glsl_get_sampler_dim(type)) { in dxil_get_resource_kind()
|
D | dxil_nir_lower_int_cubemaps.c | 35 if (glsl_get_sampler_dim(type) != GLSL_SAMPLER_DIM_CUBE) in type_needs_lowering() 481 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_sampler_from_cubemap() 491 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_image_from_cubemap()
|
D | nir_to_dxil.c | 3661 glsl_get_sampler_dim(nir_src_as_deref(intr->src[0])->type); in emit_image_store() 3721 glsl_get_sampler_dim(nir_src_as_deref(intr->src[0])->type); in emit_image_load() 3787 glsl_get_sampler_dim(src_as_deref->type) : in emit_image_atomic() 3834 glsl_get_sampler_dim(nir_src_as_deref(intr->src[0])->type); in emit_image_atomic_comp_swap()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.c | 1611 params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), in visit_load_image() 1621 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS || in visit_load_image() 1622 glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_SUBPASS_MS) { in visit_load_image() 1651 …params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), glsl_sampler_type_is_array(type)); in visit_store_image() 1662 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS) in visit_store_image() 1727 params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), in visit_atomic_image() 1738 if (glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_MS) { in visit_atomic_image() 1775 params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), in visit_image_size() 1799 params.target = glsl_sampler_to_pipe(glsl_get_sampler_dim(type), in visit_image_samples()
|
/third_party/mesa3d/src/compiler/ |
D | nir_types.h | 112 enum glsl_sampler_dim glsl_get_sampler_dim(const struct glsl_type *type);
|
D | nir_types.cpp | 225 glsl_get_sampler_dim(const struct glsl_type *type) in glsl_get_sampler_dim() function
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ycbcr_textures.c | 50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 48 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
|
D | radv_nir_apply_pipeline_layout.c | 362 const enum glsl_sampler_dim dim = glsl_get_sampler_dim(deref->type); in update_image_intrinsic()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_samplers_as_deref.c | 136 glsl_get_sampler_dim(glsl_without_array(var->type)); in record_images_used()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.c | 81 glsl_texture_type(glsl_get_sampler_dim(in_var->type), in lower_read_only_image_deref() 93 glsl_image_type(glsl_get_sampler_dim(in_var->type), in lower_read_write_image_deref()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atifs_to_nir.c | 365 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in compile_setupinst()
|
D | st_pbo.c | 526 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in create_fs()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_storage_image.c | 95 if (glsl_get_sampler_dim(deref->type) == GLSL_SAMPLER_DIM_1D && in image_address()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_lower_cubemap_to_array.c | 32 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_sampler_from_cubemap()
|
D | zink_compiler.c | 2624 …assert(glsl_get_sampler_dim(glsl_without_array(bindless->bindless[binding]->type)) == glsl_get_sam… in handle_bindless_var() 2729 …if (!glsl_type_is_sampler(type) || !glsl_sampler_type_is_shadow(type) || glsl_get_sampler_dim(type… in lower_1d_shadow()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compiler.cpp | 169 …rv_bindings[var->data.binding + i].dimension = resource_dimension(glsl_get_sampler_dim(type_no_arr… in compile_nir() 181 …ngs[var->data.driver_location + i].dimension = resource_dimension(glsl_get_sampler_dim(type_no_arr… in compile_nir()
|