/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device_generated_commands.c | 32 uint32_t *upload_size) in radv_get_sequence_size() argument 35 *upload_size = 0; in radv_get_sequence_size() 38 *upload_size += 16 * util_bitcount(pipeline->vb_desc_usage_mask); in radv_get_sequence_size() 62 *upload_size += in radv_get_sequence_size() 106 uint32_t cmd_size, upload_size; in radv_get_indirect_cmdbuf_size() local 107 radv_get_sequence_size(layout, graphics_pipeline, &cmd_size, &upload_size); in radv_get_indirect_cmdbuf_size() 1155 unsigned upload_size = MAX2(vb_size + const_size + scissor_size, 16); in radv_prepare_dgc() local 1159 if (!radv_cmd_buffer_upload_alloc(cmd_buffer, upload_size, &upload_offset, &upload_data)) { in radv_prepare_dgc() 1166 radv_buffer_init(&token_buffer, cmd_buffer->device, cmd_buffer->upload.upload_bo, upload_size, in radv_prepare_dgc() 1311 .range = upload_size}; in radv_prepare_dgc()
|
D | radv_cmd_buffer.c | 8727 uint32_t upload_size = mode == radv_rt_mode_direct in radv_trace_rays() local 8732 if (!radv_cmd_buffer_upload_data(cmd_buffer, upload_size, tables, &offset)) in radv_trace_rays()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_vulkan.cpp | 330 size_t upload_size = width*height*4*sizeof(char); in ImGui_ImplVulkan_CreateFontsTexture() local 397 buffer_info.size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture() 418 err = vkMapMemory(g_Device, g_UploadBufferMemory, 0, upload_size, 0, (void**)(&map)); in ImGui_ImplVulkan_CreateFontsTexture() 420 memcpy(map, pixels, upload_size); in ImGui_ImplVulkan_CreateFontsTexture() 424 range[0].size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.c | 1358 unsigned upload_size; in svga_texture_transfer_map_upload() local 1402 upload_size = st->base.layer_stride * st->base.box.depth; in svga_texture_transfer_map_upload() 1403 upload_size = align(upload_size, 16); in svga_texture_transfer_map_upload() 1422 u_upload_alloc(svga->tex_upload, 0, upload_size, 16, in svga_texture_transfer_map_upload()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_vulkan.cpp | 551 size_t upload_size = width * height * 4 * sizeof(char); in ImGui_ImplVulkan_CreateFontsTexture() local 618 buffer_info.size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture() 639 err = vkMapMemory(v->Device, bd->UploadBufferMemory, 0, upload_size, 0, (void**)(&map)); in ImGui_ImplVulkan_CreateFontsTexture() 641 memcpy(map, pixels, upload_size); in ImGui_ImplVulkan_CreateFontsTexture() 645 range[0].size = upload_size; in ImGui_ImplVulkan_CreateFontsTexture()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 1035 size_t upload_size = width * height * 4 * sizeof(char); in ensure_swapchain_fonts() local 1040 buffer_info.size = upload_size; in ensure_swapchain_fonts() 1067 0, upload_size, 0, (void**)(&map))); in ensure_swapchain_fonts() 1068 memcpy(map, pixels, upload_size); in ensure_swapchain_fonts() 1072 range[0].size = upload_size; in ensure_swapchain_fonts()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 132 unsigned upload_size = desc->num_active_slots * slot_size; in si_upload_descriptors() local 138 if (!upload_size) in si_upload_descriptors() 155 u_upload_alloc(sctx->b.const_uploader, first_slot_offset, upload_size, in si_upload_descriptors() 156 si_optimal_tcc_alignment(sctx, upload_size), &buffer_offset, in si_upload_descriptors() 163 util_memcpy_cpu_to_le32(ptr, (char *)desc->list + first_slot_offset, upload_size); in si_upload_descriptors()
|
D | si_pipe.h | 1766 static inline unsigned si_optimal_tcc_alignment(struct si_context *sctx, unsigned upload_size) in si_optimal_tcc_alignment() argument 1775 alignment = util_next_power_of_two(upload_size); in si_optimal_tcc_alignment()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_state.c | 3450 unsigned upload_size = system_values_start + in upload_sysvals() local 3455 u_upload_alloc(ice->ctx.const_uploader, 0, upload_size, 64, in upload_sysvals() 3515 cbuf->buffer_size = upload_size; in upload_sysvals()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_state.c | 3542 unsigned upload_size = shader->num_system_values * sizeof(uint32_t); in upload_sysvals() local 3546 u_upload_alloc(ice->ctx.const_uploader, 0, upload_size, 64, in upload_sysvals() 3600 cbuf->buffer_size = upload_size; in upload_sysvals()
|