Home
last modified time | relevance | path

Searched refs:desc_type (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c156 LLVMValueRef index, enum ac_descriptor_type desc_type, in si_load_image_desc() argument
162 if (desc_type == AC_DESC_BUFFER) { in si_load_image_desc()
166 assert(desc_type == AC_DESC_IMAGE || desc_type == AC_DESC_FMASK); in si_load_image_desc()
174 if (desc_type == AC_DESC_IMAGE && uses_store) in si_load_image_desc()
222 enum ac_descriptor_type desc_type, bool image, in si_nir_load_sampler_desc() argument
230 assert(desc_type <= AC_DESC_BUFFER); in si_nir_load_sampler_desc()
241 if (desc_type == AC_DESC_FMASK) { in si_nir_load_sampler_desc()
245 return si_load_image_desc(ctx, list, dynamic_index, desc_type, write, true); in si_nir_load_sampler_desc()
256 return si_load_sampler_desc(ctx, list, ctx->ac.i32_0, desc_type); in si_nir_load_sampler_desc()
284 (desc_type == AC_DESC_IMAGE || desc_type == AC_DESC_BUFFER)) in si_nir_load_sampler_desc()
[all …]
/external/deqp-deps/amber/src/vulkan/
Dpipeline.cc295 DescriptorType desc_type = DescriptorType::kUniformBuffer; in AddBufferDescriptor() local
298 desc_type = DescriptorType::kStorageImage; in AddBufferDescriptor()
301 desc_type = DescriptorType::kSampledImage; in AddBufferDescriptor()
304 desc_type = DescriptorType::kCombinedImageSampler; in AddBufferDescriptor()
307 desc_type = DescriptorType::kUniformTexelBuffer; in AddBufferDescriptor()
309 desc_type = DescriptorType::kStorageTexelBuffer; in AddBufferDescriptor()
311 desc_type = DescriptorType::kStorageBuffer; in AddBufferDescriptor()
313 desc_type = DescriptorType::kUniformBufferDynamic; in AddBufferDescriptor()
315 desc_type = DescriptorType::kStorageBufferDynamic; in AddBufferDescriptor()
321 cmd->GetBuffer(), desc_type, device_, cmd->GetBaseMipLevel(), in AddBufferDescriptor()
[all …]
/external/arm-trusted-firmware/lib/xlat_tables_v2/
Dxlat_tables_core.c295 const unsigned int level, const uint64_t desc_type) in xlat_tables_unmap_region_action() argument
309 assert(desc_type == PAGE_DESC); in xlat_tables_unmap_region_action()
321 if (desc_type == TABLE_DESC) { in xlat_tables_unmap_region_action()
324 assert(desc_type == BLOCK_DESC); in xlat_tables_unmap_region_action()
340 assert(desc_type == TABLE_DESC); in xlat_tables_unmap_region_action()
380 uint64_t desc_type = desc & DESC_MASK; in xlat_tables_unmap_region() local
384 desc_type); in xlat_tables_unmap_region()
435 unsigned int desc_type, unsigned long long dest_pa, in xlat_tables_map_region_action() argument
461 if (desc_type == PAGE_DESC) { in xlat_tables_map_region_action()
468 assert(desc_type == INVALID_DESC); in xlat_tables_map_region_action()
[all …]
Dxlat_tables_utils.c281 uint64_t idx, desc, desc_type; in find_xlat_table_entry() local
291 desc_type = desc & DESC_MASK; in find_xlat_table_entry()
293 if (desc_type == INVALID_DESC) { in find_xlat_table_entry()
303 assert(desc_type == PAGE_DESC); in find_xlat_table_entry()
308 if (desc_type == BLOCK_DESC) { in find_xlat_table_entry()
313 assert(desc_type == TABLE_DESC); in find_xlat_table_entry()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c345 desc_addr_format(VkDescriptorType desc_type, in desc_addr_format() argument
348 return (desc_type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || in desc_addr_format()
349 desc_type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) ? in desc_addr_format()
363 const VkDescriptorType desc_type = nir_intrinsic_desc_type(intrin); in lower_res_index_intrinsic() local
377 (desc_type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || in lower_res_index_intrinsic()
378 desc_type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in lower_res_index_intrinsic()
398 assert(desc_addr_format(desc_type, state) == in lower_res_index_intrinsic()
407 assert(desc_addr_format(desc_type, state) == in lower_res_index_intrinsic()
418 assert(desc_addr_format(desc_type, state) == in lower_res_index_intrinsic()
425 assert(desc_addr_format(desc_type, state) == in lower_res_index_intrinsic()
[all …]
Danv_descriptor_set.c143 anv_needs_descriptor_buffer(VkDescriptorType desc_type, in anv_needs_descriptor_buffer() argument
146 if (desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT || in anv_needs_descriptor_buffer()
368 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in anv_CreateDescriptorSetLayout() local
369 if ((desc_type == VK_DESCRIPTOR_TYPE_SAMPLER || in anv_CreateDescriptorSetLayout()
370 desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in anv_CreateDescriptorSetLayout()
/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dget_descriptors_sequence.py55 desc_type=util.DESC_TYPE_CONFIG,
75 desc_type=util.DESC_TYPE_CONFIG,
/external/mesa3d/docs/_exts/
Dformatting.py16 signode += sphinx.addnodes.desc_type(t, t)
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c613 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() local
614 if ((desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in v3dv_CreateDescriptorSetLayout()
615 desc_type == VK_DESCRIPTOR_TYPE_SAMPLER) && in v3dv_CreateDescriptorSetLayout()
926 write_image_descriptor(VkDescriptorType desc_type, in write_image_descriptor() argument
938 desc_type != VK_DESCRIPTOR_TYPE_STORAGE_IMAGE ? 0 : 1; in write_image_descriptor()
958 write_buffer_view_descriptor(VkDescriptorType desc_type, in write_buffer_view_descriptor() argument
/external/mesa3d/src/amd/llvm/
Dac_shader_abi.h129 LLVMValueRef index, enum ac_descriptor_type desc_type,
Dac_nir_to_llvm.c65 enum ac_descriptor_type desc_type, const nir_instr *instr,
2261 enum ac_descriptor_type desc_type, bool write) in get_image_descriptor() argument
2267 return get_sampler_desc(ctx, deref_instr, desc_type, &instr->instr, dynamic_index, true, write); in get_image_descriptor()
3946 enum ac_descriptor_type desc_type, const nir_instr *instr, in get_sampler_desc() argument
3951 addr.constant_index, index, desc_type, addr.image, write, in get_sampler_desc()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_lib.h191 int sense_len, int desc_type);
/external/crosvm/usb_util/src/
Ddescriptor.rs97 let desc_type = T::descriptor_type() as u8; in parse_usbfs_descriptors() localVariable
100 if hdr.bDescriptorType == desc_type { in parse_usbfs_descriptors()
/external/libusb/include/libusb/
Dlibusb.h1820 uint8_t desc_type, uint8_t desc_index, unsigned char *data, int length) in libusb_get_descriptor() argument
1823 LIBUSB_REQUEST_GET_DESCRIPTOR, (uint16_t) ((desc_type << 8) | desc_index), in libusb_get_descriptor()
/external/libusb/libusb/
Dlibusb.h1820 uint8_t desc_type, uint8_t desc_index, unsigned char *data, int length) in libusb_get_descriptor() argument
1823 LIBUSB_REQUEST_GET_DESCRIPTOR, (uint16_t) ((desc_type << 8) | desc_index), in libusb_get_descriptor()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c896 uint32_t desc_type = S_008F0C_DST_SEL_X(V_008F0C_SQ_SEL_X) | in radv_load_ubo() local
902 desc_type |= S_008F0C_FORMAT(V_008F0C_IMG_FORMAT_32_FLOAT) | in radv_load_ubo()
906 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in radv_load_ubo()
914 LLVMConstInt(ctx->ac.i32, desc_type, false), in radv_load_ubo()
934 enum ac_descriptor_type desc_type, in radv_get_sampler_desc() argument
950 switch (desc_type) { in radv_get_sampler_desc()
977 offset += 32 * (desc_type - AC_DESC_PLANE_0); in radv_get_sampler_desc()
985 if (desc_type == AC_DESC_SAMPLER && binding->immutable_samplers_offset && in radv_get_sampler_desc()
1019 if (desc_type == AC_DESC_PLANE_2) { in radv_get_sampler_desc()
Dradv_meta_blit2d.c1331 …VkDescriptorType desc_type = (idx == BLIT2D_SRC_TYPE_BUFFER) ? VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BU… in meta_blit2d_create_pipe_layout() local
1346 .descriptorType = desc_type, in meta_blit2d_create_pipe_layout()
/external/mesa3d/src/compiler/nir/
Dnir_print.c916 VkDescriptorType desc_type = nir_intrinsic_desc_type(instr); in print_intrinsic_instr() local
917 fprintf(fp, " desc_type=%s", vulkan_descriptor_type_name(desc_type)); in print_intrinsic_instr()
Dnir.h2083 INTRINSIC_IDX_ACCESSORS(desc_type, DESC_TYPE, unsigned) in INTRINSIC_IDX_ACCESSORS()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5179 uint32_t desc_type = S_008F0C_DST_SEL_X(V_008F0C_SQ_SEL_X) | in visit_load_ubo() local
5184 desc_type |= S_008F0C_FORMAT(V_008F0C_IMG_FORMAT_32_FLOAT) | in visit_load_ubo()
5188 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in visit_load_ubo()
5194 Operand(desc_type)); in visit_load_ubo()
5301 uint32_t desc_type = S_008F0C_DST_SEL_X(V_008F0C_SQ_SEL_X) | in visit_load_constant() local
5306 desc_type |= S_008F0C_FORMAT(V_008F0C_IMG_FORMAT_32_FLOAT) | in visit_load_constant()
5310 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in visit_load_constant()
5326 Operand(desc_type)); in visit_load_constant()
5435 enum aco_descriptor_type desc_type, in get_sampler_desc() argument
5498 switch (desc_type) { in get_sampler_desc()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c300 int desc_type) in sg_scsi_sense_desc_find() argument
315 if (descp[0] == desc_type) in sg_scsi_sense_desc_find()