Home
last modified time | relevance | path

Searched refs:src_binding_layout (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c982 const struct v3dv_descriptor_set_binding_layout *src_binding_layout, in descriptor_bo_copy() argument
985 assert(dst_binding_layout->type == src_binding_layout->type); in descriptor_bo_copy()
988 void *src_map = descriptor_bo_map(device, src_set, src_binding_layout, src_array_index); in descriptor_bo_copy()
990 memcpy(dst_map, src_map, v3dv_X(device, descriptor_bo_size)(src_binding_layout->type)); in descriptor_bo_copy()
1207 const struct v3dv_descriptor_set_binding_layout *src_binding_layout = in v3dv_UpdateDescriptorSets() local
1212 assert(src_binding_layout->type == dst_binding_layout->type); in v3dv_UpdateDescriptorSets()
1217 src_descriptor += src_binding_layout->descriptor_index; in v3dv_UpdateDescriptorSets()
1220 if (src_binding_layout->type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { in v3dv_UpdateDescriptorSets()
1226 src_binding_layout->descriptor_offset + in v3dv_UpdateDescriptorSets()
1244 if (v3dv_X(device, descriptor_bo_size)(src_binding_layout->type) > 0) { in v3dv_UpdateDescriptorSets()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c1083 const struct tu_descriptor_set_binding_layout *src_binding_layout = in tu_update_descriptor_sets() local
1089 if (src_binding_layout->type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in tu_update_descriptor_sets()
1090 src_binding_layout->type == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in tu_update_descriptor_sets()
1093 src_ptr += src_binding_layout->dynamic_offset_offset / 4; in tu_update_descriptor_sets()
1098 src_ptr += src_binding_layout->offset / 4; in tu_update_descriptor_sets()
1102 src_ptr += src_binding_layout->size * copyset->srcArrayElement / 4; in tu_update_descriptor_sets()
1108 uint32_t copy_size = MIN2(src_binding_layout->size, dst_binding_layout->size); in tu_update_descriptor_sets()
1113 src_ptr += src_binding_layout->size / 4; in tu_update_descriptor_sets()
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c1300 const struct radv_descriptor_set_binding_layout *src_binding_layout = in radv_update_descriptor_sets_impl() local
1309 src_ptr += src_binding_layout->offset / 4; in radv_update_descriptor_sets_impl()
1312 if (src_binding_layout->type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { in radv_update_descriptor_sets_impl()
1320 src_ptr += src_binding_layout->size * copyset->srcArrayElement / 4; in radv_update_descriptor_sets_impl()
1323 src_buffer_list += src_binding_layout->buffer_offset; in radv_update_descriptor_sets_impl()
1331 size_t copy_size = MIN2(src_binding_layout->size, dst_binding_layout->size); in radv_update_descriptor_sets_impl()
1334 switch (src_binding_layout->type) { in radv_update_descriptor_sets_impl()
1340 src_idx += src_binding_layout->dynamic_offset_offset; in radv_update_descriptor_sets_impl()
1351 src_ptr += src_binding_layout->size / 4; in radv_update_descriptor_sets_impl()
1354 unsigned src_buffer_count = radv_descriptor_type_buffer_count(src_binding_layout->type); in radv_update_descriptor_sets_impl()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c820 const struct panvk_descriptor_set_binding_layout *src_binding_layout = in panvk_per_arch() local
823 assert(dst_binding_layout->type == src_binding_layout->type); in panvk_per_arch()
826 src_binding_layout->desc_ubo_stride > 0) { in panvk_per_arch()
833 src_binding_layout->desc_ubo_stride)); in panvk_per_arch()
837 switch (src_binding_layout->type) { in panvk_per_arch()