Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c180 LLVMValueRef index, enum ac_descriptor_type desc_type, in si_load_image_desc() argument
186 if (desc_type == AC_DESC_BUFFER) { in si_load_image_desc()
190 assert(desc_type == AC_DESC_IMAGE || desc_type == AC_DESC_FMASK); in si_load_image_desc()
198 if (desc_type == AC_DESC_IMAGE) in si_load_image_desc()
247 enum ac_descriptor_type desc_type, bool image, in si_nir_load_sampler_desc() argument
255 assert(desc_type <= AC_DESC_BUFFER); in si_nir_load_sampler_desc()
266 if (desc_type == AC_DESC_FMASK) { in si_nir_load_sampler_desc()
270 return si_load_image_desc(ctx, list, dynamic_index, desc_type, write, true); in si_nir_load_sampler_desc()
281 return si_load_sampler_desc(ctx, list, ctx->ac.i32_0, desc_type); in si_nir_load_sampler_desc()
309 (desc_type == AC_DESC_IMAGE || desc_type == AC_DESC_BUFFER)) { in si_nir_load_sampler_desc()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c63 addr_format_for_desc_type(VkDescriptorType desc_type, in addr_format_for_desc_type() argument
66 switch (desc_type) { in addr_format_for_desc_type()
437 const VkDescriptorType desc_type, in build_desc_addr() argument
447 if (desc_type != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { in build_desc_addr()
457 anv_descriptor_type_size(state->pdevice, desc_type); in build_desc_addr()
482 assert(desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT); in build_desc_addr()
500 const VkDescriptorType desc_type, in build_buffer_addr_for_res_index() argument
505 if (desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { in build_buffer_addr_for_res_index()
507 return build_desc_addr(b, NULL, desc_type, res_index, addr_format, state); in build_buffer_addr_for_res_index()
522 build_desc_addr(b, NULL, desc_type, res_index, addr_format, state); in build_buffer_addr_for_res_index()
[all …]
Danv_descriptor_set.c149 anv_needs_descriptor_buffer(VkDescriptorType desc_type, in anv_needs_descriptor_buffer() argument
152 if (desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT || in anv_needs_descriptor_buffer()
374 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in anv_CreateDescriptorSetLayout() local
375 if ((desc_type == VK_DESCRIPTOR_TYPE_SAMPLER || in anv_CreateDescriptorSetLayout()
376 desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in anv_CreateDescriptorSetLayout()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c569 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() local
570 if ((desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in v3dv_CreateDescriptorSetLayout()
571 desc_type == VK_DESCRIPTOR_TYPE_SAMPLER) && in v3dv_CreateDescriptorSetLayout()
889 VkDescriptorType desc_type, in write_buffer_descriptor() argument
894 descriptor->type = desc_type; in write_buffer_descriptor()
908 VkDescriptorType desc_type, in write_image_descriptor() argument
915 descriptor->type = desc_type; in write_image_descriptor()
925 desc_type != VK_DESCRIPTOR_TYPE_STORAGE_IMAGE ? 0 : 1; in write_image_descriptor()
946 VkDescriptorType desc_type, in write_buffer_view_descriptor() argument
953 descriptor->type = desc_type; in write_buffer_view_descriptor()
Dv3dv_pipeline.c552 VkDescriptorType desc_type, in pipeline_get_descriptor_map() argument
562 switch(desc_type) { in pipeline_get_descriptor_map()
603 const VkDescriptorType desc_type = nir_intrinsic_desc_type(instr); in lower_vulkan_resource_index() local
605 switch (desc_type) { in lower_vulkan_resource_index()
609 pipeline_get_descriptor_map(pipeline, desc_type, shader->info.stage, false); in lower_vulkan_resource_index()
619 if (desc_type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) { in lower_vulkan_resource_index()
/third_party/mesa3d/docs/_exts/
Dformatting.py16 signode += sphinx.addnodes.desc_type(t, t)
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c121 .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_shader_system_values()
126 index, .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_shader_system_values()
/third_party/mesa3d/src/amd/llvm/
Dac_shader_abi.h129 LLVMValueRef index, enum ac_descriptor_type desc_type,
Dac_nir_to_llvm.c72 enum ac_descriptor_type desc_type, const nir_instr *instr,
2415 enum ac_descriptor_type desc_type, bool write) in get_image_descriptor() argument
2421 return get_sampler_desc(ctx, deref_instr, desc_type, &instr->instr, dynamic_index, true, write); in get_image_descriptor()
4434 enum ac_descriptor_type desc_type, const nir_instr *instr, in get_sampler_desc() argument
4439 addr.constant_index, index, desc_type, addr.image, write, in get_sampler_desc()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c54 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in lvp_CreateDescriptorSetLayout() local
55 if ((desc_type == VK_DESCRIPTOR_TYPE_SAMPLER || in lvp_CreateDescriptorSetLayout()
56 desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in lvp_CreateDescriptorSetLayout()
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_lib.h191 int sense_len, int desc_type);
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c450 uint32_t desc_type = in radv_load_ubo() local
455 desc_type |= S_008F0C_FORMAT(V_008F0C_GFX10_FORMAT_32_FLOAT) | in radv_load_ubo()
458 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in radv_load_ubo()
467 LLVMConstInt(ctx->ac.i32, desc_type, false), in radv_load_ubo()
487 enum ac_descriptor_type desc_type, bool image, bool write, bool bindless) in radv_get_sampler_desc() argument
502 if (binding->type == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE && desc_type == AC_DESC_FMASK) in radv_get_sampler_desc()
505 switch (desc_type) { in radv_get_sampler_desc()
532 offset += 32 * (desc_type - AC_DESC_PLANE_0); in radv_get_sampler_desc()
540 if (desc_type == AC_DESC_SAMPLER && binding->immutable_samplers_offset && in radv_get_sampler_desc()
574 if (desc_type == AC_DESC_PLANE_2) { in radv_get_sampler_desc()
[all …]
Dradv_meta_blit2d.c1265 VkDescriptorType desc_type = (idx == BLIT2D_SRC_TYPE_BUFFER) in meta_blit2d_create_pipe_layout() local
1283 .descriptorType = desc_type, in meta_blit2d_create_pipe_layout()
Dradv_shader.c315 .desc_type = nir_intrinsic_desc_type(intrin)); in lower_intrinsics()
/third_party/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()
/third_party/mesa3d/src/compiler/nir/
Dnir_print.c879 VkDescriptorType desc_type = nir_intrinsic_desc_type(instr); in print_intrinsic_instr() local
880 fprintf(fp, " desc_type=%s", vulkan_descriptor_type_name(desc_type)); in print_intrinsic_instr()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5490 uint32_t desc_type = in visit_load_ubo() local
5494 desc_type |= S_008F0C_FORMAT(V_008F0C_GFX10_FORMAT_32_FLOAT) | in visit_load_ubo()
5497 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in visit_load_ubo()
5502 Operand::c32(0xFFFFFFFFu), Operand::c32(desc_type)); in visit_load_ubo()
5616 uint32_t desc_type = in visit_load_constant() local
5620 desc_type |= S_008F0C_FORMAT(V_008F0C_GFX10_FORMAT_32_FLOAT) | in visit_load_constant()
5623 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in visit_load_constant()
5641 Operand::c32(desc_type)); in visit_load_constant()
5750 enum aco_descriptor_type desc_type, const nir_tex_instr* tex_instr, bool write) in get_sampler_desc() argument
5813 switch (desc_type) { in get_sampler_desc()
[all …]
/third_party/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()