Searched refs:image_type (Results 1 - 25 of 33) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_jit.c147 LLVMTypeRef image_type; local in function:create_jit_image_type
158 image_type = LLVMStructTypeInContext(lc, elem_types,
161 gallivm->target, image_type,
164 gallivm->target, image_type,
167 gallivm->target, image_type,
170 gallivm->target, image_type,
173 gallivm->target, image_type,
176 gallivm->target, image_type,
179 gallivm->target, image_type,
182 gallivm->target, image_type,
192 LLVMTypeRef viewport_type, texture_type, sampler_type, image_type; local in function:lp_jit_create_types
421 LLVMTypeRef texture_type, sampler_type, image_type; local in function:lp_jit_create_cs_types
[all...]
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_image.c76 image->image_type = pCreateInfo->imageType;
276 assert(image->image_type == VK_IMAGE_TYPE_1D);
281 assert(image->image_type == VK_IMAGE_TYPE_3D);
283 assert(image->image_type == VK_IMAGE_TYPE_2D);
286 assert(image->image_type == VK_IMAGE_TYPE_3D);
290 assert(image->image_type == VK_IMAGE_TYPE_2D);
396 switch (image->image_type) {
H A Dvk_image.h38 VkImageType image_type; member in struct:vk_image
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dvx_image.c105 if (image->vk.image_type == VK_IMAGE_TYPE_3D) {
127 if (image->vk.image_type == VK_IMAGE_TYPE_1D) {
H A Dv3dvx_meta_common.c477 assert((image->vk.image_type != VK_IMAGE_TYPE_3D &&
481 const uint32_t image_layer = image->vk.image_type != VK_IMAGE_TYPE_3D ?
585 assert((src->vk.image_type != VK_IMAGE_TYPE_3D &&
589 const uint32_t src_layer = src->vk.image_type != VK_IMAGE_TYPE_3D ?
603 assert((dst->vk.image_type != VK_IMAGE_TYPE_3D &&
607 const uint32_t dst_layer = dst->vk.image_type != VK_IMAGE_TYPE_3D ?
746 assert((src->vk.image_type != VK_IMAGE_TYPE_3D &&
750 const uint32_t src_layer = src->vk.image_type != VK_IMAGE_TYPE_3D ?
764 assert((dst->vk.image_type != VK_IMAGE_TYPE_3D &&
768 const uint32_t dst_layer = dst->vk.image_type !
[all...]
H A Dv3dv_meta_copy.c394 if (image->vk.image_type != VK_IMAGE_TYPE_3D)
582 if (image->vk.image_type != VK_IMAGE_TYPE_3D)
843 const uint32_t layer_count = dst->vk.image_type != VK_IMAGE_TYPE_3D ?
848 const uint32_t base_src_layer = src->vk.image_type != VK_IMAGE_TYPE_3D ?
850 const uint32_t base_dst_layer = dst->vk.image_type != VK_IMAGE_TYPE_3D ?
897 assert((src->vk.image_type != VK_IMAGE_TYPE_3D ?
899 (dst->vk.image_type != VK_IMAGE_TYPE_3D ?
902 if (dst->vk.image_type != VK_IMAGE_TYPE_3D)
959 .imageType = src->vk.image_type,
1320 if (image->vk.image_type !
1861 get_copy_texel_buffer_pipeline(struct v3dv_device * device,VkFormat format,VkColorComponentFlags cmask,VkComponentMapping * cswizzle,VkImageType image_type,bool is_layered,struct v3dv_meta_texel_buffer_copy_pipeline ** pipeline) argument
[all...]
H A Dv3dv_image.c138 if (image->vk.image_type == VK_IMAGE_TYPE_1D)
226 if (image->vk.image_type != VK_IMAGE_TYPE_3D) {
240 if (image->vk.image_type == VK_IMAGE_TYPE_3D)
362 assert(swapchain_image->vk.image_type == local_create_info.imageType);
409 if (image->vk.image_type != VK_IMAGE_TYPE_3D) {
H A Dv3dv_meta_clear.c101 if (image->vk.image_type != VK_IMAGE_TYPE_3D) {
111 if (image->vk.image_type == VK_IMAGE_TYPE_3D)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
H A Dmemory.cpp148 (desc->image_type == CL_MEM_OBJECT_IMAGE1D_ARRAY ||
149 desc->image_type == CL_MEM_OBJECT_IMAGE2D_ARRAY))
159 if (bool(desc->buffer) != (desc->image_type == CL_MEM_OBJECT_IMAGE1D_BUFFER))
168 if (!supported_formats(ctx, desc->image_type).count(*format))
173 switch (desc->image_type) {
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
H A Dmemory.cpp187 (desc->image_type == CL_MEM_OBJECT_IMAGE1D_ARRAY ||
188 desc->image_type == CL_MEM_OBJECT_IMAGE2D_ARRAY))
198 if (bool(desc->buffer) != (desc->image_type == CL_MEM_OBJECT_IMAGE1D_BUFFER))
207 if (!supported_formats(ctx, desc->image_type).count(*format))
216 switch (desc->image_type) {
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_blorp.c325 anv_sanitize_image_offset(src_image->vk.image_type, region->srcOffset);
327 anv_sanitize_image_offset(dst_image->vk.image_type, region->dstOffset);
329 anv_sanitize_image_extent(src_image->vk.image_type, region->extent);
333 if (dst_image->vk.image_type == VK_IMAGE_TYPE_3D) {
344 if (src_image->vk.image_type == VK_IMAGE_TYPE_3D) {
509 anv_sanitize_image_offset(anv_image->vk.image_type, region->imageOffset);
513 anv_sanitize_image_extent(anv_image->vk.image_type, region->imageExtent);
514 if (anv_image->vk.image_type != VK_IMAGE_TYPE_3D) {
719 if (dst_image->vk.image_type == VK_IMAGE_TYPE_3D) {
730 if (src_image->vk.image_type
[all...]
H A Danv_image.c473 if (image->vk.image_type == VK_IMAGE_TYPE_3D) {
724 .dim = vk_to_isl_surf_dim[image->vk.image_type],
768 .dim = vk_to_isl_surf_dim[image->vk.image_type],
962 assert(image->vk.image_type == VK_IMAGE_TYPE_2D);
1412 assert(swapchain_image->vk.image_type == local_create_info.imageType);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c259 LLVMTypeRef image_type; local in function:create_jit_image_type
273 image_type = LLVMStructTypeInContext(gallivm->context, elem_types,
278 target, image_type,
281 target, image_type,
284 target, image_type,
287 target, image_type,
290 target, image_type,
293 target, image_type,
296 target, image_type,
299 target, image_type,
311 create_jit_context_type(struct gallivm_state * gallivm,LLVMTypeRef texture_type,LLVMTypeRef sampler_type,LLVMTypeRef image_type,const char * struct_name) argument
377 create_gs_jit_context_type(struct gallivm_state * gallivm,unsigned vector_length,LLVMTypeRef texture_type,LLVMTypeRef sampler_type,LLVMTypeRef image_type,const char * struct_name) argument
557 create_tcs_jit_context_type(struct gallivm_state * gallivm,unsigned vector_length,LLVMTypeRef texture_type,LLVMTypeRef sampler_type,LLVMTypeRef image_type,const char * struct_name) argument
659 create_tes_jit_context_type(struct gallivm_state * gallivm,unsigned vector_length,LLVMTypeRef texture_type,LLVMTypeRef sampler_type,LLVMTypeRef image_type,const char * struct_name) argument
726 vb_type, image_type; local in function:create_jit_types
2707 LLVMTypeRef texture_type, sampler_type, image_type, context_type; local in function:create_gs_jit_types
3093 LLVMTypeRef texture_type, sampler_type, image_type, context_type; local in function:create_tcs_jit_types
3751 LLVMTypeRef texture_type, sampler_type, image_type, context_type; local in function:create_tes_jit_types
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dclc_compiler.c73 nir_alu_type image_type)
82 nir_get_glsl_base_type_for_nir_type(image_type | 32));
88 nir_alu_type image_type)
94 nir_get_glsl_base_type_for_nir_type(image_type | 32));
72 lower_read_only_image_deref(nir_builder * b,struct clc_image_lower_context * context,nir_alu_type image_type) argument
87 lower_read_write_image_deref(nir_builder * b,struct clc_image_lower_context * context,nir_alu_type image_type) argument
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_gather_info.c849 const struct glsl_type *image_type = glsl_without_array(var->type); local in function:nir_shader_gather_info
851 if (glsl_get_sampler_dim(image_type) == GLSL_SAMPLER_DIM_BUF) {
855 if (glsl_get_sampler_dim(image_type) == GLSL_SAMPLER_DIM_MS) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c837 SpvId image_type = get_bare_image_type(ctx, var, is_sampler); local in function:get_image_type
838 return is_sampler ? spirv_builder_type_sampled_image(&ctx->builder, image_type) : image_type;
849 SpvId image_type = get_bare_image_type(ctx, var, is_sampler); local in function:emit_image
850 SpvId var_type = is_sampler ? spirv_builder_type_sampled_image(&ctx->builder, image_type) : image_type;
881 ctx->sampler_types[index] = image_type;
885 ctx->image_types[index] = image_type;
3247 SpvId image_type = bindless ? get_bare_image_type(ctx, bindless_var, true) : ctx->sampler_types[texture_index]; local in function:emit_tex
3248 assert(image_type);
[all...]
H A Dspirv_builder.h381 spirv_builder_type_sampled_image(struct spirv_builder *b, SpvId image_type);
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_image.c431 static unsigned radv_tex_dim(VkImageType image_type, VkImageViewType view_type, argument
438 if (gfx9 && image_type == VK_IMAGE_TYPE_1D)
439 image_type = VK_IMAGE_TYPE_2D;
440 switch (image_type) {
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_image.c139 assert(swapchain_image->vk.image_type == pCreateInfo->imageType);
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_image.c838 radv_tex_dim(VkImageType image_type, VkImageViewType view_type, unsigned nr_layers, argument
845 if (gfx9 && image_type == VK_IMAGE_TYPE_1D)
846 image_type = VK_IMAGE_TYPE_2D;
847 switch (image_type) {
/xsrc/external/mit/MesaLib.old/dist/include/CL/
H A Dcl.h131 cl_mem_object_type image_type; member in struct:_cl_image_desc
1022 cl_mem_object_type image_type,
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dbuiltin_functions.cpp959 typedef ir_function_signature *(builtin_builder::*image_prototype_ctr)(const glsl_type *image_type,
1213 ir_function_signature *_image_prototype(const glsl_type *image_type,
1216 ir_function_signature *_image_size_prototype(const glsl_type *image_type,
1219 ir_function_signature *_image_samples_prototype(const glsl_type *image_type,
1223 const glsl_type *image_type,
7437 builtin_builder::_image_prototype(const glsl_type *image_type, argument
7442 image_type->sampled_type,
7449 ir_variable *image = in_var(image_type, "image");
7451 glsl_type::ivec(image_type->coordinate_components()), "coord");
7454 ret_type, get_image_available_predicate(image_type, flag
7485 _image_size_prototype(const glsl_type * image_type,unsigned,unsigned) argument
7525 _image_samples_prototype(const glsl_type * image_type,unsigned,unsigned) argument
7550 _image(image_prototype_ctr prototype,const glsl_type * image_type,const char * intrinsic_name,unsigned num_arguments,unsigned flags,enum ir_intrinsic_id id) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dbuiltin_functions.cpp871 typedef ir_function_signature *(builtin_builder::*image_prototype_ctr)(const glsl_type *image_type,
1113 ir_function_signature *_image_prototype(const glsl_type *image_type,
1116 ir_function_signature *_image_size_prototype(const glsl_type *image_type,
1119 ir_function_signature *_image_samples_prototype(const glsl_type *image_type,
1123 const glsl_type *image_type,
6903 builtin_builder::_image_prototype(const glsl_type *image_type, argument
6908 image_type->sampled_type,
6915 ir_variable *image = in_var(image_type, "image");
6917 glsl_type::ivec(image_type->coordinate_components()), "coord");
6920 ret_type, get_image_available_predicate(image_type, flag
6951 _image_size_prototype(const glsl_type * image_type,unsigned,unsigned) argument
6991 _image_samples_prototype(const glsl_type * image_type,unsigned,unsigned) argument
7016 _image(image_prototype_ctr prototype,const glsl_type * image_type,const char * intrinsic_name,unsigned num_arguments,unsigned flags,enum ir_intrinsic_id id) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dspirv_to_nir.c2117 const struct glsl_type *image_type = sampled.type->type; local in function:vtn_handle_texture
2118 const enum glsl_sampler_dim sampler_dim = glsl_get_sampler_dim(image_type);
2119 const bool is_array = glsl_sampler_type_is_array(image_type);
2139 if (glsl_get_sampler_dim(image_type) == GLSL_SAMPLER_DIM_MS) {
2373 switch (glsl_get_sampler_result_type(image_type)) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_compiler.c1066 const struct glsl_type *image_type = glsl_image_type(dim, false, GLSL_TYPE_FLOAT); local in function:create_bindless_image
1067 var = nir_variable_create(nir, nir_var_uniform, glsl_array_type(image_type, ZINK_MAX_BINDLESS_HANDLES, 0), "bindless_image");

Completed in 72 milliseconds

12