Home
last modified time | relevance | path

Searched refs:desc_type (Results 1 - 22 of 22) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c181 LLVMValueRef index, enum ac_descriptor_type desc_type, in si_load_image_desc()
187 if (desc_type == AC_DESC_BUFFER) { in si_load_image_desc()
191 assert(desc_type == AC_DESC_IMAGE || desc_type == AC_DESC_FMASK); in si_load_image_desc()
199 if (desc_type == AC_DESC_IMAGE) in si_load_image_desc()
249 enum ac_descriptor_type desc_type, bool image, in si_nir_load_sampler_desc()
257 assert(desc_type <= AC_DESC_BUFFER); in si_nir_load_sampler_desc()
268 if (desc_type == AC_DESC_FMASK) { in si_nir_load_sampler_desc()
272 return si_load_image_desc(ctx, list, dynamic_index, desc_type, write, true); in si_nir_load_sampler_desc()
283 return si_load_sampler_desc(ctx, list, ctx->ac.i32_0, desc_type); in si_nir_load_sampler_desc()
180 si_load_image_desc(struct si_shader_context *ctx, LLVMValueRef list, LLVMValueRef index, enum ac_descriptor_type desc_type, bool uses_store, bool bindless) si_load_image_desc() argument
246 si_nir_load_sampler_desc(struct ac_shader_abi *abi, unsigned descriptor_set, unsigned base_index, unsigned constant_index, LLVMValueRef dynamic_index, enum ac_descriptor_type desc_type, bool image, bool write, bool bindless) si_nir_load_sampler_desc() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_apply_pipeline_layout.c111 VkDescriptorType desc_type = nir_intrinsic_desc_type(intrin); in visit_vulkan_resource_reindex() local
112 if (desc_type == VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR) { in visit_vulkan_resource_reindex()
123 assert(desc_type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || in visit_vulkan_resource_reindex()
124 desc_type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER); in visit_vulkan_resource_reindex()
161 uint32_t desc_type = in load_inline_buffer_descriptor() local
165 desc_type |= S_008F0C_FORMAT(V_008F0C_GFX11_FORMAT_32_FLOAT) | in load_inline_buffer_descriptor()
168 desc_type |= S_008F0C_FORMAT(V_008F0C_GFX10_FORMAT_32_FLOAT) | in load_inline_buffer_descriptor()
171 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) | in load_inline_buffer_descriptor()
176 nir_imm_int(b, 0xffffffff), nir_imm_int(b, desc_type)); in load_inline_buffer_descriptor()
230 enum ac_descriptor_type desc_type, boo in get_sampler_desc()
229 get_sampler_desc(nir_builder *b, apply_layout_state *state, nir_deref_instr *deref, enum ac_descriptor_type desc_type, bool non_uniform, nir_tex_instr *tex, bool write) get_sampler_desc() argument
[all...]
H A Dradv_nir_to_llvm.c327 enum ac_descriptor_type desc_type, bool image, bool write, bool bindless) in radv_get_sampler_desc()
331 if (image && desc_type == AC_DESC_FMASK) in radv_get_sampler_desc()
337 if (desc_type == AC_DESC_PLANE_2 && index && LLVMTypeOf(index) == ctx->ac.i32) { in radv_get_sampler_desc()
352 bool v4 = desc_type == AC_DESC_BUFFER || desc_type == AC_DESC_SAMPLER; in radv_get_sampler_desc()
325 radv_get_sampler_desc(struct ac_shader_abi *abi, unsigned descriptor_set, unsigned base_index, unsigned constant_index, LLVMValueRef index, enum ac_descriptor_type desc_type, bool image, bool write, bool bindless) radv_get_sampler_desc() argument
H A Dradv_meta_blit2d.c1077 VkDescriptorType desc_type = (idx == BLIT2D_SRC_TYPE_BUFFER) in meta_blit2d_create_pipe_layout() local
1095 .descriptorType = desc_type, in meta_blit2d_create_pipe_layout()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dpipeline.cc307 DescriptorType desc_type = DescriptorType::kUniformBuffer; in AddBufferDescriptor() local
310 desc_type = DescriptorType::kStorageImage; in AddBufferDescriptor()
313 desc_type = DescriptorType::kSampledImage; in AddBufferDescriptor()
316 desc_type = DescriptorType::kCombinedImageSampler; in AddBufferDescriptor()
319 desc_type = DescriptorType::kUniformTexelBuffer; in AddBufferDescriptor()
321 desc_type = DescriptorType::kStorageTexelBuffer; in AddBufferDescriptor()
323 desc_type = DescriptorType::kStorageBuffer; in AddBufferDescriptor()
325 desc_type = DescriptorType::kUniformBufferDynamic; in AddBufferDescriptor()
327 desc_type = DescriptorType::kStorageBufferDynamic; in AddBufferDescriptor()
333 cmd->GetBuffer(), desc_type, device in AddBufferDescriptor()
[all...]
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_descriptor_set.c86 is_dynamic_desc_type(VkDescriptorType desc_type) in is_dynamic_desc_type() argument
88 return (desc_type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in is_dynamic_desc_type()
89 desc_type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC); in is_dynamic_desc_type()
152 VkDescriptorType desc_type = bindings[i].descriptorType; in dzn_descriptor_set_layout_create() local
153 bool has_sampler = dzn_desc_type_has_sampler(desc_type); in dzn_descriptor_set_layout_create()
188 if (desc_type != VK_DESCRIPTOR_TYPE_SAMPLER) { in dzn_descriptor_set_layout_create()
192 if (dzn_descriptor_type_depends_on_shader_usage(desc_type)) { in dzn_descriptor_set_layout_create()
197 if (!is_dynamic_desc_type(desc_type)) { in dzn_descriptor_set_layout_create()
199 dzn_descriptor_type_depends_on_shader_usage(desc_type) ? 2 : 1; in dzn_descriptor_set_layout_create()
267 VkDescriptorType desc_type in dzn_descriptor_set_layout_create() local
469 VkDescriptorType desc_type = bindings[i].descriptorType; dzn_GetDescriptorSetLayoutSupport() local
[all...]
H A Ddzn_nir.c60 VkDescriptorType desc_type = in dzn_nir_create_bo_desc() local
72 .desc_type = desc_type); in dzn_nir_create_bo_desc()
79 .desc_type = desc_type); in dzn_nir_create_bo_desc()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
H A Ddxil_spirv_nir.c126 .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_shader_system_values()
131 index, .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_shader_system_values()
214 .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_load_push_constant()
219 index, .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_load_push_constant()
304 .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_yz_flip()
309 index, .desc_type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER); in lower_yz_flip()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_nir_apply_pipeline_layout.c65 addr_format_for_desc_type(VkDescriptorType desc_type, in addr_format_for_desc_type() argument
68 switch (desc_type) { in addr_format_for_desc_type()
429 * This function takes both a bind_layout and a desc_type which are used to
436 const VkDescriptorType desc_type, in build_desc_addr()
446 if (desc_type != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { in build_desc_addr()
475 assert(desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK); in build_desc_addr()
493 const VkDescriptorType desc_type, in build_buffer_addr_for_res_index()
498 if (desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { in build_buffer_addr_for_res_index()
500 return build_desc_addr(b, NULL, desc_type, res_index, addr_format, state); in build_buffer_addr_for_res_index()
515 build_desc_addr(b, NULL, desc_type, res_inde in build_buffer_addr_for_res_index()
434 build_desc_addr(nir_builder *b, const struct anv_descriptor_set_binding_layout *bind_layout, const VkDescriptorType desc_type, nir_ssa_def *index, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_desc_addr() argument
492 build_buffer_addr_for_res_index(nir_builder *b, const VkDescriptorType desc_type, nir_ssa_def *res_index, nir_address_format addr_format, struct apply_pipeline_layout_state *state) build_buffer_addr_for_res_index() argument
916 const VkDescriptorType desc_type = nir_intrinsic_desc_type(intrin); lower_load_vulkan_descriptor() local
[all...]
H A Danv_descriptor_set.c185 anv_needs_descriptor_buffer(VkDescriptorType desc_type, in anv_needs_descriptor_buffer() argument
188 if (desc_type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK || in anv_needs_descriptor_buffer()
435 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in anv_CreateDescriptorSetLayout() local
436 if ((desc_type == VK_DESCRIPTOR_TYPE_SAMPLER || in anv_CreateDescriptorSetLayout()
437 desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in anv_CreateDescriptorSetLayout()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_nir_lower_descriptors.c45 addr_format_for_desc_type(VkDescriptorType desc_type, in addr_format_for_desc_type() argument
48 switch (desc_type) { in addr_format_for_desc_type()
260 const VkDescriptorType desc_type = nir_intrinsic_desc_type(intrin); in lower_res_intrinsic() local
261 nir_address_format addr_format = addr_format_for_desc_type(desc_type, ctx); in lower_res_intrinsic()
/third_party/mesa3d/docs/_exts/
H A Dformatting.py16 signode += sphinx.addnodes.desc_type(t, t)
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_descriptor_set.c638 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() local
639 if ((desc_type == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in v3dv_CreateDescriptorSetLayout()
640 desc_type == VK_DESCRIPTOR_TYPE_SAMPLER) && in v3dv_CreateDescriptorSetLayout()
995 VkDescriptorType desc_type, in write_buffer_descriptor()
1000 descriptor->type = desc_type; in write_buffer_descriptor()
1014 VkDescriptorType desc_type, in write_image_descriptor()
1021 descriptor->type = desc_type; in write_image_descriptor()
1031 desc_type != VK_DESCRIPTOR_TYPE_STORAGE_IMAGE ? 0 : 1; in write_image_descriptor()
1052 VkDescriptorType desc_type, in write_buffer_view_descriptor()
1059 descriptor->type = desc_type; in write_buffer_view_descriptor()
994 write_buffer_descriptor(struct v3dv_descriptor *descriptor, VkDescriptorType desc_type, const VkDescriptorBufferInfo *buffer_info) write_buffer_descriptor() argument
1012 write_image_descriptor(struct v3dv_device *device, struct v3dv_descriptor *descriptor, VkDescriptorType desc_type, struct v3dv_descriptor_set *set, const struct v3dv_descriptor_set_binding_layout *binding_layout, struct v3dv_image_view *iview, struct v3dv_sampler *sampler, uint32_t array_index) write_image_descriptor() argument
1050 write_buffer_view_descriptor(struct v3dv_device *device, struct v3dv_descriptor *descriptor, VkDescriptorType desc_type, struct v3dv_descriptor_set *set, const struct v3dv_descriptor_set_binding_layout *binding_layout, struct v3dv_buffer_view *bview, uint32_t array_index) write_buffer_view_descriptor() argument
[all...]
H A Dv3dv_pipeline.c553 VkDescriptorType desc_type, in pipeline_get_descriptor_map()
563 switch(desc_type) { in pipeline_get_descriptor_map()
552 pipeline_get_descriptor_map(struct v3dv_pipeline *pipeline, VkDescriptorType desc_type, gl_shader_stage gl_stage, bool is_sampler) pipeline_get_descriptor_map() argument
/third_party/mesa3d/src/amd/llvm/
H A Dac_shader_abi.h94 * \param desc_type the type of descriptor to load
99 LLVMValueRef index, enum ac_descriptor_type desc_type,
H A Dac_nir_to_llvm.c72 enum ac_descriptor_type desc_type, const nir_instr *instr,
2474 enum ac_descriptor_type desc_type, bool write) in get_image_descriptor()
2480 return get_sampler_desc(ctx, deref_instr, desc_type, &instr->instr, dynamic_index, true, write); in get_image_descriptor()
4487 enum ac_descriptor_type desc_type, const nir_instr *instr, in get_sampler_desc()
4492 addr.constant_index, index, desc_type, addr.image, write, in get_sampler_desc()
2471 get_image_descriptor(struct ac_nir_context *ctx, const nir_intrinsic_instr *instr, LLVMValueRef dynamic_index, enum ac_descriptor_type desc_type, bool write) get_image_descriptor() argument
4486 get_sampler_desc(struct ac_nir_context *ctx, nir_deref_instr *deref_instr, enum ac_descriptor_type desc_type, const nir_instr *instr, LLVMValueRef index, bool image, bool write) get_sampler_desc() argument
/third_party/backends/include/sane/
H A Dsanei_usb.h174 SANE_Byte desc_type; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A 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/backends/sanei/
H A Dsanei_usb.c5541 int desc_type = sanei_xml_get_prop_uint(node, "descriptor_type"); in sanei_usb_replay_get_descriptor() local
5549 if (desc_type < 0 || bcd_usb < 0 || bcd_dev < 0 || dev_class < 0 || in sanei_usb_replay_get_descriptor()
5557 desc->desc_type = desc_type; in sanei_usb_replay_get_descriptor()
5581 sanei_xml_set_hex_attr(e_tx, "descriptor_type", desc->desc_type); in sanei_usb_record_get_descriptor()
5624 desc->desc_type = usb_descr->bDescriptorType; in sanei_usb_get_descriptor()
5648 desc->desc_type = lu_desc.bDescriptorType; in sanei_usb_get_descriptor()
5672 desc->desc_type = usb_manager_desc.bDescriptorType; in sanei_usb_get_descriptor()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_print.c977 VkDescriptorType desc_type = nir_intrinsic_desc_type(instr); in print_intrinsic_instr() local
978 fprintf(fp, "desc_type=%s", vulkan_descriptor_type_name(desc_type)); in print_intrinsic_instr()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir.c1890 .desc_type = nir_intrinsic_desc_type(index)); in lower_ubo_array_one_to_static()
/third_party/mesa3d/src/amd/compiler/
H A Daco_instruction_selection.cpp5926 uint32_t desc_type =
5930 desc_type |= S_008F0C_FORMAT(V_008F0C_GFX10_FORMAT_32_FLOAT) |
5934 desc_type |= S_008F0C_NUM_FORMAT(V_008F0C_BUF_NUM_FORMAT_FLOAT) |
5952 Operand::c32(desc_type));

Completed in 68 milliseconds