Home
last modified time | relevance | path

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

/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c914 const struct v3dv_descriptor_set_binding_layout *src_binding_layout, in descriptor_bo_copy() argument
917 assert(dst_binding_layout->type == src_binding_layout->type); in descriptor_bo_copy()
920 void *src_map = descriptor_bo_map(src_set, src_binding_layout, src_array_index); in descriptor_bo_copy()
922 memcpy(dst_map, src_map, descriptor_bo_size(src_binding_layout->type)); in descriptor_bo_copy()
1087 const struct v3dv_descriptor_set_binding_layout *src_binding_layout = in v3dv_UpdateDescriptorSets() local
1092 assert(src_binding_layout->type == dst_binding_layout->type); in v3dv_UpdateDescriptorSets()
1097 src_descriptor += src_binding_layout->descriptor_index; in v3dv_UpdateDescriptorSets()
1108 if (descriptor_bo_size(src_binding_layout->type) > 0) { in v3dv_UpdateDescriptorSets()
1111 src_set, src_binding_layout, in v3dv_UpdateDescriptorSets()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c1148 const struct radv_descriptor_set_binding_layout *src_binding_layout = in radv_update_descriptor_sets() local
1157 src_ptr += src_binding_layout->offset / 4; in radv_update_descriptor_sets()
1160 if (src_binding_layout->type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { in radv_update_descriptor_sets()
1168 src_ptr += src_binding_layout->size * copyset->srcArrayElement / 4; in radv_update_descriptor_sets()
1171 src_buffer_list += src_binding_layout->buffer_offset; in radv_update_descriptor_sets()
1178 switch (src_binding_layout->type) { in radv_update_descriptor_sets()
1184 src_idx += src_binding_layout->dynamic_offset_offset; in radv_update_descriptor_sets()
1193 memcpy(dst_ptr, src_ptr, src_binding_layout->size); in radv_update_descriptor_sets()
1195 src_ptr += src_binding_layout->size / 4; in radv_update_descriptor_sets()
1198 if (src_binding_layout->type != VK_DESCRIPTOR_TYPE_SAMPLER) { in radv_update_descriptor_sets()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c898 const struct tu_descriptor_set_binding_layout *src_binding_layout = in tu_update_descriptor_sets() local
905 src_ptr += src_binding_layout->offset / 4; in tu_update_descriptor_sets()
908 src_ptr += src_binding_layout->size * copyset->srcArrayElement / 4; in tu_update_descriptor_sets()
912 switch (src_binding_layout->type) { in tu_update_descriptor_sets()
917 src_idx += src_binding_layout->dynamic_offset_offset; in tu_update_descriptor_sets()
927 memcpy(dst_ptr, src_ptr, src_binding_layout->size); in tu_update_descriptor_sets()
930 src_ptr += src_binding_layout->size / 4; in tu_update_descriptor_sets()