Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h65 switch (glsl_get_sampler_dim(type)) { in zink_sampler_type()
86 switch (glsl_get_sampler_dim(type)) { in zink_image_type()
Dnir_to_spirv.c874 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/
Dnir_opt_access.c109 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()
Dnir_lower_readonly_images_to_tex.c37 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()
Dnir_lower_input_attachments.c86 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()
Dnir_lower_tex_shadow.c53 glsl_get_sampler_dim(type), in strip_shadow()
Dnir_gather_info.c557 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/
Dlvp_lower_input_attachments.c58 enum glsl_sampler_dim image_dim = glsl_get_sampler_dim(deref->type); in try_lower_input_load()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_enums.c87 switch (glsl_get_sampler_dim(type)) { in dxil_get_resource_kind()
Ddxil_nir_lower_int_cubemaps.c35 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()
Dnir_to_dxil.c3661 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/
Dlp_bld_nir.c1611 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/
Dnir_types.h112 enum glsl_sampler_dim glsl_get_sampler_dim(const struct glsl_type *type);
Dnir_types.cpp225 glsl_get_sampler_dim(const struct glsl_type *type) in glsl_get_sampler_dim() function
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c48 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
Dradv_nir_apply_pipeline_layout.c362 const enum glsl_sampler_dim dim = glsl_get_sampler_dim(deref->type); in update_image_intrinsic()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c136 glsl_get_sampler_dim(glsl_without_array(var->type)); in record_images_used()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c81 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/
Dst_atifs_to_nir.c365 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in compile_setupinst()
Dst_pbo.c526 tex->sampler_dim = glsl_get_sampler_dim(tex_var->type); in create_fs()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c95 if (glsl_get_sampler_dim(deref->type) == GLSL_SAMPLER_DIM_1D && in image_address()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c32 return glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE ? in make_2darray_sampler_from_cubemap()
Dzink_compiler.c2624 …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/
Dd3d12_compiler.cpp169 …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()

12