Home
last modified time | relevance | path

Searched refs:binding_layout (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c58 const struct v3dv_descriptor_set_binding_layout *binding_layout, in descriptor_bo_map() argument
61 assert(descriptor_bo_size(binding_layout->type) > 0); in descriptor_bo_map()
63 set->base_offset + binding_layout->descriptor_offset + in descriptor_bo_map()
64 array_index * descriptor_bo_size(binding_layout->type); in descriptor_bo_map()
103 const struct v3dv_descriptor_set_binding_layout *binding_layout = in v3dv_descriptor_map_get_descriptor() local
107 assert(array_index < binding_layout->array_size); in v3dv_descriptor_map_get_descriptor()
109 if (descriptor_type_is_dynamic(binding_layout->type)) { in v3dv_descriptor_map_get_descriptor()
112 binding_layout->dynamic_offset_index + array_index; in v3dv_descriptor_map_get_descriptor()
117 return &set->descriptors[binding_layout->descriptor_index + array_index]; in v3dv_descriptor_map_get_descriptor()
145 const struct v3dv_descriptor_set_binding_layout *binding_layout = in v3dv_descriptor_map_get_descriptor_bo() local
[all …]
Dv3dv_pipeline.c595 struct v3dv_descriptor_set_binding_layout *binding_layout = in lower_vulkan_resource_index() local
611 binding_layout->array_size, in lower_vulkan_resource_index()
733 struct v3dv_descriptor_set_binding_layout *binding_layout = in lower_tex_src_to_offset() local
739 uint32_t array_index = binding_layout->type != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT ? in lower_tex_src_to_offset()
749 binding_layout->array_size, in lower_tex_src_to_offset()
834 struct v3dv_descriptor_set_binding_layout *binding_layout = in lower_image_deref() local
839 assert(binding_layout->type == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE || in lower_image_deref()
840 binding_layout->type == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER); in lower_image_deref()
847 binding_layout->array_size, in lower_image_deref()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c822 const struct tu_descriptor_set_binding_layout *binding_layout = in tu_update_descriptor_sets() local
827 dstSetOverride && binding_layout->immutable_samplers_offset; in tu_update_descriptor_sets()
829 tu_immutable_samplers(set->layout, binding_layout); in tu_update_descriptor_sets()
831 ptr += binding_layout->offset / 4; in tu_update_descriptor_sets()
833 ptr += (binding_layout->size / 4) * writeset->dstArrayElement; in tu_update_descriptor_sets()
839 idx += binding_layout->dynamic_offset_offset; in tu_update_descriptor_sets()
850 idx += binding_layout->dynamic_offset_offset; in tu_update_descriptor_sets()
870 !binding_layout->immutable_samplers_offset); in tu_update_descriptor_sets()
876 if (!binding_layout->immutable_samplers_offset) in tu_update_descriptor_sets()
888 ptr += binding_layout->size / 4; in tu_update_descriptor_sets()
[all …]
Dtu_shader.c220 struct tu_descriptor_set_binding_layout *binding_layout = in lower_vulkan_resource_index() local
226 switch (binding_layout->type) { in lower_vulkan_resource_index()
230 binding_layout->dynamic_offset_offset; in lower_vulkan_resource_index()
234 base = binding_layout->offset / (4 * A6XX_TEX_CONST_DWORDS); in lower_vulkan_resource_index()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c1061 const struct radv_descriptor_set_binding_layout *binding_layout = in radv_update_descriptor_sets() local
1070 binding_layout->immutable_samplers_offset && !binding_layout->immutable_samplers_equal; in radv_update_descriptor_sets()
1071 const uint32_t *samplers = radv_immutable_samplers(set->layout, binding_layout); in radv_update_descriptor_sets()
1073 ptr += binding_layout->offset / 4; in radv_update_descriptor_sets()
1080 ptr += binding_layout->size * writeset->dstArrayElement / 4; in radv_update_descriptor_sets()
1081 buffer_list += binding_layout->buffer_offset; in radv_update_descriptor_sets()
1088 idx += binding_layout->dynamic_offset_offset; in radv_update_descriptor_sets()
1112 unsigned sampler_offset = radv_combined_image_descriptor_sampler_offset(binding_layout); in radv_update_descriptor_sets()
1117 !binding_layout->immutable_samplers_offset); in radv_update_descriptor_sets()
1125 if (!binding_layout->immutable_samplers_offset) { in radv_update_descriptor_sets()
[all …]
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp2164 const auto &binding_layout = layout->GetDescriptorSetLayoutBindingPtrFromIndex(j); in UpdateAllocateDescriptorSetsData() local
2165 uint32_t typeIndex = static_cast<uint32_t>(binding_layout->descriptorType); in UpdateAllocateDescriptorSetsData()
2166 ds_data->required_descriptors_by_type[typeIndex] += binding_layout->descriptorCount; in UpdateAllocateDescriptorSetsData()